groove-dev 0.26.15 → 0.26.16
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/node_modules/@groove-dev/daemon/src/index.js +34 -4
- package/node_modules/@groove-dev/gui/dist/assets/index-7eQvV_N9.js +638 -0
- package/node_modules/@groove-dev/gui/dist/assets/index-DAy5FSuv.css +1 -0
- package/node_modules/@groove-dev/gui/dist/index.html +2 -2
- package/node_modules/@groove-dev/gui/src/app.css +16 -0
- package/node_modules/@groove-dev/gui/src/components/agents/agent-chat.jsx +2 -1
- package/node_modules/@groove-dev/gui/src/components/agents/agent-feed.jsx +2 -12
- package/node_modules/@groove-dev/gui/src/components/ui/thinking-indicator.jsx +49 -0
- package/node_modules/@groove-dev/gui/src/stores/groove.js +34 -13
- package/node_modules/@groove-dev/gui/src/views/agents.jsx +4 -2
- package/package.json +1 -1
- package/packages/daemon/src/index.js +34 -4
- package/packages/gui/dist/assets/index-7eQvV_N9.js +638 -0
- package/packages/gui/dist/assets/index-DAy5FSuv.css +1 -0
- package/packages/gui/dist/index.html +2 -2
- package/packages/gui/src/app.css +16 -0
- package/packages/gui/src/components/agents/agent-chat.jsx +2 -1
- package/packages/gui/src/components/agents/agent-feed.jsx +2 -12
- package/packages/gui/src/components/ui/thinking-indicator.jsx +49 -0
- package/packages/gui/src/stores/groove.js +34 -13
- package/packages/gui/src/views/agents.jsx +4 -2
- package/pitch-deck-groove/convert-slides.js +795 -0
- package/pitch-deck-groove/deck.pptx +0 -0
- package/pitch-deck-groove/node_modules/.package-lock.json +755 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/.github/workflows/codeql.yml +74 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/CHANGELOG.md +510 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/LICENSE +27 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/README.md +742 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp +4 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp.cmd +2 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/contributing.md +10 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/build.js +51 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/clean.js +31 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/configure.js +52 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/info.js +38 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/install.js +235 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/main.js +125 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/node-pre-gyp.js +309 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/package.js +73 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/pre-binding.js +34 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/publish.js +81 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/rebuild.js +20 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/reinstall.js +19 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/reveal.js +32 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/testbinary.js +79 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/testpackage.js +53 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/unpublish.js +41 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/util/abi_crosswalk.json +2602 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js +93 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/util/handle_gyp_opts.js +102 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/util/napi.js +205 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/index.html +26 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/package.json +9 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/util/s3_setup.js +163 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/lib/util/versioning.js +335 -0
- package/pitch-deck-groove/node_modules/@mapbox/node-pre-gyp/package.json +62 -0
- package/pitch-deck-groove/node_modules/@types/node/LICENSE +21 -0
- package/pitch-deck-groove/node_modules/@types/node/README.md +15 -0
- package/pitch-deck-groove/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/pitch-deck-groove/node_modules/@types/node/assert.d.ts +1005 -0
- package/pitch-deck-groove/node_modules/@types/node/async_hooks.d.ts +586 -0
- package/pitch-deck-groove/node_modules/@types/node/buffer.buffer.d.ts +457 -0
- package/pitch-deck-groove/node_modules/@types/node/buffer.d.ts +1901 -0
- package/pitch-deck-groove/node_modules/@types/node/child_process.d.ts +1453 -0
- package/pitch-deck-groove/node_modules/@types/node/cluster.d.ts +578 -0
- package/pitch-deck-groove/node_modules/@types/node/compatibility/disposable.d.ts +14 -0
- package/pitch-deck-groove/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/pitch-deck-groove/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/pitch-deck-groove/node_modules/@types/node/compatibility/iterators.d.ts +20 -0
- package/pitch-deck-groove/node_modules/@types/node/console.d.ts +452 -0
- package/pitch-deck-groove/node_modules/@types/node/constants.d.ts +21 -0
- package/pitch-deck-groove/node_modules/@types/node/crypto.d.ts +4504 -0
- package/pitch-deck-groove/node_modules/@types/node/dgram.d.ts +596 -0
- package/pitch-deck-groove/node_modules/@types/node/diagnostics_channel.d.ts +551 -0
- package/pitch-deck-groove/node_modules/@types/node/dns/promises.d.ts +477 -0
- package/pitch-deck-groove/node_modules/@types/node/dns.d.ts +860 -0
- package/pitch-deck-groove/node_modules/@types/node/domain.d.ts +170 -0
- package/pitch-deck-groove/node_modules/@types/node/events.d.ts +863 -0
- package/pitch-deck-groove/node_modules/@types/node/fs/promises.d.ts +1208 -0
- package/pitch-deck-groove/node_modules/@types/node/fs.d.ts +4332 -0
- package/pitch-deck-groove/node_modules/@types/node/globals.d.ts +170 -0
- package/pitch-deck-groove/node_modules/@types/node/globals.typedarray.d.ts +21 -0
- package/pitch-deck-groove/node_modules/@types/node/http.d.ts +1919 -0
- package/pitch-deck-groove/node_modules/@types/node/http2.d.ts +2580 -0
- package/pitch-deck-groove/node_modules/@types/node/https.d.ts +549 -0
- package/pitch-deck-groove/node_modules/@types/node/index.d.ts +92 -0
- package/pitch-deck-groove/node_modules/@types/node/inspector.generated.d.ts +2775 -0
- package/pitch-deck-groove/node_modules/@types/node/module.d.ts +503 -0
- package/pitch-deck-groove/node_modules/@types/node/net.d.ts +924 -0
- package/pitch-deck-groove/node_modules/@types/node/os.d.ts +480 -0
- package/pitch-deck-groove/node_modules/@types/node/package.json +145 -0
- package/pitch-deck-groove/node_modules/@types/node/path.d.ts +191 -0
- package/pitch-deck-groove/node_modules/@types/node/perf_hooks.d.ts +860 -0
- package/pitch-deck-groove/node_modules/@types/node/process.d.ts +1632 -0
- package/pitch-deck-groove/node_modules/@types/node/punycode.d.ts +117 -0
- package/pitch-deck-groove/node_modules/@types/node/querystring.d.ts +140 -0
- package/pitch-deck-groove/node_modules/@types/node/readline/promises.d.ts +154 -0
- package/pitch-deck-groove/node_modules/@types/node/readline.d.ts +715 -0
- package/pitch-deck-groove/node_modules/@types/node/repl.d.ts +430 -0
- package/pitch-deck-groove/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/pitch-deck-groove/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/pitch-deck-groove/node_modules/@types/node/stream/web.d.ts +527 -0
- package/pitch-deck-groove/node_modules/@types/node/stream.d.ts +1680 -0
- package/pitch-deck-groove/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/pitch-deck-groove/node_modules/@types/node/test.d.ts +1208 -0
- package/pitch-deck-groove/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/pitch-deck-groove/node_modules/@types/node/timers.d.ts +286 -0
- package/pitch-deck-groove/node_modules/@types/node/tls.d.ts +1204 -0
- package/pitch-deck-groove/node_modules/@types/node/trace_events.d.ts +171 -0
- package/pitch-deck-groove/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +455 -0
- package/pitch-deck-groove/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
- package/pitch-deck-groove/node_modules/@types/node/ts5.6/index.d.ts +92 -0
- package/pitch-deck-groove/node_modules/@types/node/tty.d.ts +206 -0
- package/pitch-deck-groove/node_modules/@types/node/url.d.ts +957 -0
- package/pitch-deck-groove/node_modules/@types/node/util.d.ts +2083 -0
- package/pitch-deck-groove/node_modules/@types/node/v8.d.ts +753 -0
- package/pitch-deck-groove/node_modules/@types/node/vm.d.ts +704 -0
- package/pitch-deck-groove/node_modules/@types/node/wasi.d.ts +160 -0
- package/pitch-deck-groove/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/pitch-deck-groove/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/pitch-deck-groove/node_modules/@types/node/web-globals/events.d.ts +81 -0
- package/pitch-deck-groove/node_modules/@types/node/web-globals/fetch.d.ts +38 -0
- package/pitch-deck-groove/node_modules/@types/node/worker_threads.d.ts +698 -0
- package/pitch-deck-groove/node_modules/@types/node/zlib.d.ts +517 -0
- package/pitch-deck-groove/node_modules/abbrev/LICENSE +46 -0
- package/pitch-deck-groove/node_modules/abbrev/README.md +23 -0
- package/pitch-deck-groove/node_modules/abbrev/abbrev.js +61 -0
- package/pitch-deck-groove/node_modules/abbrev/package.json +21 -0
- package/pitch-deck-groove/node_modules/agent-base/README.md +145 -0
- package/pitch-deck-groove/node_modules/agent-base/dist/src/index.d.ts +78 -0
- package/pitch-deck-groove/node_modules/agent-base/dist/src/index.js +203 -0
- package/pitch-deck-groove/node_modules/agent-base/dist/src/index.js.map +1 -0
- package/pitch-deck-groove/node_modules/agent-base/dist/src/promisify.d.ts +4 -0
- package/pitch-deck-groove/node_modules/agent-base/dist/src/promisify.js +18 -0
- package/pitch-deck-groove/node_modules/agent-base/dist/src/promisify.js.map +1 -0
- package/pitch-deck-groove/node_modules/agent-base/package.json +64 -0
- package/pitch-deck-groove/node_modules/agent-base/src/index.ts +345 -0
- package/pitch-deck-groove/node_modules/agent-base/src/promisify.ts +33 -0
- package/pitch-deck-groove/node_modules/ansi-regex/index.d.ts +37 -0
- package/pitch-deck-groove/node_modules/ansi-regex/index.js +10 -0
- package/pitch-deck-groove/node_modules/ansi-regex/license +9 -0
- package/pitch-deck-groove/node_modules/ansi-regex/package.json +55 -0
- package/pitch-deck-groove/node_modules/ansi-regex/readme.md +78 -0
- package/pitch-deck-groove/node_modules/aproba/LICENSE +14 -0
- package/pitch-deck-groove/node_modules/aproba/README.md +94 -0
- package/pitch-deck-groove/node_modules/aproba/index.js +105 -0
- package/pitch-deck-groove/node_modules/aproba/package.json +35 -0
- package/pitch-deck-groove/node_modules/are-we-there-yet/LICENSE.md +18 -0
- package/pitch-deck-groove/node_modules/are-we-there-yet/README.md +208 -0
- package/pitch-deck-groove/node_modules/are-we-there-yet/lib/index.js +4 -0
- package/pitch-deck-groove/node_modules/are-we-there-yet/lib/tracker-base.js +11 -0
- package/pitch-deck-groove/node_modules/are-we-there-yet/lib/tracker-group.js +116 -0
- package/pitch-deck-groove/node_modules/are-we-there-yet/lib/tracker-stream.js +36 -0
- package/pitch-deck-groove/node_modules/are-we-there-yet/lib/tracker.js +32 -0
- package/pitch-deck-groove/node_modules/are-we-there-yet/package.json +53 -0
- package/pitch-deck-groove/node_modules/balanced-match/.github/FUNDING.yml +2 -0
- package/pitch-deck-groove/node_modules/balanced-match/LICENSE.md +21 -0
- package/pitch-deck-groove/node_modules/balanced-match/README.md +97 -0
- package/pitch-deck-groove/node_modules/balanced-match/index.js +62 -0
- package/pitch-deck-groove/node_modules/balanced-match/package.json +48 -0
- package/pitch-deck-groove/node_modules/brace-expansion/LICENSE +21 -0
- package/pitch-deck-groove/node_modules/brace-expansion/README.md +129 -0
- package/pitch-deck-groove/node_modules/brace-expansion/index.js +203 -0
- package/pitch-deck-groove/node_modules/brace-expansion/package.json +50 -0
- package/pitch-deck-groove/node_modules/canvas/CHANGELOG.md +1052 -0
- package/pitch-deck-groove/node_modules/canvas/Readme.md +600 -0
- package/pitch-deck-groove/node_modules/canvas/binding.gyp +230 -0
- package/pitch-deck-groove/node_modules/canvas/browser.js +35 -0
- package/pitch-deck-groove/node_modules/canvas/build/Makefile +352 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/.deps/Release/canvas-postbuild.node.d +1 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/.deps/Release/canvas.node.d +1 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/Backends.o.d +490 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/Canvas.o.d +503 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/CanvasGradient.o.d +474 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/CanvasPattern.o.d +485 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/CanvasRenderingContext2d.o.d +496 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/Image.o.d +484 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/ImageData.o.d +152 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/backend/Backend.o.d +162 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/backend/ImageBackend.o.d +164 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/backend/PdfBackend.o.d +488 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/backend/SvgBackend.o.d +488 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/bmp/BMPParser.o.d +5 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/closure.o.d +483 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/color.o.d +4 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/init.o.d +520 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/.deps/Release/obj.target/canvas/src/register_font.o.d +357 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/canvas-postbuild.node +0 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/canvas.node +0 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/obj.target/canvas/src/Backends.o +0 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/obj.target/canvas/src/Canvas.o +0 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/obj.target/canvas/src/CanvasGradient.o +0 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/obj.target/canvas/src/CanvasPattern.o +0 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/obj.target/canvas/src/CanvasRenderingContext2d.o +0 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/obj.target/canvas/src/Image.o +0 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/obj.target/canvas/src/ImageData.o +0 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/obj.target/canvas/src/backend/Backend.o +0 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/obj.target/canvas/src/backend/ImageBackend.o +0 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/obj.target/canvas/src/backend/PdfBackend.o +0 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/obj.target/canvas/src/backend/SvgBackend.o +0 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/obj.target/canvas/src/bmp/BMPParser.o +0 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/obj.target/canvas/src/closure.o +0 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/obj.target/canvas/src/color.o +0 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/obj.target/canvas/src/init.o +0 -0
- package/pitch-deck-groove/node_modules/canvas/build/Release/obj.target/canvas/src/register_font.o +0 -0
- package/pitch-deck-groove/node_modules/canvas/build/binding.Makefile +6 -0
- package/pitch-deck-groove/node_modules/canvas/build/canvas-postbuild.target.mk +51 -0
- package/pitch-deck-groove/node_modules/canvas/build/canvas.target.mk +272 -0
- package/pitch-deck-groove/node_modules/canvas/build/gyp-mac-tool +772 -0
- package/pitch-deck-groove/node_modules/canvas/changes +19 -0
- package/pitch-deck-groove/node_modules/canvas/index.js +94 -0
- package/pitch-deck-groove/node_modules/canvas/lib/DOMMatrix.js +620 -0
- package/pitch-deck-groove/node_modules/canvas/lib/bindings.js +13 -0
- package/pitch-deck-groove/node_modules/canvas/lib/canvas.js +113 -0
- package/pitch-deck-groove/node_modules/canvas/lib/context2d.js +14 -0
- package/pitch-deck-groove/node_modules/canvas/lib/image.js +96 -0
- package/pitch-deck-groove/node_modules/canvas/lib/jpegstream.js +41 -0
- package/pitch-deck-groove/node_modules/canvas/lib/parse-font.js +101 -0
- package/pitch-deck-groove/node_modules/canvas/lib/pattern.js +17 -0
- package/pitch-deck-groove/node_modules/canvas/lib/pdfstream.js +35 -0
- package/pitch-deck-groove/node_modules/canvas/lib/pngstream.js +42 -0
- package/pitch-deck-groove/node_modules/canvas/package.json +72 -0
- package/pitch-deck-groove/node_modules/canvas/src/Backends.cc +18 -0
- package/pitch-deck-groove/node_modules/canvas/src/Backends.h +10 -0
- package/pitch-deck-groove/node_modules/canvas/src/Canvas.cc +965 -0
- package/pitch-deck-groove/node_modules/canvas/src/Canvas.h +96 -0
- package/pitch-deck-groove/node_modules/canvas/src/CanvasError.h +23 -0
- package/pitch-deck-groove/node_modules/canvas/src/CanvasGradient.cc +123 -0
- package/pitch-deck-groove/node_modules/canvas/src/CanvasGradient.h +22 -0
- package/pitch-deck-groove/node_modules/canvas/src/CanvasPattern.cc +136 -0
- package/pitch-deck-groove/node_modules/canvas/src/CanvasPattern.h +37 -0
- package/pitch-deck-groove/node_modules/canvas/src/CanvasRenderingContext2d.cc +3360 -0
- package/pitch-deck-groove/node_modules/canvas/src/CanvasRenderingContext2d.h +225 -0
- package/pitch-deck-groove/node_modules/canvas/src/Image.cc +1434 -0
- package/pitch-deck-groove/node_modules/canvas/src/Image.h +127 -0
- package/pitch-deck-groove/node_modules/canvas/src/ImageData.cc +146 -0
- package/pitch-deck-groove/node_modules/canvas/src/ImageData.h +27 -0
- package/pitch-deck-groove/node_modules/canvas/src/InstanceData.h +8 -0
- package/pitch-deck-groove/node_modules/canvas/src/JPEGStream.h +167 -0
- package/pitch-deck-groove/node_modules/canvas/src/PNG.h +292 -0
- package/pitch-deck-groove/node_modules/canvas/src/Point.h +11 -0
- package/pitch-deck-groove/node_modules/canvas/src/Util.h +9 -0
- package/pitch-deck-groove/node_modules/canvas/src/backend/Backend.cc +112 -0
- package/pitch-deck-groove/node_modules/canvas/src/backend/Backend.h +69 -0
- package/pitch-deck-groove/node_modules/canvas/src/backend/ImageBackend.cc +74 -0
- package/pitch-deck-groove/node_modules/canvas/src/backend/ImageBackend.h +26 -0
- package/pitch-deck-groove/node_modules/canvas/src/backend/PdfBackend.cc +53 -0
- package/pitch-deck-groove/node_modules/canvas/src/backend/PdfBackend.h +24 -0
- package/pitch-deck-groove/node_modules/canvas/src/backend/SvgBackend.cc +61 -0
- package/pitch-deck-groove/node_modules/canvas/src/backend/SvgBackend.h +24 -0
- package/pitch-deck-groove/node_modules/canvas/src/bmp/BMPParser.cc +457 -0
- package/pitch-deck-groove/node_modules/canvas/src/bmp/BMPParser.h +60 -0
- package/pitch-deck-groove/node_modules/canvas/src/bmp/LICENSE.md +24 -0
- package/pitch-deck-groove/node_modules/canvas/src/closure.cc +26 -0
- package/pitch-deck-groove/node_modules/canvas/src/closure.h +81 -0
- package/pitch-deck-groove/node_modules/canvas/src/color.cc +779 -0
- package/pitch-deck-groove/node_modules/canvas/src/color.h +30 -0
- package/pitch-deck-groove/node_modules/canvas/src/dll_visibility.h +20 -0
- package/pitch-deck-groove/node_modules/canvas/src/init.cc +94 -0
- package/pitch-deck-groove/node_modules/canvas/src/register_font.cc +408 -0
- package/pitch-deck-groove/node_modules/canvas/src/register_font.h +7 -0
- package/pitch-deck-groove/node_modules/canvas/types/Readme.md +3 -0
- package/pitch-deck-groove/node_modules/canvas/types/index.d.ts +484 -0
- package/pitch-deck-groove/node_modules/canvas/util/has_lib.js +119 -0
- package/pitch-deck-groove/node_modules/canvas/util/win_jpeg_lookup.js +21 -0
- package/pitch-deck-groove/node_modules/chownr/LICENSE +15 -0
- package/pitch-deck-groove/node_modules/chownr/README.md +3 -0
- package/pitch-deck-groove/node_modules/chownr/chownr.js +167 -0
- package/pitch-deck-groove/node_modules/chownr/package.json +32 -0
- package/pitch-deck-groove/node_modules/color-support/LICENSE +15 -0
- package/pitch-deck-groove/node_modules/color-support/README.md +129 -0
- package/pitch-deck-groove/node_modules/color-support/bin.js +3 -0
- package/pitch-deck-groove/node_modules/color-support/browser.js +14 -0
- package/pitch-deck-groove/node_modules/color-support/index.js +134 -0
- package/pitch-deck-groove/node_modules/color-support/package.json +36 -0
- package/pitch-deck-groove/node_modules/concat-map/.travis.yml +4 -0
- package/pitch-deck-groove/node_modules/concat-map/LICENSE +18 -0
- package/pitch-deck-groove/node_modules/concat-map/README.markdown +62 -0
- package/pitch-deck-groove/node_modules/concat-map/example/map.js +6 -0
- package/pitch-deck-groove/node_modules/concat-map/index.js +13 -0
- package/pitch-deck-groove/node_modules/concat-map/package.json +43 -0
- package/pitch-deck-groove/node_modules/concat-map/test/map.js +39 -0
- package/pitch-deck-groove/node_modules/console-control-strings/LICENSE +13 -0
- package/pitch-deck-groove/node_modules/console-control-strings/README.md +145 -0
- package/pitch-deck-groove/node_modules/console-control-strings/README.md~ +140 -0
- package/pitch-deck-groove/node_modules/console-control-strings/index.js +125 -0
- package/pitch-deck-groove/node_modules/console-control-strings/package.json +27 -0
- package/pitch-deck-groove/node_modules/core-util-is/LICENSE +19 -0
- package/pitch-deck-groove/node_modules/core-util-is/README.md +3 -0
- package/pitch-deck-groove/node_modules/core-util-is/lib/util.js +107 -0
- package/pitch-deck-groove/node_modules/core-util-is/package.json +38 -0
- package/pitch-deck-groove/node_modules/debug/LICENSE +20 -0
- package/pitch-deck-groove/node_modules/debug/README.md +481 -0
- package/pitch-deck-groove/node_modules/debug/package.json +64 -0
- package/pitch-deck-groove/node_modules/debug/src/browser.js +272 -0
- package/pitch-deck-groove/node_modules/debug/src/common.js +292 -0
- package/pitch-deck-groove/node_modules/debug/src/index.js +10 -0
- package/pitch-deck-groove/node_modules/debug/src/node.js +263 -0
- package/pitch-deck-groove/node_modules/decompress-response/index.d.ts +29 -0
- package/pitch-deck-groove/node_modules/decompress-response/index.js +40 -0
- package/pitch-deck-groove/node_modules/decompress-response/license +9 -0
- package/pitch-deck-groove/node_modules/decompress-response/package.json +50 -0
- package/pitch-deck-groove/node_modules/decompress-response/readme.md +52 -0
- package/pitch-deck-groove/node_modules/delegates/History.md +22 -0
- package/pitch-deck-groove/node_modules/delegates/License +20 -0
- package/pitch-deck-groove/node_modules/delegates/Makefile +8 -0
- package/pitch-deck-groove/node_modules/delegates/Readme.md +94 -0
- package/pitch-deck-groove/node_modules/delegates/index.js +121 -0
- package/pitch-deck-groove/node_modules/delegates/package.json +13 -0
- package/pitch-deck-groove/node_modules/delegates/test/index.js +94 -0
- package/pitch-deck-groove/node_modules/detect-libc/LICENSE +201 -0
- package/pitch-deck-groove/node_modules/detect-libc/README.md +163 -0
- package/pitch-deck-groove/node_modules/detect-libc/index.d.ts +14 -0
- package/pitch-deck-groove/node_modules/detect-libc/lib/detect-libc.js +313 -0
- package/pitch-deck-groove/node_modules/detect-libc/lib/elf.js +39 -0
- package/pitch-deck-groove/node_modules/detect-libc/lib/filesystem.js +51 -0
- package/pitch-deck-groove/node_modules/detect-libc/lib/process.js +24 -0
- package/pitch-deck-groove/node_modules/detect-libc/package.json +44 -0
- package/pitch-deck-groove/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/pitch-deck-groove/node_modules/emoji-regex/README.md +73 -0
- package/pitch-deck-groove/node_modules/emoji-regex/es2015/index.js +6 -0
- package/pitch-deck-groove/node_modules/emoji-regex/es2015/text.js +6 -0
- package/pitch-deck-groove/node_modules/emoji-regex/index.d.ts +23 -0
- package/pitch-deck-groove/node_modules/emoji-regex/index.js +6 -0
- package/pitch-deck-groove/node_modules/emoji-regex/package.json +50 -0
- package/pitch-deck-groove/node_modules/emoji-regex/text.js +6 -0
- package/pitch-deck-groove/node_modules/fs-minipass/LICENSE +15 -0
- package/pitch-deck-groove/node_modules/fs-minipass/README.md +70 -0
- package/pitch-deck-groove/node_modules/fs-minipass/index.js +422 -0
- package/pitch-deck-groove/node_modules/fs-minipass/node_modules/minipass/LICENSE +15 -0
- package/pitch-deck-groove/node_modules/fs-minipass/node_modules/minipass/README.md +728 -0
- package/pitch-deck-groove/node_modules/fs-minipass/node_modules/minipass/index.d.ts +155 -0
- package/pitch-deck-groove/node_modules/fs-minipass/node_modules/minipass/index.js +649 -0
- package/pitch-deck-groove/node_modules/fs-minipass/node_modules/minipass/package.json +56 -0
- package/pitch-deck-groove/node_modules/fs-minipass/package.json +39 -0
- package/pitch-deck-groove/node_modules/fs.realpath/LICENSE +43 -0
- package/pitch-deck-groove/node_modules/fs.realpath/README.md +33 -0
- package/pitch-deck-groove/node_modules/fs.realpath/index.js +66 -0
- package/pitch-deck-groove/node_modules/fs.realpath/old.js +303 -0
- package/pitch-deck-groove/node_modules/fs.realpath/package.json +26 -0
- package/pitch-deck-groove/node_modules/gauge/CHANGELOG.md +163 -0
- package/pitch-deck-groove/node_modules/gauge/LICENSE +13 -0
- package/pitch-deck-groove/node_modules/gauge/README.md +402 -0
- package/pitch-deck-groove/node_modules/gauge/base-theme.js +14 -0
- package/pitch-deck-groove/node_modules/gauge/error.js +24 -0
- package/pitch-deck-groove/node_modules/gauge/has-color.js +4 -0
- package/pitch-deck-groove/node_modules/gauge/index.js +233 -0
- package/pitch-deck-groove/node_modules/gauge/package.json +66 -0
- package/pitch-deck-groove/node_modules/gauge/plumbing.js +48 -0
- package/pitch-deck-groove/node_modules/gauge/process.js +3 -0
- package/pitch-deck-groove/node_modules/gauge/progress-bar.js +35 -0
- package/pitch-deck-groove/node_modules/gauge/render-template.js +178 -0
- package/pitch-deck-groove/node_modules/gauge/set-immediate.js +7 -0
- package/pitch-deck-groove/node_modules/gauge/set-interval.js +3 -0
- package/pitch-deck-groove/node_modules/gauge/spin.js +5 -0
- package/pitch-deck-groove/node_modules/gauge/template-item.js +72 -0
- package/pitch-deck-groove/node_modules/gauge/theme-set.js +114 -0
- package/pitch-deck-groove/node_modules/gauge/themes.js +56 -0
- package/pitch-deck-groove/node_modules/gauge/wide-truncate.js +25 -0
- package/pitch-deck-groove/node_modules/glob/LICENSE +21 -0
- package/pitch-deck-groove/node_modules/glob/README.md +378 -0
- package/pitch-deck-groove/node_modules/glob/common.js +238 -0
- package/pitch-deck-groove/node_modules/glob/glob.js +790 -0
- package/pitch-deck-groove/node_modules/glob/package.json +55 -0
- package/pitch-deck-groove/node_modules/glob/sync.js +486 -0
- package/pitch-deck-groove/node_modules/has-unicode/LICENSE +14 -0
- package/pitch-deck-groove/node_modules/has-unicode/README.md +43 -0
- package/pitch-deck-groove/node_modules/has-unicode/index.js +16 -0
- package/pitch-deck-groove/node_modules/has-unicode/package.json +30 -0
- package/pitch-deck-groove/node_modules/https/package.json +15 -0
- package/pitch-deck-groove/node_modules/https-proxy-agent/README.md +137 -0
- package/pitch-deck-groove/node_modules/https-proxy-agent/dist/agent.d.ts +30 -0
- package/pitch-deck-groove/node_modules/https-proxy-agent/dist/agent.js +177 -0
- package/pitch-deck-groove/node_modules/https-proxy-agent/dist/agent.js.map +1 -0
- package/pitch-deck-groove/node_modules/https-proxy-agent/dist/index.d.ts +23 -0
- package/pitch-deck-groove/node_modules/https-proxy-agent/dist/index.js +14 -0
- package/pitch-deck-groove/node_modules/https-proxy-agent/dist/index.js.map +1 -0
- package/pitch-deck-groove/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -0
- package/pitch-deck-groove/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
- package/pitch-deck-groove/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- package/pitch-deck-groove/node_modules/https-proxy-agent/package.json +56 -0
- package/pitch-deck-groove/node_modules/image-size/LICENSE +9 -0
- package/pitch-deck-groove/node_modules/image-size/Readme.md +184 -0
- package/pitch-deck-groove/node_modules/image-size/bin/image-size.js +53 -0
- package/pitch-deck-groove/node_modules/image-size/dist/detector.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/detector.js +30 -0
- package/pitch-deck-groove/node_modules/image-size/dist/index.d.ts +10 -0
- package/pitch-deck-groove/node_modules/image-size/dist/index.js +129 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/bmp.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/bmp.js +11 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/cur.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/cur.js +17 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/dds.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/dds.js +11 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/gif.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/gif.js +12 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/heif.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/heif.js +40 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/icns.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/icns.js +101 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/ico.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/ico.js +68 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/index.d.ts +23 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/index.js +46 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/interface.d.ts +13 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/interface.js +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/j2c.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/j2c.js +12 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/jp2.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/jp2.js +27 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/jpg.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/jpg.js +123 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/jxl-stream.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/jxl-stream.js +45 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/jxl.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/jxl.js +59 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/ktx.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/ktx.js +19 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/png.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/png.js +35 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/pnm.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/pnm.js +72 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/psd.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/psd.js +11 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/svg.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/svg.js +90 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/tga.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/tga.js +15 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/tiff.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/tiff.js +95 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/utils.d.ts +15 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/utils.js +75 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/webp.d.ts +2 -0
- package/pitch-deck-groove/node_modules/image-size/dist/types/webp.js +60 -0
- package/pitch-deck-groove/node_modules/image-size/dist/utils/bit-reader.d.ts +10 -0
- package/pitch-deck-groove/node_modules/image-size/dist/utils/bit-reader.js +44 -0
- package/pitch-deck-groove/node_modules/image-size/package.json +81 -0
- package/pitch-deck-groove/node_modules/immediate/LICENSE.txt +20 -0
- package/pitch-deck-groove/node_modules/immediate/README.md +93 -0
- package/pitch-deck-groove/node_modules/immediate/dist/immediate.js +75 -0
- package/pitch-deck-groove/node_modules/immediate/dist/immediate.min.js +1 -0
- package/pitch-deck-groove/node_modules/immediate/lib/browser.js +69 -0
- package/pitch-deck-groove/node_modules/immediate/lib/index.js +73 -0
- package/pitch-deck-groove/node_modules/immediate/package.json +42 -0
- package/pitch-deck-groove/node_modules/inflight/LICENSE +15 -0
- package/pitch-deck-groove/node_modules/inflight/README.md +37 -0
- package/pitch-deck-groove/node_modules/inflight/inflight.js +54 -0
- package/pitch-deck-groove/node_modules/inflight/package.json +29 -0
- package/pitch-deck-groove/node_modules/inherits/LICENSE +16 -0
- package/pitch-deck-groove/node_modules/inherits/README.md +42 -0
- package/pitch-deck-groove/node_modules/inherits/inherits.js +9 -0
- package/pitch-deck-groove/node_modules/inherits/inherits_browser.js +27 -0
- package/pitch-deck-groove/node_modules/inherits/package.json +29 -0
- package/pitch-deck-groove/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/pitch-deck-groove/node_modules/is-fullwidth-code-point/index.js +50 -0
- package/pitch-deck-groove/node_modules/is-fullwidth-code-point/license +9 -0
- package/pitch-deck-groove/node_modules/is-fullwidth-code-point/package.json +42 -0
- package/pitch-deck-groove/node_modules/is-fullwidth-code-point/readme.md +39 -0
- package/pitch-deck-groove/node_modules/isarray/.travis.yml +4 -0
- package/pitch-deck-groove/node_modules/isarray/Makefile +6 -0
- package/pitch-deck-groove/node_modules/isarray/README.md +60 -0
- package/pitch-deck-groove/node_modules/isarray/component.json +19 -0
- package/pitch-deck-groove/node_modules/isarray/index.js +5 -0
- package/pitch-deck-groove/node_modules/isarray/package.json +45 -0
- package/pitch-deck-groove/node_modules/isarray/test.js +20 -0
- package/pitch-deck-groove/node_modules/jszip/.codeclimate.yml +16 -0
- package/pitch-deck-groove/node_modules/jszip/.editorconfig +8 -0
- package/pitch-deck-groove/node_modules/jszip/.eslintrc.js +43 -0
- package/pitch-deck-groove/node_modules/jszip/.github/workflows/pr.yaml +58 -0
- package/pitch-deck-groove/node_modules/jszip/.jekyll-metadata +0 -0
- package/pitch-deck-groove/node_modules/jszip/.travis.yml +17 -0
- package/pitch-deck-groove/node_modules/jszip/CHANGES.md +204 -0
- package/pitch-deck-groove/node_modules/jszip/LICENSE.markdown +651 -0
- package/pitch-deck-groove/node_modules/jszip/README.markdown +33 -0
- package/pitch-deck-groove/node_modules/jszip/deps.js +37 -0
- package/pitch-deck-groove/node_modules/jszip/dist/jszip.js +11577 -0
- package/pitch-deck-groove/node_modules/jszip/dist/jszip.min.js +13 -0
- package/pitch-deck-groove/node_modules/jszip/graph.svg +601 -0
- package/pitch-deck-groove/node_modules/jszip/index.d.ts +330 -0
- package/pitch-deck-groove/node_modules/jszip/lib/base64.js +106 -0
- package/pitch-deck-groove/node_modules/jszip/lib/compressedObject.js +74 -0
- package/pitch-deck-groove/node_modules/jszip/lib/compressions.js +14 -0
- package/pitch-deck-groove/node_modules/jszip/lib/crc32.js +77 -0
- package/pitch-deck-groove/node_modules/jszip/lib/defaults.js +11 -0
- package/pitch-deck-groove/node_modules/jszip/lib/external.js +18 -0
- package/pitch-deck-groove/node_modules/jszip/lib/flate.js +85 -0
- package/pitch-deck-groove/node_modules/jszip/lib/generate/ZipFileWorker.js +539 -0
- package/pitch-deck-groove/node_modules/jszip/lib/generate/index.js +57 -0
- package/pitch-deck-groove/node_modules/jszip/lib/index.js +55 -0
- package/pitch-deck-groove/node_modules/jszip/lib/license_header.js +11 -0
- package/pitch-deck-groove/node_modules/jszip/lib/load.js +88 -0
- package/pitch-deck-groove/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js +74 -0
- package/pitch-deck-groove/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +42 -0
- package/pitch-deck-groove/node_modules/jszip/lib/nodejsUtils.js +57 -0
- package/pitch-deck-groove/node_modules/jszip/lib/object.js +384 -0
- package/pitch-deck-groove/node_modules/jszip/lib/readable-stream-browser.js +10 -0
- package/pitch-deck-groove/node_modules/jszip/lib/reader/ArrayReader.js +57 -0
- package/pitch-deck-groove/node_modules/jszip/lib/reader/DataReader.js +116 -0
- package/pitch-deck-groove/node_modules/jszip/lib/reader/NodeBufferReader.js +19 -0
- package/pitch-deck-groove/node_modules/jszip/lib/reader/StringReader.js +38 -0
- package/pitch-deck-groove/node_modules/jszip/lib/reader/Uint8ArrayReader.js +22 -0
- package/pitch-deck-groove/node_modules/jszip/lib/reader/readerFor.js +28 -0
- package/pitch-deck-groove/node_modules/jszip/lib/signature.js +7 -0
- package/pitch-deck-groove/node_modules/jszip/lib/stream/ConvertWorker.js +26 -0
- package/pitch-deck-groove/node_modules/jszip/lib/stream/Crc32Probe.js +24 -0
- package/pitch-deck-groove/node_modules/jszip/lib/stream/DataLengthProbe.js +29 -0
- package/pitch-deck-groove/node_modules/jszip/lib/stream/DataWorker.js +116 -0
- package/pitch-deck-groove/node_modules/jszip/lib/stream/GenericWorker.js +263 -0
- package/pitch-deck-groove/node_modules/jszip/lib/stream/StreamHelper.js +214 -0
- package/pitch-deck-groove/node_modules/jszip/lib/support.js +38 -0
- package/pitch-deck-groove/node_modules/jszip/lib/utf8.js +275 -0
- package/pitch-deck-groove/node_modules/jszip/lib/utils.js +501 -0
- package/pitch-deck-groove/node_modules/jszip/lib/zipEntries.js +261 -0
- package/pitch-deck-groove/node_modules/jszip/lib/zipEntry.js +293 -0
- package/pitch-deck-groove/node_modules/jszip/lib/zipObject.js +133 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/.travis.yml +34 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/LICENSE +47 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/README.md +58 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/duplex-browser.js +1 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/duplex.js +1 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/lib/_stream_transform.js +214 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/lib/_stream_writable.js +685 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/package.json +52 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/passthrough.js +1 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/readable-browser.js +7 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/readable.js +19 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/transform.js +1 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/writable-browser.js +1 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/readable-stream/writable.js +8 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/safe-buffer/LICENSE +21 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/safe-buffer/README.md +584 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/safe-buffer/index.d.ts +187 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/safe-buffer/index.js +62 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/safe-buffer/package.json +37 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/string_decoder/.travis.yml +50 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/string_decoder/LICENSE +48 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/string_decoder/README.md +47 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/pitch-deck-groove/node_modules/jszip/node_modules/string_decoder/package.json +31 -0
- package/pitch-deck-groove/node_modules/jszip/package.json +67 -0
- package/pitch-deck-groove/node_modules/jszip/sponsors.md +21 -0
- package/pitch-deck-groove/node_modules/jszip/tsconfig.json +101 -0
- package/pitch-deck-groove/node_modules/jszip/vendor/FileSaver.js +247 -0
- package/pitch-deck-groove/node_modules/lie/README.md +62 -0
- package/pitch-deck-groove/node_modules/lie/dist/lie.js +350 -0
- package/pitch-deck-groove/node_modules/lie/dist/lie.min.js +1 -0
- package/pitch-deck-groove/node_modules/lie/dist/lie.polyfill.js +358 -0
- package/pitch-deck-groove/node_modules/lie/dist/lie.polyfill.min.js +1 -0
- package/pitch-deck-groove/node_modules/lie/lib/browser.js +273 -0
- package/pitch-deck-groove/node_modules/lie/lib/index.js +298 -0
- package/pitch-deck-groove/node_modules/lie/license.md +7 -0
- package/pitch-deck-groove/node_modules/lie/lie.d.ts +244 -0
- package/pitch-deck-groove/node_modules/lie/package.json +69 -0
- package/pitch-deck-groove/node_modules/lie/polyfill.js +4 -0
- package/pitch-deck-groove/node_modules/make-dir/index.d.ts +66 -0
- package/pitch-deck-groove/node_modules/make-dir/index.js +156 -0
- package/pitch-deck-groove/node_modules/make-dir/license +9 -0
- package/pitch-deck-groove/node_modules/make-dir/node_modules/semver/LICENSE +15 -0
- package/pitch-deck-groove/node_modules/make-dir/node_modules/semver/README.md +443 -0
- package/pitch-deck-groove/node_modules/make-dir/node_modules/semver/bin/semver.js +174 -0
- package/pitch-deck-groove/node_modules/make-dir/node_modules/semver/package.json +38 -0
- package/pitch-deck-groove/node_modules/make-dir/node_modules/semver/range.bnf +16 -0
- package/pitch-deck-groove/node_modules/make-dir/node_modules/semver/semver.js +1643 -0
- package/pitch-deck-groove/node_modules/make-dir/package.json +59 -0
- package/pitch-deck-groove/node_modules/make-dir/readme.md +125 -0
- package/pitch-deck-groove/node_modules/mimic-response/index.d.ts +17 -0
- package/pitch-deck-groove/node_modules/mimic-response/index.js +38 -0
- package/pitch-deck-groove/node_modules/mimic-response/license +9 -0
- package/pitch-deck-groove/node_modules/mimic-response/package.json +42 -0
- package/pitch-deck-groove/node_modules/mimic-response/readme.md +57 -0
- package/pitch-deck-groove/node_modules/minimatch/LICENSE +15 -0
- package/pitch-deck-groove/node_modules/minimatch/README.md +267 -0
- package/pitch-deck-groove/node_modules/minimatch/minimatch.js +1005 -0
- package/pitch-deck-groove/node_modules/minimatch/package.json +33 -0
- package/pitch-deck-groove/node_modules/minipass/LICENSE +15 -0
- package/pitch-deck-groove/node_modules/minipass/README.md +769 -0
- package/pitch-deck-groove/node_modules/minipass/index.d.ts +152 -0
- package/pitch-deck-groove/node_modules/minipass/index.js +702 -0
- package/pitch-deck-groove/node_modules/minipass/index.mjs +702 -0
- package/pitch-deck-groove/node_modules/minipass/package.json +76 -0
- package/pitch-deck-groove/node_modules/minizlib/LICENSE +26 -0
- package/pitch-deck-groove/node_modules/minizlib/README.md +60 -0
- package/pitch-deck-groove/node_modules/minizlib/constants.js +115 -0
- package/pitch-deck-groove/node_modules/minizlib/index.js +348 -0
- package/pitch-deck-groove/node_modules/minizlib/node_modules/minipass/LICENSE +15 -0
- package/pitch-deck-groove/node_modules/minizlib/node_modules/minipass/README.md +728 -0
- package/pitch-deck-groove/node_modules/minizlib/node_modules/minipass/index.d.ts +155 -0
- package/pitch-deck-groove/node_modules/minizlib/node_modules/minipass/index.js +649 -0
- package/pitch-deck-groove/node_modules/minizlib/node_modules/minipass/package.json +56 -0
- package/pitch-deck-groove/node_modules/minizlib/package.json +42 -0
- package/pitch-deck-groove/node_modules/mkdirp/CHANGELOG.md +15 -0
- package/pitch-deck-groove/node_modules/mkdirp/LICENSE +21 -0
- package/pitch-deck-groove/node_modules/mkdirp/bin/cmd.js +68 -0
- package/pitch-deck-groove/node_modules/mkdirp/index.js +31 -0
- package/pitch-deck-groove/node_modules/mkdirp/lib/find-made.js +29 -0
- package/pitch-deck-groove/node_modules/mkdirp/lib/mkdirp-manual.js +64 -0
- package/pitch-deck-groove/node_modules/mkdirp/lib/mkdirp-native.js +39 -0
- package/pitch-deck-groove/node_modules/mkdirp/lib/opts-arg.js +23 -0
- package/pitch-deck-groove/node_modules/mkdirp/lib/path-arg.js +29 -0
- package/pitch-deck-groove/node_modules/mkdirp/lib/use-native.js +10 -0
- package/pitch-deck-groove/node_modules/mkdirp/package.json +44 -0
- package/pitch-deck-groove/node_modules/mkdirp/readme.markdown +266 -0
- package/pitch-deck-groove/node_modules/ms/index.js +162 -0
- package/pitch-deck-groove/node_modules/ms/license.md +21 -0
- package/pitch-deck-groove/node_modules/ms/package.json +38 -0
- package/pitch-deck-groove/node_modules/ms/readme.md +59 -0
- package/pitch-deck-groove/node_modules/nan/.github/workflows/ci.yml +52 -0
- package/pitch-deck-groove/node_modules/nan/.pre-commit-config.yaml +8 -0
- package/pitch-deck-groove/node_modules/nan/CHANGELOG.md +599 -0
- package/pitch-deck-groove/node_modules/nan/CMakeLists.txt +138 -0
- package/pitch-deck-groove/node_modules/nan/LICENSE.md +9 -0
- package/pitch-deck-groove/node_modules/nan/README.md +456 -0
- package/pitch-deck-groove/node_modules/nan/doc/asyncworker.md +146 -0
- package/pitch-deck-groove/node_modules/nan/doc/buffers.md +54 -0
- package/pitch-deck-groove/node_modules/nan/doc/callback.md +76 -0
- package/pitch-deck-groove/node_modules/nan/doc/converters.md +41 -0
- package/pitch-deck-groove/node_modules/nan/doc/errors.md +226 -0
- package/pitch-deck-groove/node_modules/nan/doc/json.md +62 -0
- package/pitch-deck-groove/node_modules/nan/doc/maybe_types.md +583 -0
- package/pitch-deck-groove/node_modules/nan/doc/methods.md +689 -0
- package/pitch-deck-groove/node_modules/nan/doc/new.md +147 -0
- package/pitch-deck-groove/node_modules/nan/doc/node_misc.md +123 -0
- package/pitch-deck-groove/node_modules/nan/doc/object_wrappers.md +263 -0
- package/pitch-deck-groove/node_modules/nan/doc/persistent.md +296 -0
- package/pitch-deck-groove/node_modules/nan/doc/scopes.md +73 -0
- package/pitch-deck-groove/node_modules/nan/doc/script.md +58 -0
- package/pitch-deck-groove/node_modules/nan/doc/string_bytes.md +81 -0
- package/pitch-deck-groove/node_modules/nan/doc/v8_internals.md +199 -0
- package/pitch-deck-groove/node_modules/nan/doc/v8_misc.md +85 -0
- package/pitch-deck-groove/node_modules/nan/include_dirs.js +1 -0
- package/pitch-deck-groove/node_modules/nan/nan.h +3202 -0
- package/pitch-deck-groove/node_modules/nan/nan_callbacks.h +141 -0
- package/pitch-deck-groove/node_modules/nan/nan_callbacks_12_inl.h +690 -0
- package/pitch-deck-groove/node_modules/nan/nan_callbacks_pre_12_inl.h +524 -0
- package/pitch-deck-groove/node_modules/nan/nan_converters.h +72 -0
- package/pitch-deck-groove/node_modules/nan/nan_converters_43_inl.h +68 -0
- package/pitch-deck-groove/node_modules/nan/nan_converters_pre_43_inl.h +42 -0
- package/pitch-deck-groove/node_modules/nan/nan_define_own_property_helper.h +29 -0
- package/pitch-deck-groove/node_modules/nan/nan_implementation_12_inl.h +430 -0
- package/pitch-deck-groove/node_modules/nan/nan_implementation_pre_12_inl.h +263 -0
- package/pitch-deck-groove/node_modules/nan/nan_json.h +166 -0
- package/pitch-deck-groove/node_modules/nan/nan_maybe_43_inl.h +360 -0
- package/pitch-deck-groove/node_modules/nan/nan_maybe_pre_43_inl.h +268 -0
- package/pitch-deck-groove/node_modules/nan/nan_new.h +340 -0
- package/pitch-deck-groove/node_modules/nan/nan_object_wrap.h +156 -0
- package/pitch-deck-groove/node_modules/nan/nan_persistent_12_inl.h +132 -0
- package/pitch-deck-groove/node_modules/nan/nan_persistent_pre_12_inl.h +242 -0
- package/pitch-deck-groove/node_modules/nan/nan_private.h +73 -0
- package/pitch-deck-groove/node_modules/nan/nan_scriptorigin.h +97 -0
- package/pitch-deck-groove/node_modules/nan/nan_string_bytes.h +305 -0
- package/pitch-deck-groove/node_modules/nan/nan_typedarray_contents.h +96 -0
- package/pitch-deck-groove/node_modules/nan/nan_weak.h +453 -0
- package/pitch-deck-groove/node_modules/nan/package.json +38 -0
- package/pitch-deck-groove/node_modules/nan/tools/1to2.js +412 -0
- package/pitch-deck-groove/node_modules/nan/tools/README.md +14 -0
- package/pitch-deck-groove/node_modules/nan/tools/package.json +19 -0
- package/pitch-deck-groove/node_modules/node-fetch/LICENSE.md +22 -0
- package/pitch-deck-groove/node_modules/node-fetch/README.md +634 -0
- package/pitch-deck-groove/node_modules/node-fetch/browser.js +25 -0
- package/pitch-deck-groove/node_modules/node-fetch/lib/index.es.js +1777 -0
- package/pitch-deck-groove/node_modules/node-fetch/lib/index.js +1787 -0
- package/pitch-deck-groove/node_modules/node-fetch/lib/index.mjs +1775 -0
- package/pitch-deck-groove/node_modules/node-fetch/package.json +89 -0
- package/pitch-deck-groove/node_modules/nopt/CHANGELOG.md +58 -0
- package/pitch-deck-groove/node_modules/nopt/LICENSE +15 -0
- package/pitch-deck-groove/node_modules/nopt/README.md +213 -0
- package/pitch-deck-groove/node_modules/nopt/bin/nopt.js +54 -0
- package/pitch-deck-groove/node_modules/nopt/lib/nopt.js +441 -0
- package/pitch-deck-groove/node_modules/nopt/package.json +34 -0
- package/pitch-deck-groove/node_modules/npmlog/LICENSE +15 -0
- package/pitch-deck-groove/node_modules/npmlog/README.md +216 -0
- package/pitch-deck-groove/node_modules/npmlog/log.js +403 -0
- package/pitch-deck-groove/node_modules/npmlog/package.json +33 -0
- package/pitch-deck-groove/node_modules/object-assign/index.js +90 -0
- package/pitch-deck-groove/node_modules/object-assign/license +21 -0
- package/pitch-deck-groove/node_modules/object-assign/package.json +42 -0
- package/pitch-deck-groove/node_modules/object-assign/readme.md +61 -0
- package/pitch-deck-groove/node_modules/once/LICENSE +15 -0
- package/pitch-deck-groove/node_modules/once/README.md +79 -0
- package/pitch-deck-groove/node_modules/once/once.js +42 -0
- package/pitch-deck-groove/node_modules/once/package.json +33 -0
- package/pitch-deck-groove/node_modules/pako/CHANGELOG.md +164 -0
- package/pitch-deck-groove/node_modules/pako/LICENSE +21 -0
- package/pitch-deck-groove/node_modules/pako/README.md +191 -0
- package/pitch-deck-groove/node_modules/pako/dist/pako.js +6818 -0
- package/pitch-deck-groove/node_modules/pako/dist/pako.min.js +1 -0
- package/pitch-deck-groove/node_modules/pako/dist/pako_deflate.js +3997 -0
- package/pitch-deck-groove/node_modules/pako/dist/pako_deflate.min.js +1 -0
- package/pitch-deck-groove/node_modules/pako/dist/pako_inflate.js +3300 -0
- package/pitch-deck-groove/node_modules/pako/dist/pako_inflate.min.js +1 -0
- package/pitch-deck-groove/node_modules/pako/index.js +14 -0
- package/pitch-deck-groove/node_modules/pako/lib/deflate.js +400 -0
- package/pitch-deck-groove/node_modules/pako/lib/inflate.js +423 -0
- package/pitch-deck-groove/node_modules/pako/lib/utils/common.js +105 -0
- package/pitch-deck-groove/node_modules/pako/lib/utils/strings.js +187 -0
- package/pitch-deck-groove/node_modules/pako/lib/zlib/README +59 -0
- package/pitch-deck-groove/node_modules/pako/lib/zlib/adler32.js +51 -0
- package/pitch-deck-groove/node_modules/pako/lib/zlib/constants.js +68 -0
- package/pitch-deck-groove/node_modules/pako/lib/zlib/crc32.js +59 -0
- package/pitch-deck-groove/node_modules/pako/lib/zlib/deflate.js +1874 -0
- package/pitch-deck-groove/node_modules/pako/lib/zlib/gzheader.js +58 -0
- package/pitch-deck-groove/node_modules/pako/lib/zlib/inffast.js +345 -0
- package/pitch-deck-groove/node_modules/pako/lib/zlib/inflate.js +1556 -0
- package/pitch-deck-groove/node_modules/pako/lib/zlib/inftrees.js +343 -0
- package/pitch-deck-groove/node_modules/pako/lib/zlib/messages.js +32 -0
- package/pitch-deck-groove/node_modules/pako/lib/zlib/trees.js +1222 -0
- package/pitch-deck-groove/node_modules/pako/lib/zlib/zstream.js +47 -0
- package/pitch-deck-groove/node_modules/pako/package.json +44 -0
- package/pitch-deck-groove/node_modules/path-is-absolute/index.js +20 -0
- package/pitch-deck-groove/node_modules/path-is-absolute/license +21 -0
- package/pitch-deck-groove/node_modules/path-is-absolute/package.json +43 -0
- package/pitch-deck-groove/node_modules/path-is-absolute/readme.md +59 -0
- package/pitch-deck-groove/node_modules/pptxgenjs/LICENSE +21 -0
- package/pitch-deck-groove/node_modules/pptxgenjs/README.md +284 -0
- package/pitch-deck-groove/node_modules/pptxgenjs/dist/pptxgen.bundle.js +3 -0
- package/pitch-deck-groove/node_modules/pptxgenjs/dist/pptxgen.bundle.js.map +1 -0
- package/pitch-deck-groove/node_modules/pptxgenjs/dist/pptxgen.cjs.js +7445 -0
- package/pitch-deck-groove/node_modules/pptxgenjs/dist/pptxgen.es.js +7439 -0
- package/pitch-deck-groove/node_modules/pptxgenjs/dist/pptxgen.min.js +3 -0
- package/pitch-deck-groove/node_modules/pptxgenjs/dist/pptxgen.min.js.map +1 -0
- package/pitch-deck-groove/node_modules/pptxgenjs/package.json +89 -0
- package/pitch-deck-groove/node_modules/pptxgenjs/types/index.d.ts +2670 -0
- package/pitch-deck-groove/node_modules/process-nextick-args/index.js +45 -0
- package/pitch-deck-groove/node_modules/process-nextick-args/license.md +19 -0
- package/pitch-deck-groove/node_modules/process-nextick-args/package.json +25 -0
- package/pitch-deck-groove/node_modules/process-nextick-args/readme.md +18 -0
- package/pitch-deck-groove/node_modules/queue/LICENSE +8 -0
- package/pitch-deck-groove/node_modules/queue/index.d.ts +173 -0
- package/pitch-deck-groove/node_modules/queue/index.js +195 -0
- package/pitch-deck-groove/node_modules/queue/package.json +43 -0
- package/pitch-deck-groove/node_modules/queue/readme.md +221 -0
- package/pitch-deck-groove/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/pitch-deck-groove/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/pitch-deck-groove/node_modules/readable-stream/LICENSE +47 -0
- package/pitch-deck-groove/node_modules/readable-stream/README.md +106 -0
- package/pitch-deck-groove/node_modules/readable-stream/errors-browser.js +127 -0
- package/pitch-deck-groove/node_modules/readable-stream/errors.js +116 -0
- package/pitch-deck-groove/node_modules/readable-stream/experimentalWarning.js +17 -0
- package/pitch-deck-groove/node_modules/readable-stream/lib/_stream_duplex.js +126 -0
- package/pitch-deck-groove/node_modules/readable-stream/lib/_stream_passthrough.js +37 -0
- package/pitch-deck-groove/node_modules/readable-stream/lib/_stream_readable.js +1027 -0
- package/pitch-deck-groove/node_modules/readable-stream/lib/_stream_transform.js +190 -0
- package/pitch-deck-groove/node_modules/readable-stream/lib/_stream_writable.js +641 -0
- package/pitch-deck-groove/node_modules/readable-stream/lib/internal/streams/async_iterator.js +180 -0
- package/pitch-deck-groove/node_modules/readable-stream/lib/internal/streams/buffer_list.js +183 -0
- package/pitch-deck-groove/node_modules/readable-stream/lib/internal/streams/destroy.js +96 -0
- package/pitch-deck-groove/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +86 -0
- package/pitch-deck-groove/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
- package/pitch-deck-groove/node_modules/readable-stream/lib/internal/streams/from.js +52 -0
- package/pitch-deck-groove/node_modules/readable-stream/lib/internal/streams/pipeline.js +86 -0
- package/pitch-deck-groove/node_modules/readable-stream/lib/internal/streams/state.js +22 -0
- package/pitch-deck-groove/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/pitch-deck-groove/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/pitch-deck-groove/node_modules/readable-stream/package.json +68 -0
- package/pitch-deck-groove/node_modules/readable-stream/readable-browser.js +9 -0
- package/pitch-deck-groove/node_modules/readable-stream/readable.js +16 -0
- package/pitch-deck-groove/node_modules/rimraf/CHANGELOG.md +65 -0
- package/pitch-deck-groove/node_modules/rimraf/LICENSE +15 -0
- package/pitch-deck-groove/node_modules/rimraf/README.md +101 -0
- package/pitch-deck-groove/node_modules/rimraf/bin.js +68 -0
- package/pitch-deck-groove/node_modules/rimraf/package.json +32 -0
- package/pitch-deck-groove/node_modules/rimraf/rimraf.js +360 -0
- package/pitch-deck-groove/node_modules/safe-buffer/LICENSE +21 -0
- package/pitch-deck-groove/node_modules/safe-buffer/README.md +584 -0
- package/pitch-deck-groove/node_modules/safe-buffer/index.d.ts +187 -0
- package/pitch-deck-groove/node_modules/safe-buffer/index.js +65 -0
- package/pitch-deck-groove/node_modules/safe-buffer/package.json +51 -0
- package/pitch-deck-groove/node_modules/semver/LICENSE +15 -0
- package/pitch-deck-groove/node_modules/semver/README.md +665 -0
- package/pitch-deck-groove/node_modules/semver/bin/semver.js +191 -0
- package/pitch-deck-groove/node_modules/semver/classes/comparator.js +143 -0
- package/pitch-deck-groove/node_modules/semver/classes/index.js +7 -0
- package/pitch-deck-groove/node_modules/semver/classes/range.js +557 -0
- package/pitch-deck-groove/node_modules/semver/classes/semver.js +333 -0
- package/pitch-deck-groove/node_modules/semver/functions/clean.js +8 -0
- package/pitch-deck-groove/node_modules/semver/functions/cmp.js +54 -0
- package/pitch-deck-groove/node_modules/semver/functions/coerce.js +62 -0
- package/pitch-deck-groove/node_modules/semver/functions/compare-build.js +9 -0
- package/pitch-deck-groove/node_modules/semver/functions/compare-loose.js +5 -0
- package/pitch-deck-groove/node_modules/semver/functions/compare.js +7 -0
- package/pitch-deck-groove/node_modules/semver/functions/diff.js +60 -0
- package/pitch-deck-groove/node_modules/semver/functions/eq.js +5 -0
- package/pitch-deck-groove/node_modules/semver/functions/gt.js +5 -0
- package/pitch-deck-groove/node_modules/semver/functions/gte.js +5 -0
- package/pitch-deck-groove/node_modules/semver/functions/inc.js +21 -0
- package/pitch-deck-groove/node_modules/semver/functions/lt.js +5 -0
- package/pitch-deck-groove/node_modules/semver/functions/lte.js +5 -0
- package/pitch-deck-groove/node_modules/semver/functions/major.js +5 -0
- package/pitch-deck-groove/node_modules/semver/functions/minor.js +5 -0
- package/pitch-deck-groove/node_modules/semver/functions/neq.js +5 -0
- package/pitch-deck-groove/node_modules/semver/functions/parse.js +18 -0
- package/pitch-deck-groove/node_modules/semver/functions/patch.js +5 -0
- package/pitch-deck-groove/node_modules/semver/functions/prerelease.js +8 -0
- package/pitch-deck-groove/node_modules/semver/functions/rcompare.js +5 -0
- package/pitch-deck-groove/node_modules/semver/functions/rsort.js +5 -0
- package/pitch-deck-groove/node_modules/semver/functions/satisfies.js +12 -0
- package/pitch-deck-groove/node_modules/semver/functions/sort.js +5 -0
- package/pitch-deck-groove/node_modules/semver/functions/valid.js +8 -0
- package/pitch-deck-groove/node_modules/semver/index.js +91 -0
- package/pitch-deck-groove/node_modules/semver/internal/constants.js +37 -0
- package/pitch-deck-groove/node_modules/semver/internal/debug.js +11 -0
- package/pitch-deck-groove/node_modules/semver/internal/identifiers.js +29 -0
- package/pitch-deck-groove/node_modules/semver/internal/lrucache.js +42 -0
- package/pitch-deck-groove/node_modules/semver/internal/parse-options.js +17 -0
- package/pitch-deck-groove/node_modules/semver/internal/re.js +223 -0
- package/pitch-deck-groove/node_modules/semver/package.json +78 -0
- package/pitch-deck-groove/node_modules/semver/preload.js +4 -0
- package/pitch-deck-groove/node_modules/semver/range.bnf +16 -0
- package/pitch-deck-groove/node_modules/semver/ranges/gtr.js +6 -0
- package/pitch-deck-groove/node_modules/semver/ranges/intersects.js +9 -0
- package/pitch-deck-groove/node_modules/semver/ranges/ltr.js +6 -0
- package/pitch-deck-groove/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/pitch-deck-groove/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/pitch-deck-groove/node_modules/semver/ranges/min-version.js +63 -0
- package/pitch-deck-groove/node_modules/semver/ranges/outside.js +82 -0
- package/pitch-deck-groove/node_modules/semver/ranges/simplify.js +49 -0
- package/pitch-deck-groove/node_modules/semver/ranges/subset.js +249 -0
- package/pitch-deck-groove/node_modules/semver/ranges/to-comparators.js +10 -0
- package/pitch-deck-groove/node_modules/semver/ranges/valid.js +13 -0
- package/pitch-deck-groove/node_modules/set-blocking/CHANGELOG.md +26 -0
- package/pitch-deck-groove/node_modules/set-blocking/LICENSE.txt +14 -0
- package/pitch-deck-groove/node_modules/set-blocking/README.md +31 -0
- package/pitch-deck-groove/node_modules/set-blocking/index.js +7 -0
- package/pitch-deck-groove/node_modules/set-blocking/package.json +42 -0
- package/pitch-deck-groove/node_modules/setimmediate/LICENSE.txt +20 -0
- package/pitch-deck-groove/node_modules/setimmediate/package.json +30 -0
- package/pitch-deck-groove/node_modules/setimmediate/setImmediate.js +186 -0
- package/pitch-deck-groove/node_modules/signal-exit/LICENSE.txt +16 -0
- package/pitch-deck-groove/node_modules/signal-exit/README.md +39 -0
- package/pitch-deck-groove/node_modules/signal-exit/index.js +202 -0
- package/pitch-deck-groove/node_modules/signal-exit/package.json +38 -0
- package/pitch-deck-groove/node_modules/signal-exit/signals.js +53 -0
- package/pitch-deck-groove/node_modules/simple-concat/.travis.yml +3 -0
- package/pitch-deck-groove/node_modules/simple-concat/LICENSE +20 -0
- package/pitch-deck-groove/node_modules/simple-concat/README.md +44 -0
- package/pitch-deck-groove/node_modules/simple-concat/index.js +15 -0
- package/pitch-deck-groove/node_modules/simple-concat/package.json +47 -0
- package/pitch-deck-groove/node_modules/simple-concat/test/basic.js +41 -0
- package/pitch-deck-groove/node_modules/simple-get/LICENSE +20 -0
- package/pitch-deck-groove/node_modules/simple-get/README.md +319 -0
- package/pitch-deck-groove/node_modules/simple-get/index.js +107 -0
- package/pitch-deck-groove/node_modules/simple-get/package.json +53 -0
- package/pitch-deck-groove/node_modules/string-width/index.d.ts +29 -0
- package/pitch-deck-groove/node_modules/string-width/index.js +47 -0
- package/pitch-deck-groove/node_modules/string-width/license +9 -0
- package/pitch-deck-groove/node_modules/string-width/package.json +56 -0
- package/pitch-deck-groove/node_modules/string-width/readme.md +50 -0
- package/pitch-deck-groove/node_modules/string_decoder/LICENSE +48 -0
- package/pitch-deck-groove/node_modules/string_decoder/README.md +47 -0
- package/pitch-deck-groove/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/pitch-deck-groove/node_modules/string_decoder/package.json +34 -0
- package/pitch-deck-groove/node_modules/strip-ansi/index.d.ts +17 -0
- package/pitch-deck-groove/node_modules/strip-ansi/index.js +4 -0
- package/pitch-deck-groove/node_modules/strip-ansi/license +9 -0
- package/pitch-deck-groove/node_modules/strip-ansi/package.json +54 -0
- package/pitch-deck-groove/node_modules/strip-ansi/readme.md +46 -0
- package/pitch-deck-groove/node_modules/tar/LICENSE +15 -0
- package/pitch-deck-groove/node_modules/tar/README.md +1080 -0
- package/pitch-deck-groove/node_modules/tar/index.js +18 -0
- package/pitch-deck-groove/node_modules/tar/lib/create.js +111 -0
- package/pitch-deck-groove/node_modules/tar/lib/extract.js +113 -0
- package/pitch-deck-groove/node_modules/tar/lib/get-write-flag.js +20 -0
- package/pitch-deck-groove/node_modules/tar/lib/header.js +304 -0
- package/pitch-deck-groove/node_modules/tar/lib/high-level-opt.js +29 -0
- package/pitch-deck-groove/node_modules/tar/lib/large-numbers.js +104 -0
- package/pitch-deck-groove/node_modules/tar/lib/list.js +139 -0
- package/pitch-deck-groove/node_modules/tar/lib/mkdir.js +229 -0
- package/pitch-deck-groove/node_modules/tar/lib/mode-fix.js +27 -0
- package/pitch-deck-groove/node_modules/tar/lib/normalize-unicode.js +12 -0
- package/pitch-deck-groove/node_modules/tar/lib/normalize-windows-path.js +8 -0
- package/pitch-deck-groove/node_modules/tar/lib/pack.js +432 -0
- package/pitch-deck-groove/node_modules/tar/lib/parse.js +552 -0
- package/pitch-deck-groove/node_modules/tar/lib/path-reservations.js +156 -0
- package/pitch-deck-groove/node_modules/tar/lib/pax.js +150 -0
- package/pitch-deck-groove/node_modules/tar/lib/read-entry.js +107 -0
- package/pitch-deck-groove/node_modules/tar/lib/replace.js +246 -0
- package/pitch-deck-groove/node_modules/tar/lib/strip-absolute-path.js +24 -0
- package/pitch-deck-groove/node_modules/tar/lib/strip-trailing-slashes.js +13 -0
- package/pitch-deck-groove/node_modules/tar/lib/types.js +44 -0
- package/pitch-deck-groove/node_modules/tar/lib/unpack.js +923 -0
- package/pitch-deck-groove/node_modules/tar/lib/update.js +40 -0
- package/pitch-deck-groove/node_modules/tar/lib/warn-mixin.js +24 -0
- package/pitch-deck-groove/node_modules/tar/lib/winchars.js +23 -0
- package/pitch-deck-groove/node_modules/tar/lib/write-entry.js +546 -0
- package/pitch-deck-groove/node_modules/tar/package.json +70 -0
- package/pitch-deck-groove/node_modules/tr46/index.js +193 -0
- package/pitch-deck-groove/node_modules/tr46/lib/.gitkeep +0 -0
- package/pitch-deck-groove/node_modules/tr46/lib/mappingTable.json +1 -0
- package/pitch-deck-groove/node_modules/tr46/package.json +31 -0
- package/pitch-deck-groove/node_modules/undici-types/README.md +6 -0
- package/pitch-deck-groove/node_modules/undici-types/agent.d.ts +31 -0
- package/pitch-deck-groove/node_modules/undici-types/api.d.ts +43 -0
- package/pitch-deck-groove/node_modules/undici-types/balanced-pool.d.ts +18 -0
- package/pitch-deck-groove/node_modules/undici-types/cache.d.ts +36 -0
- package/pitch-deck-groove/node_modules/undici-types/client.d.ts +97 -0
- package/pitch-deck-groove/node_modules/undici-types/connector.d.ts +34 -0
- package/pitch-deck-groove/node_modules/undici-types/content-type.d.ts +21 -0
- package/pitch-deck-groove/node_modules/undici-types/cookies.d.ts +28 -0
- package/pitch-deck-groove/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
- package/pitch-deck-groove/node_modules/undici-types/dispatcher.d.ts +241 -0
- package/pitch-deck-groove/node_modules/undici-types/errors.d.ts +128 -0
- package/pitch-deck-groove/node_modules/undici-types/fetch.d.ts +209 -0
- package/pitch-deck-groove/node_modules/undici-types/file.d.ts +39 -0
- package/pitch-deck-groove/node_modules/undici-types/filereader.d.ts +54 -0
- package/pitch-deck-groove/node_modules/undici-types/formdata.d.ts +108 -0
- package/pitch-deck-groove/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/pitch-deck-groove/node_modules/undici-types/global-origin.d.ts +7 -0
- package/pitch-deck-groove/node_modules/undici-types/handlers.d.ts +9 -0
- package/pitch-deck-groove/node_modules/undici-types/header.d.ts +4 -0
- package/pitch-deck-groove/node_modules/undici-types/index.d.ts +63 -0
- package/pitch-deck-groove/node_modules/undici-types/interceptors.d.ts +5 -0
- package/pitch-deck-groove/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/pitch-deck-groove/node_modules/undici-types/mock-client.d.ts +25 -0
- package/pitch-deck-groove/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/pitch-deck-groove/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/pitch-deck-groove/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/pitch-deck-groove/node_modules/undici-types/package.json +55 -0
- package/pitch-deck-groove/node_modules/undici-types/patch.d.ts +71 -0
- package/pitch-deck-groove/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/pitch-deck-groove/node_modules/undici-types/pool.d.ts +28 -0
- package/pitch-deck-groove/node_modules/undici-types/proxy-agent.d.ts +30 -0
- package/pitch-deck-groove/node_modules/undici-types/readable.d.ts +61 -0
- package/pitch-deck-groove/node_modules/undici-types/webidl.d.ts +220 -0
- package/pitch-deck-groove/node_modules/undici-types/websocket.d.ts +131 -0
- package/pitch-deck-groove/node_modules/util-deprecate/History.md +16 -0
- package/pitch-deck-groove/node_modules/util-deprecate/LICENSE +24 -0
- package/pitch-deck-groove/node_modules/util-deprecate/README.md +53 -0
- package/pitch-deck-groove/node_modules/util-deprecate/browser.js +67 -0
- package/pitch-deck-groove/node_modules/util-deprecate/node.js +6 -0
- package/pitch-deck-groove/node_modules/util-deprecate/package.json +27 -0
- package/pitch-deck-groove/node_modules/webidl-conversions/LICENSE.md +12 -0
- package/pitch-deck-groove/node_modules/webidl-conversions/README.md +53 -0
- package/pitch-deck-groove/node_modules/webidl-conversions/lib/index.js +189 -0
- package/pitch-deck-groove/node_modules/webidl-conversions/package.json +23 -0
- package/pitch-deck-groove/node_modules/whatwg-url/LICENSE.txt +21 -0
- package/pitch-deck-groove/node_modules/whatwg-url/README.md +67 -0
- package/pitch-deck-groove/node_modules/whatwg-url/lib/URL-impl.js +200 -0
- package/pitch-deck-groove/node_modules/whatwg-url/lib/URL.js +196 -0
- package/pitch-deck-groove/node_modules/whatwg-url/lib/public-api.js +11 -0
- package/pitch-deck-groove/node_modules/whatwg-url/lib/url-state-machine.js +1297 -0
- package/pitch-deck-groove/node_modules/whatwg-url/lib/utils.js +20 -0
- package/pitch-deck-groove/node_modules/whatwg-url/package.json +32 -0
- package/pitch-deck-groove/node_modules/wide-align/LICENSE +14 -0
- package/pitch-deck-groove/node_modules/wide-align/README.md +47 -0
- package/pitch-deck-groove/node_modules/wide-align/align.js +65 -0
- package/pitch-deck-groove/node_modules/wide-align/package.json +33 -0
- package/pitch-deck-groove/node_modules/wrappy/LICENSE +15 -0
- package/pitch-deck-groove/node_modules/wrappy/README.md +36 -0
- package/pitch-deck-groove/node_modules/wrappy/package.json +29 -0
- package/pitch-deck-groove/node_modules/wrappy/wrappy.js +33 -0
- package/pitch-deck-groove/node_modules/yallist/LICENSE +15 -0
- package/pitch-deck-groove/node_modules/yallist/README.md +204 -0
- package/pitch-deck-groove/node_modules/yallist/iterator.js +8 -0
- package/pitch-deck-groove/node_modules/yallist/package.json +29 -0
- package/pitch-deck-groove/node_modules/yallist/yallist.js +426 -0
- package/pitch-deck-groove/package-lock.json +763 -0
- package/pitch-deck-groove/package.json +13 -0
- package/pitch-deck-groove/slides.json +239 -0
- package/node_modules/@groove-dev/gui/dist/assets/index-CBlL5EFb.js +0 -638
- package/node_modules/@groove-dev/gui/dist/assets/index-E07lphaH.css +0 -1
- package/packages/gui/dist/assets/index-CBlL5EFb.js +0 -638
- package/packages/gui/dist/assets/index-E07lphaH.css +0 -1
- package/pitch_deck/index.html +0 -718
- package/pitch_deck/slides.json +0 -197
|
@@ -0,0 +1,2670 @@
|
|
|
1
|
+
// Type definitions for pptxgenjs 3.12.0
|
|
2
|
+
// Project: https://gitbrent.github.io/PptxGenJS/
|
|
3
|
+
// Definitions by: Brent Ely <https://github.com/gitbrent/>
|
|
4
|
+
// Michael Beaumont <https://github.com/michaelbeaumont>
|
|
5
|
+
// Nicholas Tietz-Sokolsky <https://github.com/ntietz>
|
|
6
|
+
// David Adams <https://github.com/iota-pi>
|
|
7
|
+
// Stephen Cronin <https://github.com/cronin4392>
|
|
8
|
+
// TypeScript Version: 3.x
|
|
9
|
+
|
|
10
|
+
export as namespace PptxGenJS
|
|
11
|
+
|
|
12
|
+
export default PptxGenJS
|
|
13
|
+
|
|
14
|
+
declare class PptxGenJS {
|
|
15
|
+
/**
|
|
16
|
+
* PptxGenJS Library Version
|
|
17
|
+
* @type {string}
|
|
18
|
+
*/
|
|
19
|
+
readonly version: string
|
|
20
|
+
|
|
21
|
+
// Exposed prop types
|
|
22
|
+
readonly presLayout: PptxGenJS.PresLayout
|
|
23
|
+
readonly AlignH: typeof PptxGenJS.AlignH
|
|
24
|
+
readonly AlignV: typeof PptxGenJS.AlignV
|
|
25
|
+
readonly ChartType: typeof PptxGenJS.ChartType
|
|
26
|
+
readonly OutputType: typeof PptxGenJS.OutputType
|
|
27
|
+
readonly SchemeColor: typeof PptxGenJS.SchemeColor
|
|
28
|
+
readonly ShapeType: typeof PptxGenJS.ShapeType
|
|
29
|
+
readonly PlaceholderType: typeof PptxGenJS.PLACEHOLDER_TYPES
|
|
30
|
+
|
|
31
|
+
// Presentation Props
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Presentation layout name.
|
|
35
|
+
* Standard layouts:
|
|
36
|
+
* - 'LAYOUT_4x3' (10" x 7.5")
|
|
37
|
+
* - 'LAYOUT_16x9' (10" x 5.625")
|
|
38
|
+
* - 'LAYOUT_16x10' (10" x 6.25")
|
|
39
|
+
* - 'LAYOUT_WIDE' (13.33" x 7.5")
|
|
40
|
+
*
|
|
41
|
+
* Custom layouts:
|
|
42
|
+
* - Use `pptx.defineLayout()` to create custom layouts (e.g.: 'A4')
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @see https://support.office.com/en-us/article/Change-the-size-of-your-slides-040a811c-be43-40b9-8d04-0de5ed79987e
|
|
46
|
+
*/
|
|
47
|
+
layout: string
|
|
48
|
+
/**
|
|
49
|
+
* Whether Right-to-Left (RTL) mode is enabled
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
*/
|
|
52
|
+
rtlMode: boolean
|
|
53
|
+
|
|
54
|
+
// Presentation Metadata
|
|
55
|
+
/**
|
|
56
|
+
* Author name
|
|
57
|
+
* @type {string}
|
|
58
|
+
*/
|
|
59
|
+
author: string
|
|
60
|
+
/**
|
|
61
|
+
* Comapny name
|
|
62
|
+
* @type {string}
|
|
63
|
+
*/
|
|
64
|
+
company: string
|
|
65
|
+
/**
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @note the `revision` value must be a whole number only (without "." or "," - otherwise, PowerPoint will throw errors upon opening!)
|
|
68
|
+
*/
|
|
69
|
+
revision: string
|
|
70
|
+
/**
|
|
71
|
+
* Presentation subject
|
|
72
|
+
* @type {string}
|
|
73
|
+
*/
|
|
74
|
+
subject: string
|
|
75
|
+
/**
|
|
76
|
+
* Presentation theme (default fonts)
|
|
77
|
+
* @type {ThemeProps}
|
|
78
|
+
*/
|
|
79
|
+
theme: PptxGenJS.ThemeProps
|
|
80
|
+
/**
|
|
81
|
+
* Presentation name
|
|
82
|
+
* @type {string}
|
|
83
|
+
*/
|
|
84
|
+
title: string
|
|
85
|
+
|
|
86
|
+
// Methods
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Export the current Presentation to stream
|
|
90
|
+
* @param {WriteBaseProps} props output properties
|
|
91
|
+
* @returns {Promise<string | ArrayBuffer | Blob | Uint8Array>} file stream
|
|
92
|
+
*/
|
|
93
|
+
stream(props?: PptxGenJS.WriteBaseProps): Promise<string | ArrayBuffer | Blob | Uint8Array>
|
|
94
|
+
/**
|
|
95
|
+
* Export the current Presentation as JSZip content with the selected type
|
|
96
|
+
* @param {WriteProps} props output properties
|
|
97
|
+
* @returns {Promise<string | ArrayBuffer | Blob | Uint8Array>} file content in selected type
|
|
98
|
+
*/
|
|
99
|
+
write(props?: PptxGenJS.WriteProps): Promise<string | ArrayBuffer | Blob | Uint8Array>
|
|
100
|
+
/**
|
|
101
|
+
* Export the current Presentation. Writes file to local file system if `fs` exists, otherwise, initiates download in browsers
|
|
102
|
+
* @param {WriteFileProps} props output file properties
|
|
103
|
+
* @example pptx.writeFile({ fileName:'CustomerReport.pptx' }) // export presentation as "CustomerReport.pptx"
|
|
104
|
+
* @example pptx.writeFile({ fileName:'CustomerReport.pptx', compression:true }) // export presentation as "CustomerReport.pptx" compressed (can save up to 30%)
|
|
105
|
+
* @returns {Promise<string>} the presentation name
|
|
106
|
+
*/
|
|
107
|
+
writeFile(props?: PptxGenJS.WriteFileProps): Promise<string>
|
|
108
|
+
/**
|
|
109
|
+
* Add a new Section to Presentation
|
|
110
|
+
* @param {SectionProps} props section properties
|
|
111
|
+
* @example pptx.addSection({ title:'Charts' });
|
|
112
|
+
*/
|
|
113
|
+
addSection(props: PptxGenJS.SectionProps): void
|
|
114
|
+
/**
|
|
115
|
+
* Add a new Slide to Presentation
|
|
116
|
+
* @param {AddSlideProps} props slide options
|
|
117
|
+
* @returns {Slide} the new Slide
|
|
118
|
+
*/
|
|
119
|
+
addSlide(props?: PptxGenJS.AddSlideProps): PptxGenJS.Slide
|
|
120
|
+
/**
|
|
121
|
+
* Add a new Slide to Presentation
|
|
122
|
+
* @param {string} masterName master slide name
|
|
123
|
+
* @returns {Slide} the new Slide
|
|
124
|
+
* @deprecated use `addSlide(IAddSlideOptions)`
|
|
125
|
+
*/
|
|
126
|
+
addSlide(masterName?: string): PptxGenJS.Slide
|
|
127
|
+
/**
|
|
128
|
+
* Create a custom Slide Layout in any size
|
|
129
|
+
* @param {PresLayout} layout an object with user-defined w/h
|
|
130
|
+
* @example pptx.defineLayout({ name:'A3', width:16.5, height:11.7 });
|
|
131
|
+
*/
|
|
132
|
+
defineLayout(layout: PptxGenJS.PresLayout): void
|
|
133
|
+
/**
|
|
134
|
+
* Create a new slide master [layout] for the Presentation
|
|
135
|
+
* @param {SlideMasterProps} props layout definition
|
|
136
|
+
*/
|
|
137
|
+
defineSlideMaster(props: PptxGenJS.SlideMasterProps): void
|
|
138
|
+
/**
|
|
139
|
+
* Reproduces an HTML table as a PowerPoint table - including column widths, style, etc. - creates 1 or more slides as needed
|
|
140
|
+
* @param {string} eleId table HTML element ID
|
|
141
|
+
* @param {TableToSlidesProps} props generation options
|
|
142
|
+
*/
|
|
143
|
+
tableToSlides(eleId: string, props?: PptxGenJS.TableToSlidesProps): void
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
declare namespace PptxGenJS {
|
|
147
|
+
// Exported enums for module apps
|
|
148
|
+
// @example: pptxgen.ShapeType.rect
|
|
149
|
+
export enum AlignH {
|
|
150
|
+
'left' = 'left',
|
|
151
|
+
'center' = 'center',
|
|
152
|
+
'right' = 'right',
|
|
153
|
+
'justify' = 'justify',
|
|
154
|
+
}
|
|
155
|
+
export enum AlignV {
|
|
156
|
+
'top' = 'top',
|
|
157
|
+
'middle' = 'middle',
|
|
158
|
+
'bottom' = 'bottom',
|
|
159
|
+
}
|
|
160
|
+
export enum ChartType {
|
|
161
|
+
'area' = 'area',
|
|
162
|
+
'bar' = 'bar',
|
|
163
|
+
'bar3d' = 'bar3D',
|
|
164
|
+
'bubble' = 'bubble',
|
|
165
|
+
'bubble3d' = 'bubble3D',
|
|
166
|
+
'doughnut' = 'doughnut',
|
|
167
|
+
'line' = 'line',
|
|
168
|
+
'pie' = 'pie',
|
|
169
|
+
'radar' = 'radar',
|
|
170
|
+
'scatter' = 'scatter',
|
|
171
|
+
}
|
|
172
|
+
export enum OutputType {
|
|
173
|
+
'arraybuffer' = 'arraybuffer',
|
|
174
|
+
'base64' = 'base64',
|
|
175
|
+
'binarystring' = 'binarystring',
|
|
176
|
+
'blob' = 'blob',
|
|
177
|
+
'nodebuffer' = 'nodebuffer',
|
|
178
|
+
'uint8array' = 'uint8array',
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* TODO: FUTURE: v4.0: rename to `SchemeColor`
|
|
182
|
+
*/
|
|
183
|
+
export enum SchemeColor {
|
|
184
|
+
'text1' = 'tx1',
|
|
185
|
+
'text2' = 'tx2',
|
|
186
|
+
'background1' = 'bg1',
|
|
187
|
+
'background2' = 'bg2',
|
|
188
|
+
'accent1' = 'accent1',
|
|
189
|
+
'accent2' = 'accent2',
|
|
190
|
+
'accent3' = 'accent3',
|
|
191
|
+
'accent4' = 'accent4',
|
|
192
|
+
'accent5' = 'accent5',
|
|
193
|
+
'accent6' = 'accent6',
|
|
194
|
+
}
|
|
195
|
+
export enum ShapeType {
|
|
196
|
+
'accentBorderCallout1' = 'accentBorderCallout1',
|
|
197
|
+
'accentBorderCallout2' = 'accentBorderCallout2',
|
|
198
|
+
'accentBorderCallout3' = 'accentBorderCallout3',
|
|
199
|
+
'accentCallout1' = 'accentCallout1',
|
|
200
|
+
'accentCallout2' = 'accentCallout2',
|
|
201
|
+
'accentCallout3' = 'accentCallout3',
|
|
202
|
+
'actionButtonBackPrevious' = 'actionButtonBackPrevious',
|
|
203
|
+
'actionButtonBeginning' = 'actionButtonBeginning',
|
|
204
|
+
'actionButtonBlank' = 'actionButtonBlank',
|
|
205
|
+
'actionButtonDocument' = 'actionButtonDocument',
|
|
206
|
+
'actionButtonEnd' = 'actionButtonEnd',
|
|
207
|
+
'actionButtonForwardNext' = 'actionButtonForwardNext',
|
|
208
|
+
'actionButtonHelp' = 'actionButtonHelp',
|
|
209
|
+
'actionButtonHome' = 'actionButtonHome',
|
|
210
|
+
'actionButtonInformation' = 'actionButtonInformation',
|
|
211
|
+
'actionButtonMovie' = 'actionButtonMovie',
|
|
212
|
+
'actionButtonReturn' = 'actionButtonReturn',
|
|
213
|
+
'actionButtonSound' = 'actionButtonSound',
|
|
214
|
+
'arc' = 'arc',
|
|
215
|
+
'bentArrow' = 'bentArrow',
|
|
216
|
+
'bentUpArrow' = 'bentUpArrow',
|
|
217
|
+
'bevel' = 'bevel',
|
|
218
|
+
'blockArc' = 'blockArc',
|
|
219
|
+
'borderCallout1' = 'borderCallout1',
|
|
220
|
+
'borderCallout2' = 'borderCallout2',
|
|
221
|
+
'borderCallout3' = 'borderCallout3',
|
|
222
|
+
'bracePair' = 'bracePair',
|
|
223
|
+
'bracketPair' = 'bracketPair',
|
|
224
|
+
'callout1' = 'callout1',
|
|
225
|
+
'callout2' = 'callout2',
|
|
226
|
+
'callout3' = 'callout3',
|
|
227
|
+
'can' = 'can',
|
|
228
|
+
'chartPlus' = 'chartPlus',
|
|
229
|
+
'chartStar' = 'chartStar',
|
|
230
|
+
'chartX' = 'chartX',
|
|
231
|
+
'chevron' = 'chevron',
|
|
232
|
+
'chord' = 'chord',
|
|
233
|
+
'circularArrow' = 'circularArrow',
|
|
234
|
+
'cloud' = 'cloud',
|
|
235
|
+
'cloudCallout' = 'cloudCallout',
|
|
236
|
+
'corner' = 'corner',
|
|
237
|
+
'cornerTabs' = 'cornerTabs',
|
|
238
|
+
'cube' = 'cube',
|
|
239
|
+
'curvedDownArrow' = 'curvedDownArrow',
|
|
240
|
+
'curvedLeftArrow' = 'curvedLeftArrow',
|
|
241
|
+
'curvedRightArrow' = 'curvedRightArrow',
|
|
242
|
+
'curvedUpArrow' = 'curvedUpArrow',
|
|
243
|
+
'decagon' = 'decagon',
|
|
244
|
+
'diagStripe' = 'diagStripe',
|
|
245
|
+
'diamond' = 'diamond',
|
|
246
|
+
'dodecagon' = 'dodecagon',
|
|
247
|
+
'donut' = 'donut',
|
|
248
|
+
'doubleWave' = 'doubleWave',
|
|
249
|
+
'downArrow' = 'downArrow',
|
|
250
|
+
'downArrowCallout' = 'downArrowCallout',
|
|
251
|
+
'ellipse' = 'ellipse',
|
|
252
|
+
'ellipseRibbon' = 'ellipseRibbon',
|
|
253
|
+
'ellipseRibbon2' = 'ellipseRibbon2',
|
|
254
|
+
'flowChartAlternateProcess' = 'flowChartAlternateProcess',
|
|
255
|
+
'flowChartCollate' = 'flowChartCollate',
|
|
256
|
+
'flowChartConnector' = 'flowChartConnector',
|
|
257
|
+
'flowChartDecision' = 'flowChartDecision',
|
|
258
|
+
'flowChartDelay' = 'flowChartDelay',
|
|
259
|
+
'flowChartDisplay' = 'flowChartDisplay',
|
|
260
|
+
'flowChartDocument' = 'flowChartDocument',
|
|
261
|
+
'flowChartExtract' = 'flowChartExtract',
|
|
262
|
+
'flowChartInputOutput' = 'flowChartInputOutput',
|
|
263
|
+
'flowChartInternalStorage' = 'flowChartInternalStorage',
|
|
264
|
+
'flowChartMagneticDisk' = 'flowChartMagneticDisk',
|
|
265
|
+
'flowChartMagneticDrum' = 'flowChartMagneticDrum',
|
|
266
|
+
'flowChartMagneticTape' = 'flowChartMagneticTape',
|
|
267
|
+
'flowChartManualInput' = 'flowChartManualInput',
|
|
268
|
+
'flowChartManualOperation' = 'flowChartManualOperation',
|
|
269
|
+
'flowChartMerge' = 'flowChartMerge',
|
|
270
|
+
'flowChartMultidocument' = 'flowChartMultidocument',
|
|
271
|
+
'flowChartOfflineStorage' = 'flowChartOfflineStorage',
|
|
272
|
+
'flowChartOffpageConnector' = 'flowChartOffpageConnector',
|
|
273
|
+
'flowChartOnlineStorage' = 'flowChartOnlineStorage',
|
|
274
|
+
'flowChartOr' = 'flowChartOr',
|
|
275
|
+
'flowChartPredefinedProcess' = 'flowChartPredefinedProcess',
|
|
276
|
+
'flowChartPreparation' = 'flowChartPreparation',
|
|
277
|
+
'flowChartProcess' = 'flowChartProcess',
|
|
278
|
+
'flowChartPunchedCard' = 'flowChartPunchedCard',
|
|
279
|
+
'flowChartPunchedTape' = 'flowChartPunchedTape',
|
|
280
|
+
'flowChartSort' = 'flowChartSort',
|
|
281
|
+
'flowChartSummingJunction' = 'flowChartSummingJunction',
|
|
282
|
+
'flowChartTerminator' = 'flowChartTerminator',
|
|
283
|
+
'folderCorner' = 'folderCorner',
|
|
284
|
+
'frame' = 'frame',
|
|
285
|
+
'funnel' = 'funnel',
|
|
286
|
+
'gear6' = 'gear6',
|
|
287
|
+
'gear9' = 'gear9',
|
|
288
|
+
'halfFrame' = 'halfFrame',
|
|
289
|
+
'heart' = 'heart',
|
|
290
|
+
'heptagon' = 'heptagon',
|
|
291
|
+
'hexagon' = 'hexagon',
|
|
292
|
+
'homePlate' = 'homePlate',
|
|
293
|
+
'horizontalScroll' = 'horizontalScroll',
|
|
294
|
+
'irregularSeal1' = 'irregularSeal1',
|
|
295
|
+
'irregularSeal2' = 'irregularSeal2',
|
|
296
|
+
'leftArrow' = 'leftArrow',
|
|
297
|
+
'leftArrowCallout' = 'leftArrowCallout',
|
|
298
|
+
'leftBrace' = 'leftBrace',
|
|
299
|
+
'leftBracket' = 'leftBracket',
|
|
300
|
+
'leftCircularArrow' = 'leftCircularArrow',
|
|
301
|
+
'leftRightArrow' = 'leftRightArrow',
|
|
302
|
+
'leftRightArrowCallout' = 'leftRightArrowCallout',
|
|
303
|
+
'leftRightCircularArrow' = 'leftRightCircularArrow',
|
|
304
|
+
'leftRightRibbon' = 'leftRightRibbon',
|
|
305
|
+
'leftRightUpArrow' = 'leftRightUpArrow',
|
|
306
|
+
'leftUpArrow' = 'leftUpArrow',
|
|
307
|
+
'lightningBolt' = 'lightningBolt',
|
|
308
|
+
'line' = 'line',
|
|
309
|
+
'lineInv' = 'lineInv',
|
|
310
|
+
'mathDivide' = 'mathDivide',
|
|
311
|
+
'mathEqual' = 'mathEqual',
|
|
312
|
+
'mathMinus' = 'mathMinus',
|
|
313
|
+
'mathMultiply' = 'mathMultiply',
|
|
314
|
+
'mathNotEqual' = 'mathNotEqual',
|
|
315
|
+
'mathPlus' = 'mathPlus',
|
|
316
|
+
'moon' = 'moon',
|
|
317
|
+
'nonIsoscelesTrapezoid' = 'nonIsoscelesTrapezoid',
|
|
318
|
+
'noSmoking' = 'noSmoking',
|
|
319
|
+
'notchedRightArrow' = 'notchedRightArrow',
|
|
320
|
+
'octagon' = 'octagon',
|
|
321
|
+
'parallelogram' = 'parallelogram',
|
|
322
|
+
'pentagon' = 'pentagon',
|
|
323
|
+
'pie' = 'pie',
|
|
324
|
+
'pieWedge' = 'pieWedge',
|
|
325
|
+
'plaque' = 'plaque',
|
|
326
|
+
'plaqueTabs' = 'plaqueTabs',
|
|
327
|
+
'plus' = 'plus',
|
|
328
|
+
'quadArrow' = 'quadArrow',
|
|
329
|
+
'quadArrowCallout' = 'quadArrowCallout',
|
|
330
|
+
'rect' = 'rect',
|
|
331
|
+
'ribbon' = 'ribbon',
|
|
332
|
+
'ribbon2' = 'ribbon2',
|
|
333
|
+
'rightArrow' = 'rightArrow',
|
|
334
|
+
'rightArrowCallout' = 'rightArrowCallout',
|
|
335
|
+
'rightBrace' = 'rightBrace',
|
|
336
|
+
'rightBracket' = 'rightBracket',
|
|
337
|
+
'round1Rect' = 'round1Rect',
|
|
338
|
+
'round2DiagRect' = 'round2DiagRect',
|
|
339
|
+
'round2SameRect' = 'round2SameRect',
|
|
340
|
+
'roundRect' = 'roundRect',
|
|
341
|
+
'rtTriangle' = 'rtTriangle',
|
|
342
|
+
'smileyFace' = 'smileyFace',
|
|
343
|
+
'snip1Rect' = 'snip1Rect',
|
|
344
|
+
'snip2DiagRect' = 'snip2DiagRect',
|
|
345
|
+
'snip2SameRect' = 'snip2SameRect',
|
|
346
|
+
'snipRoundRect' = 'snipRoundRect',
|
|
347
|
+
'squareTabs' = 'squareTabs',
|
|
348
|
+
'star10' = 'star10',
|
|
349
|
+
'star12' = 'star12',
|
|
350
|
+
'star16' = 'star16',
|
|
351
|
+
'star24' = 'star24',
|
|
352
|
+
'star32' = 'star32',
|
|
353
|
+
'star4' = 'star4',
|
|
354
|
+
'star5' = 'star5',
|
|
355
|
+
'star6' = 'star6',
|
|
356
|
+
'star7' = 'star7',
|
|
357
|
+
'star8' = 'star8',
|
|
358
|
+
'stripedRightArrow' = 'stripedRightArrow',
|
|
359
|
+
'sun' = 'sun',
|
|
360
|
+
'swooshArrow' = 'swooshArrow',
|
|
361
|
+
'teardrop' = 'teardrop',
|
|
362
|
+
'trapezoid' = 'trapezoid',
|
|
363
|
+
'triangle' = 'triangle',
|
|
364
|
+
'upArrow' = 'upArrow',
|
|
365
|
+
'upArrowCallout' = 'upArrowCallout',
|
|
366
|
+
'upDownArrow' = 'upDownArrow',
|
|
367
|
+
'upDownArrowCallout' = 'upDownArrowCallout',
|
|
368
|
+
'uturnArrow' = 'uturnArrow',
|
|
369
|
+
'verticalScroll' = 'verticalScroll',
|
|
370
|
+
'wave' = 'wave',
|
|
371
|
+
'wedgeEllipseCallout' = 'wedgeEllipseCallout',
|
|
372
|
+
'wedgeRectCallout' = 'wedgeRectCallout',
|
|
373
|
+
'wedgeRoundRectCallout' = 'wedgeRoundRectCallout',
|
|
374
|
+
}
|
|
375
|
+
// used by charts, shape, text
|
|
376
|
+
export interface BorderOptions {
|
|
377
|
+
/**
|
|
378
|
+
* Border type
|
|
379
|
+
*/
|
|
380
|
+
type?: 'none' | 'dash' | 'solid'
|
|
381
|
+
/**
|
|
382
|
+
* Border color (hex)
|
|
383
|
+
* @example 'FF3399'
|
|
384
|
+
*/
|
|
385
|
+
color?: HexColor
|
|
386
|
+
/**
|
|
387
|
+
* Border size (points)
|
|
388
|
+
*/
|
|
389
|
+
pt?: number
|
|
390
|
+
}
|
|
391
|
+
// These are used by browser/script clients and have been named like this since v0.1.
|
|
392
|
+
// Desc: charts and shapes for `pptxgen.charts.` `pptxgen.shapes.`
|
|
393
|
+
// Note: "charts" and "shapes" are manually created by cloning
|
|
394
|
+
export enum charts {
|
|
395
|
+
'AREA' = 'area',
|
|
396
|
+
'BAR' = 'bar',
|
|
397
|
+
'BAR3D' = 'bar3D',
|
|
398
|
+
'BUBBLE' = 'bubble',
|
|
399
|
+
'DOUGHNUT' = 'doughnut',
|
|
400
|
+
'LINE' = 'line',
|
|
401
|
+
'PIE' = 'pie',
|
|
402
|
+
'RADAR' = 'radar',
|
|
403
|
+
'SCATTER' = 'scatter',
|
|
404
|
+
}
|
|
405
|
+
export enum shapes {
|
|
406
|
+
ACTION_BUTTON_BACK_OR_PREVIOUS = 'actionButtonBackPrevious',
|
|
407
|
+
ACTION_BUTTON_BEGINNING = 'actionButtonBeginning',
|
|
408
|
+
ACTION_BUTTON_CUSTOM = 'actionButtonBlank',
|
|
409
|
+
ACTION_BUTTON_DOCUMENT = 'actionButtonDocument',
|
|
410
|
+
ACTION_BUTTON_END = 'actionButtonEnd',
|
|
411
|
+
ACTION_BUTTON_FORWARD_OR_NEXT = 'actionButtonForwardNext',
|
|
412
|
+
ACTION_BUTTON_HELP = 'actionButtonHelp',
|
|
413
|
+
ACTION_BUTTON_HOME = 'actionButtonHome',
|
|
414
|
+
ACTION_BUTTON_INFORMATION = 'actionButtonInformation',
|
|
415
|
+
ACTION_BUTTON_MOVIE = 'actionButtonMovie',
|
|
416
|
+
ACTION_BUTTON_RETURN = 'actionButtonReturn',
|
|
417
|
+
ACTION_BUTTON_SOUND = 'actionButtonSound',
|
|
418
|
+
ARC = 'arc',
|
|
419
|
+
BALLOON = 'wedgeRoundRectCallout',
|
|
420
|
+
BENT_ARROW = 'bentArrow',
|
|
421
|
+
BENT_UP_ARROW = 'bentUpArrow',
|
|
422
|
+
BEVEL = 'bevel',
|
|
423
|
+
BLOCK_ARC = 'blockArc',
|
|
424
|
+
CAN = 'can',
|
|
425
|
+
CHART_PLUS = 'chartPlus',
|
|
426
|
+
CHART_STAR = 'chartStar',
|
|
427
|
+
CHART_X = 'chartX',
|
|
428
|
+
CHEVRON = 'chevron',
|
|
429
|
+
CHORD = 'chord',
|
|
430
|
+
CIRCULAR_ARROW = 'circularArrow',
|
|
431
|
+
CLOUD = 'cloud',
|
|
432
|
+
CLOUD_CALLOUT = 'cloudCallout',
|
|
433
|
+
CORNER = 'corner',
|
|
434
|
+
CORNER_TABS = 'cornerTabs',
|
|
435
|
+
CROSS = 'plus',
|
|
436
|
+
CUBE = 'cube',
|
|
437
|
+
CURVED_DOWN_ARROW = 'curvedDownArrow',
|
|
438
|
+
CURVED_DOWN_RIBBON = 'ellipseRibbon',
|
|
439
|
+
CURVED_LEFT_ARROW = 'curvedLeftArrow',
|
|
440
|
+
CURVED_RIGHT_ARROW = 'curvedRightArrow',
|
|
441
|
+
CURVED_UP_ARROW = 'curvedUpArrow',
|
|
442
|
+
CURVED_UP_RIBBON = 'ellipseRibbon2',
|
|
443
|
+
DECAGON = 'decagon',
|
|
444
|
+
DIAGONAL_STRIPE = 'diagStripe',
|
|
445
|
+
DIAMOND = 'diamond',
|
|
446
|
+
DODECAGON = 'dodecagon',
|
|
447
|
+
DONUT = 'donut',
|
|
448
|
+
DOUBLE_BRACE = 'bracePair',
|
|
449
|
+
DOUBLE_BRACKET = 'bracketPair',
|
|
450
|
+
DOUBLE_WAVE = 'doubleWave',
|
|
451
|
+
DOWN_ARROW = 'downArrow',
|
|
452
|
+
DOWN_ARROW_CALLOUT = 'downArrowCallout',
|
|
453
|
+
DOWN_RIBBON = 'ribbon',
|
|
454
|
+
EXPLOSION1 = 'irregularSeal1',
|
|
455
|
+
EXPLOSION2 = 'irregularSeal2',
|
|
456
|
+
FLOWCHART_ALTERNATE_PROCESS = 'flowChartAlternateProcess',
|
|
457
|
+
FLOWCHART_CARD = 'flowChartPunchedCard',
|
|
458
|
+
FLOWCHART_COLLATE = 'flowChartCollate',
|
|
459
|
+
FLOWCHART_CONNECTOR = 'flowChartConnector',
|
|
460
|
+
FLOWCHART_DATA = 'flowChartInputOutput',
|
|
461
|
+
FLOWCHART_DECISION = 'flowChartDecision',
|
|
462
|
+
FLOWCHART_DELAY = 'flowChartDelay',
|
|
463
|
+
FLOWCHART_DIRECT_ACCESS_STORAGE = 'flowChartMagneticDrum',
|
|
464
|
+
FLOWCHART_DISPLAY = 'flowChartDisplay',
|
|
465
|
+
FLOWCHART_DOCUMENT = 'flowChartDocument',
|
|
466
|
+
FLOWCHART_EXTRACT = 'flowChartExtract',
|
|
467
|
+
FLOWCHART_INTERNAL_STORAGE = 'flowChartInternalStorage',
|
|
468
|
+
FLOWCHART_MAGNETIC_DISK = 'flowChartMagneticDisk',
|
|
469
|
+
FLOWCHART_MANUAL_INPUT = 'flowChartManualInput',
|
|
470
|
+
FLOWCHART_MANUAL_OPERATION = 'flowChartManualOperation',
|
|
471
|
+
FLOWCHART_MERGE = 'flowChartMerge',
|
|
472
|
+
FLOWCHART_MULTIDOCUMENT = 'flowChartMultidocument',
|
|
473
|
+
FLOWCHART_OFFLINE_STORAGE = 'flowChartOfflineStorage',
|
|
474
|
+
FLOWCHART_OFFPAGE_CONNECTOR = 'flowChartOffpageConnector',
|
|
475
|
+
FLOWCHART_OR = 'flowChartOr',
|
|
476
|
+
FLOWCHART_PREDEFINED_PROCESS = 'flowChartPredefinedProcess',
|
|
477
|
+
FLOWCHART_PREPARATION = 'flowChartPreparation',
|
|
478
|
+
FLOWCHART_PROCESS = 'flowChartProcess',
|
|
479
|
+
FLOWCHART_PUNCHED_TAPE = 'flowChartPunchedTape',
|
|
480
|
+
FLOWCHART_SEQUENTIAL_ACCESS_STORAGE = 'flowChartMagneticTape',
|
|
481
|
+
FLOWCHART_SORT = 'flowChartSort',
|
|
482
|
+
FLOWCHART_STORED_DATA = 'flowChartOnlineStorage',
|
|
483
|
+
FLOWCHART_SUMMING_JUNCTION = 'flowChartSummingJunction',
|
|
484
|
+
FLOWCHART_TERMINATOR = 'flowChartTerminator',
|
|
485
|
+
FOLDED_CORNER = 'folderCorner',
|
|
486
|
+
FRAME = 'frame',
|
|
487
|
+
FUNNEL = 'funnel',
|
|
488
|
+
GEAR_6 = 'gear6',
|
|
489
|
+
GEAR_9 = 'gear9',
|
|
490
|
+
HALF_FRAME = 'halfFrame',
|
|
491
|
+
HEART = 'heart',
|
|
492
|
+
HEPTAGON = 'heptagon',
|
|
493
|
+
HEXAGON = 'hexagon',
|
|
494
|
+
HORIZONTAL_SCROLL = 'horizontalScroll',
|
|
495
|
+
ISOSCELES_TRIANGLE = 'triangle',
|
|
496
|
+
LEFT_ARROW = 'leftArrow',
|
|
497
|
+
LEFT_ARROW_CALLOUT = 'leftArrowCallout',
|
|
498
|
+
LEFT_BRACE = 'leftBrace',
|
|
499
|
+
LEFT_BRACKET = 'leftBracket',
|
|
500
|
+
LEFT_CIRCULAR_ARROW = 'leftCircularArrow',
|
|
501
|
+
LEFT_RIGHT_ARROW = 'leftRightArrow',
|
|
502
|
+
LEFT_RIGHT_ARROW_CALLOUT = 'leftRightArrowCallout',
|
|
503
|
+
LEFT_RIGHT_CIRCULAR_ARROW = 'leftRightCircularArrow',
|
|
504
|
+
LEFT_RIGHT_RIBBON = 'leftRightRibbon',
|
|
505
|
+
LEFT_RIGHT_UP_ARROW = 'leftRightUpArrow',
|
|
506
|
+
LEFT_UP_ARROW = 'leftUpArrow',
|
|
507
|
+
LIGHTNING_BOLT = 'lightningBolt',
|
|
508
|
+
LINE_CALLOUT_1 = 'borderCallout1',
|
|
509
|
+
LINE_CALLOUT_1_ACCENT_BAR = 'accentCallout1',
|
|
510
|
+
LINE_CALLOUT_1_BORDER_AND_ACCENT_BAR = 'accentBorderCallout1',
|
|
511
|
+
LINE_CALLOUT_1_NO_BORDER = 'callout1',
|
|
512
|
+
LINE_CALLOUT_2 = 'borderCallout2',
|
|
513
|
+
LINE_CALLOUT_2_ACCENT_BAR = 'accentCallout2',
|
|
514
|
+
LINE_CALLOUT_2_BORDER_AND_ACCENT_BAR = 'accentBorderCallout2',
|
|
515
|
+
LINE_CALLOUT_2_NO_BORDER = 'callout2',
|
|
516
|
+
LINE_CALLOUT_3 = 'borderCallout3',
|
|
517
|
+
LINE_CALLOUT_3_ACCENT_BAR = 'accentCallout3',
|
|
518
|
+
LINE_CALLOUT_3_BORDER_AND_ACCENT_BAR = 'accentBorderCallout3',
|
|
519
|
+
LINE_CALLOUT_3_NO_BORDER = 'callout3',
|
|
520
|
+
LINE_CALLOUT_4 = 'borderCallout3',
|
|
521
|
+
LINE_CALLOUT_4_ACCENT_BAR = 'accentCallout3',
|
|
522
|
+
LINE_CALLOUT_4_BORDER_AND_ACCENT_BAR = 'accentBorderCallout3',
|
|
523
|
+
LINE_CALLOUT_4_NO_BORDER = 'callout3',
|
|
524
|
+
LINE = 'line',
|
|
525
|
+
LINE_INVERSE = 'lineInv',
|
|
526
|
+
MATH_DIVIDE = 'mathDivide',
|
|
527
|
+
MATH_EQUAL = 'mathEqual',
|
|
528
|
+
MATH_MINUS = 'mathMinus',
|
|
529
|
+
MATH_MULTIPLY = 'mathMultiply',
|
|
530
|
+
MATH_NOT_EQUAL = 'mathNotEqual',
|
|
531
|
+
MATH_PLUS = 'mathPlus',
|
|
532
|
+
MOON = 'moon',
|
|
533
|
+
NON_ISOSCELES_TRAPEZOID = 'nonIsoscelesTrapezoid',
|
|
534
|
+
NOTCHED_RIGHT_ARROW = 'notchedRightArrow',
|
|
535
|
+
NO_SYMBOL = 'noSmoking',
|
|
536
|
+
OCTAGON = 'octagon',
|
|
537
|
+
OVAL = 'ellipse',
|
|
538
|
+
OVAL_CALLOUT = 'wedgeEllipseCallout',
|
|
539
|
+
PARALLELOGRAM = 'parallelogram',
|
|
540
|
+
PENTAGON = 'homePlate',
|
|
541
|
+
PIE = 'pie',
|
|
542
|
+
PIE_WEDGE = 'pieWedge',
|
|
543
|
+
PLAQUE = 'plaque',
|
|
544
|
+
PLAQUE_TABS = 'plaqueTabs',
|
|
545
|
+
QUAD_ARROW = 'quadArrow',
|
|
546
|
+
QUAD_ARROW_CALLOUT = 'quadArrowCallout',
|
|
547
|
+
RECTANGLE = 'rect',
|
|
548
|
+
RECTANGULAR_CALLOUT = 'wedgeRectCallout',
|
|
549
|
+
REGULAR_PENTAGON = 'pentagon',
|
|
550
|
+
RIGHT_ARROW = 'rightArrow',
|
|
551
|
+
RIGHT_ARROW_CALLOUT = 'rightArrowCallout',
|
|
552
|
+
RIGHT_BRACE = 'rightBrace',
|
|
553
|
+
RIGHT_BRACKET = 'rightBracket',
|
|
554
|
+
RIGHT_TRIANGLE = 'rtTriangle',
|
|
555
|
+
ROUNDED_RECTANGLE = 'roundRect',
|
|
556
|
+
ROUNDED_RECTANGULAR_CALLOUT = 'wedgeRoundRectCallout',
|
|
557
|
+
ROUND_1_RECTANGLE = 'round1Rect',
|
|
558
|
+
ROUND_2_DIAG_RECTANGLE = 'round2DiagRect',
|
|
559
|
+
ROUND_2_SAME_RECTANGLE = 'round2SameRect',
|
|
560
|
+
SMILEY_FACE = 'smileyFace',
|
|
561
|
+
SNIP_1_RECTANGLE = 'snip1Rect',
|
|
562
|
+
SNIP_2_DIAG_RECTANGLE = 'snip2DiagRect',
|
|
563
|
+
SNIP_2_SAME_RECTANGLE = 'snip2SameRect',
|
|
564
|
+
SNIP_ROUND_RECTANGLE = 'snipRoundRect',
|
|
565
|
+
SQUARE_TABS = 'squareTabs',
|
|
566
|
+
STAR_10_POINT = 'star10',
|
|
567
|
+
STAR_12_POINT = 'star12',
|
|
568
|
+
STAR_16_POINT = 'star16',
|
|
569
|
+
STAR_24_POINT = 'star24',
|
|
570
|
+
STAR_32_POINT = 'star32',
|
|
571
|
+
STAR_4_POINT = 'star4',
|
|
572
|
+
STAR_5_POINT = 'star5',
|
|
573
|
+
STAR_6_POINT = 'star6',
|
|
574
|
+
STAR_7_POINT = 'star7',
|
|
575
|
+
STAR_8_POINT = 'star8',
|
|
576
|
+
STRIPED_RIGHT_ARROW = 'stripedRightArrow',
|
|
577
|
+
SUN = 'sun',
|
|
578
|
+
SWOOSH_ARROW = 'swooshArrow',
|
|
579
|
+
TEAR = 'teardrop',
|
|
580
|
+
TRAPEZOID = 'trapezoid',
|
|
581
|
+
UP_ARROW = 'upArrow',
|
|
582
|
+
UP_ARROW_CALLOUT = 'upArrowCallout',
|
|
583
|
+
UP_DOWN_ARROW = 'upDownArrow',
|
|
584
|
+
UP_DOWN_ARROW_CALLOUT = 'upDownArrowCallout',
|
|
585
|
+
UP_RIBBON = 'ribbon2',
|
|
586
|
+
U_TURN_ARROW = 'uturnArrow',
|
|
587
|
+
VERTICAL_SCROLL = 'verticalScroll',
|
|
588
|
+
WAVE = 'wave',
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
// @source `core-enums.ts`
|
|
592
|
+
export type JSZIP_OUTPUT_TYPE = 'arraybuffer' | 'base64' | 'binarystring' | 'blob' | 'nodebuffer' | 'uint8array'
|
|
593
|
+
export type WRITE_OUTPUT_TYPE = JSZIP_OUTPUT_TYPE | 'STREAM'
|
|
594
|
+
export enum CHART_TYPE {
|
|
595
|
+
'AREA' = 'area',
|
|
596
|
+
'BAR' = 'bar',
|
|
597
|
+
'BAR3D' = 'bar3D',
|
|
598
|
+
'BUBBLE' = 'bubble',
|
|
599
|
+
'DOUGHNUT' = 'doughnut',
|
|
600
|
+
'LINE' = 'line',
|
|
601
|
+
'PIE' = 'pie',
|
|
602
|
+
'RADAR' = 'radar',
|
|
603
|
+
'SCATTER' = 'scatter',
|
|
604
|
+
}
|
|
605
|
+
export enum SCHEME_COLOR_NAMES {
|
|
606
|
+
'TEXT1' = 'tx1',
|
|
607
|
+
'TEXT2' = 'tx2',
|
|
608
|
+
'BACKGROUND1' = 'bg1',
|
|
609
|
+
'BACKGROUND2' = 'bg2',
|
|
610
|
+
'ACCENT1' = 'accent1',
|
|
611
|
+
'ACCENT2' = 'accent2',
|
|
612
|
+
'ACCENT3' = 'accent3',
|
|
613
|
+
'ACCENT4' = 'accent4',
|
|
614
|
+
'ACCENT5' = 'accent5',
|
|
615
|
+
'ACCENT6' = 'accent6',
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
// @source `core-interfaces.d.ts` (via import)
|
|
619
|
+
// @code `import { CHART_NAME, PLACEHOLDER_TYPES, SHAPE_NAME, SLIDE_OBJECT_TYPES, TEXT_HALIGN, TEXT_VALIGN, WRITE_OUTPUT_TYPE } from './core-enums'`
|
|
620
|
+
export type CHART_NAME = 'area' | 'bar' | 'bar3D' | 'bubble' | 'doughnut' | 'line' | 'pie' | 'radar' | 'scatter'
|
|
621
|
+
export enum PLACEHOLDER_TYPES {
|
|
622
|
+
'title' = 'title',
|
|
623
|
+
'body' = 'body',
|
|
624
|
+
'image' = 'pic',
|
|
625
|
+
'chart' = 'chart',
|
|
626
|
+
'table' = 'tbl',
|
|
627
|
+
'media' = 'media',
|
|
628
|
+
}
|
|
629
|
+
export type PLACEHOLDER_TYPE = 'title' | 'body' | 'pic' | 'chart' | 'tbl' | 'media'
|
|
630
|
+
|
|
631
|
+
export type SHAPE_NAME =
|
|
632
|
+
| 'accentBorderCallout1'
|
|
633
|
+
| 'accentBorderCallout2'
|
|
634
|
+
| 'accentBorderCallout3'
|
|
635
|
+
| 'accentCallout1'
|
|
636
|
+
| 'accentCallout2'
|
|
637
|
+
| 'accentCallout3'
|
|
638
|
+
| 'actionButtonBackPrevious'
|
|
639
|
+
| 'actionButtonBeginning'
|
|
640
|
+
| 'actionButtonBlank'
|
|
641
|
+
| 'actionButtonDocument'
|
|
642
|
+
| 'actionButtonEnd'
|
|
643
|
+
| 'actionButtonForwardNext'
|
|
644
|
+
| 'actionButtonHelp'
|
|
645
|
+
| 'actionButtonHome'
|
|
646
|
+
| 'actionButtonInformation'
|
|
647
|
+
| 'actionButtonMovie'
|
|
648
|
+
| 'actionButtonReturn'
|
|
649
|
+
| 'actionButtonSound'
|
|
650
|
+
| 'arc'
|
|
651
|
+
| 'bentArrow'
|
|
652
|
+
| 'bentUpArrow'
|
|
653
|
+
| 'bevel'
|
|
654
|
+
| 'blockArc'
|
|
655
|
+
| 'borderCallout1'
|
|
656
|
+
| 'borderCallout2'
|
|
657
|
+
| 'borderCallout3'
|
|
658
|
+
| 'bracePair'
|
|
659
|
+
| 'bracketPair'
|
|
660
|
+
| 'callout1'
|
|
661
|
+
| 'callout2'
|
|
662
|
+
| 'callout3'
|
|
663
|
+
| 'can'
|
|
664
|
+
| 'chartPlus'
|
|
665
|
+
| 'chartStar'
|
|
666
|
+
| 'chartX'
|
|
667
|
+
| 'chevron'
|
|
668
|
+
| 'chord'
|
|
669
|
+
| 'circularArrow'
|
|
670
|
+
| 'cloud'
|
|
671
|
+
| 'cloudCallout'
|
|
672
|
+
| 'corner'
|
|
673
|
+
| 'cornerTabs'
|
|
674
|
+
| 'cube'
|
|
675
|
+
| 'curvedDownArrow'
|
|
676
|
+
| 'curvedLeftArrow'
|
|
677
|
+
| 'curvedRightArrow'
|
|
678
|
+
| 'curvedUpArrow'
|
|
679
|
+
| 'decagon'
|
|
680
|
+
| 'diagStripe'
|
|
681
|
+
| 'diamond'
|
|
682
|
+
| 'dodecagon'
|
|
683
|
+
| 'donut'
|
|
684
|
+
| 'doubleWave'
|
|
685
|
+
| 'downArrow'
|
|
686
|
+
| 'downArrowCallout'
|
|
687
|
+
| 'ellipse'
|
|
688
|
+
| 'ellipseRibbon'
|
|
689
|
+
| 'ellipseRibbon2'
|
|
690
|
+
| 'flowChartAlternateProcess'
|
|
691
|
+
| 'flowChartCollate'
|
|
692
|
+
| 'flowChartConnector'
|
|
693
|
+
| 'flowChartDecision'
|
|
694
|
+
| 'flowChartDelay'
|
|
695
|
+
| 'flowChartDisplay'
|
|
696
|
+
| 'flowChartDocument'
|
|
697
|
+
| 'flowChartExtract'
|
|
698
|
+
| 'flowChartInputOutput'
|
|
699
|
+
| 'flowChartInternalStorage'
|
|
700
|
+
| 'flowChartMagneticDisk'
|
|
701
|
+
| 'flowChartMagneticDrum'
|
|
702
|
+
| 'flowChartMagneticTape'
|
|
703
|
+
| 'flowChartManualInput'
|
|
704
|
+
| 'flowChartManualOperation'
|
|
705
|
+
| 'flowChartMerge'
|
|
706
|
+
| 'flowChartMultidocument'
|
|
707
|
+
| 'flowChartOfflineStorage'
|
|
708
|
+
| 'flowChartOffpageConnector'
|
|
709
|
+
| 'flowChartOnlineStorage'
|
|
710
|
+
| 'flowChartOr'
|
|
711
|
+
| 'flowChartPredefinedProcess'
|
|
712
|
+
| 'flowChartPreparation'
|
|
713
|
+
| 'flowChartProcess'
|
|
714
|
+
| 'flowChartPunchedCard'
|
|
715
|
+
| 'flowChartPunchedTape'
|
|
716
|
+
| 'flowChartSort'
|
|
717
|
+
| 'flowChartSummingJunction'
|
|
718
|
+
| 'flowChartTerminator'
|
|
719
|
+
| 'folderCorner'
|
|
720
|
+
| 'frame'
|
|
721
|
+
| 'funnel'
|
|
722
|
+
| 'gear6'
|
|
723
|
+
| 'gear9'
|
|
724
|
+
| 'halfFrame'
|
|
725
|
+
| 'heart'
|
|
726
|
+
| 'heptagon'
|
|
727
|
+
| 'hexagon'
|
|
728
|
+
| 'homePlate'
|
|
729
|
+
| 'horizontalScroll'
|
|
730
|
+
| 'irregularSeal1'
|
|
731
|
+
| 'irregularSeal2'
|
|
732
|
+
| 'leftArrow'
|
|
733
|
+
| 'leftArrowCallout'
|
|
734
|
+
| 'leftBrace'
|
|
735
|
+
| 'leftBracket'
|
|
736
|
+
| 'leftCircularArrow'
|
|
737
|
+
| 'leftRightArrow'
|
|
738
|
+
| 'leftRightArrowCallout'
|
|
739
|
+
| 'leftRightCircularArrow'
|
|
740
|
+
| 'leftRightRibbon'
|
|
741
|
+
| 'leftRightUpArrow'
|
|
742
|
+
| 'leftUpArrow'
|
|
743
|
+
| 'lightningBolt'
|
|
744
|
+
| 'line'
|
|
745
|
+
| 'lineInv'
|
|
746
|
+
| 'mathDivide'
|
|
747
|
+
| 'mathEqual'
|
|
748
|
+
| 'mathMinus'
|
|
749
|
+
| 'mathMultiply'
|
|
750
|
+
| 'mathNotEqual'
|
|
751
|
+
| 'mathPlus'
|
|
752
|
+
| 'moon'
|
|
753
|
+
| 'noSmoking'
|
|
754
|
+
| 'nonIsoscelesTrapezoid'
|
|
755
|
+
| 'notchedRightArrow'
|
|
756
|
+
| 'octagon'
|
|
757
|
+
| 'parallelogram'
|
|
758
|
+
| 'pentagon'
|
|
759
|
+
| 'pie'
|
|
760
|
+
| 'pieWedge'
|
|
761
|
+
| 'plaque'
|
|
762
|
+
| 'plaqueTabs'
|
|
763
|
+
| 'plus'
|
|
764
|
+
| 'quadArrow'
|
|
765
|
+
| 'quadArrowCallout'
|
|
766
|
+
| 'rect'
|
|
767
|
+
| 'ribbon'
|
|
768
|
+
| 'ribbon2'
|
|
769
|
+
| 'rightArrow'
|
|
770
|
+
| 'rightArrowCallout'
|
|
771
|
+
| 'rightBrace'
|
|
772
|
+
| 'rightBracket'
|
|
773
|
+
| 'round1Rect'
|
|
774
|
+
| 'round2DiagRect'
|
|
775
|
+
| 'round2SameRect'
|
|
776
|
+
| 'roundRect'
|
|
777
|
+
| 'rtTriangle'
|
|
778
|
+
| 'smileyFace'
|
|
779
|
+
| 'snip1Rect'
|
|
780
|
+
| 'snip2DiagRect'
|
|
781
|
+
| 'snip2SameRect'
|
|
782
|
+
| 'snipRoundRect'
|
|
783
|
+
| 'squareTabs'
|
|
784
|
+
| 'star10'
|
|
785
|
+
| 'star12'
|
|
786
|
+
| 'star16'
|
|
787
|
+
| 'star24'
|
|
788
|
+
| 'star32'
|
|
789
|
+
| 'star4'
|
|
790
|
+
| 'star5'
|
|
791
|
+
| 'star6'
|
|
792
|
+
| 'star7'
|
|
793
|
+
| 'star8'
|
|
794
|
+
| 'stripedRightArrow'
|
|
795
|
+
| 'sun'
|
|
796
|
+
| 'swooshArrow'
|
|
797
|
+
| 'teardrop'
|
|
798
|
+
| 'trapezoid'
|
|
799
|
+
| 'triangle'
|
|
800
|
+
| 'upArrow'
|
|
801
|
+
| 'upArrowCallout'
|
|
802
|
+
| 'upDownArrow'
|
|
803
|
+
| 'upDownArrowCallout'
|
|
804
|
+
| 'uturnArrow'
|
|
805
|
+
| 'verticalScroll'
|
|
806
|
+
| 'wave'
|
|
807
|
+
| 'wedgeEllipseCallout'
|
|
808
|
+
| 'wedgeRectCallout'
|
|
809
|
+
| 'wedgeRoundRectCallout'
|
|
810
|
+
|
|
811
|
+
export enum SLIDE_OBJECT_TYPES {
|
|
812
|
+
'chart' = 'chart',
|
|
813
|
+
'hyperlink' = 'hyperlink',
|
|
814
|
+
'image' = 'image',
|
|
815
|
+
'media' = 'media',
|
|
816
|
+
'online' = 'online',
|
|
817
|
+
'placeholder' = 'placeholder',
|
|
818
|
+
'table' = 'table',
|
|
819
|
+
'tablecell' = 'tablecell',
|
|
820
|
+
'text' = 'text',
|
|
821
|
+
'notes' = 'notes',
|
|
822
|
+
}
|
|
823
|
+
export enum TEXT_HALIGN {
|
|
824
|
+
'left' = 'left',
|
|
825
|
+
'center' = 'center',
|
|
826
|
+
'right' = 'right',
|
|
827
|
+
'justify' = 'justify',
|
|
828
|
+
}
|
|
829
|
+
export enum TEXT_VALIGN {
|
|
830
|
+
'b' = 'b',
|
|
831
|
+
'ctr' = 'ctr',
|
|
832
|
+
't' = 't',
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
// @source `core-interfaces.d.ts` (direct)
|
|
836
|
+
// Core Types
|
|
837
|
+
// ==========
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* Coordinate number - either:
|
|
841
|
+
* - Inches (0-n)
|
|
842
|
+
* - Percentage (0-100)
|
|
843
|
+
*
|
|
844
|
+
* @example 10.25 // coordinate in inches
|
|
845
|
+
* @example '75%' // coordinate as percentage of slide size
|
|
846
|
+
*/
|
|
847
|
+
export type Coord = number | `${number}%`
|
|
848
|
+
export interface PositionProps {
|
|
849
|
+
/**
|
|
850
|
+
* Horizontal position
|
|
851
|
+
* - inches or percentage
|
|
852
|
+
* @example 10.25 // position in inches
|
|
853
|
+
* @example '75%' // position as percentage of slide size
|
|
854
|
+
*/
|
|
855
|
+
x?: Coord
|
|
856
|
+
/**
|
|
857
|
+
* Vertical position
|
|
858
|
+
* - inches or percentage
|
|
859
|
+
* @example 10.25 // position in inches
|
|
860
|
+
* @example '75%' // position as percentage of slide size
|
|
861
|
+
*/
|
|
862
|
+
y?: Coord
|
|
863
|
+
/**
|
|
864
|
+
* Height
|
|
865
|
+
* - inches or percentage
|
|
866
|
+
* @example 10.25 // height in inches
|
|
867
|
+
* @example '75%' // height as percentage of slide size
|
|
868
|
+
*/
|
|
869
|
+
h?: Coord
|
|
870
|
+
/**
|
|
871
|
+
* Width
|
|
872
|
+
* - inches or percentage
|
|
873
|
+
* @example 10.25 // width in inches
|
|
874
|
+
* @example '75%' // width as percentage of slide size
|
|
875
|
+
*/
|
|
876
|
+
w?: Coord
|
|
877
|
+
}
|
|
878
|
+
/**
|
|
879
|
+
* Either `data` or `path` is required
|
|
880
|
+
*/
|
|
881
|
+
export interface DataOrPathProps {
|
|
882
|
+
/**
|
|
883
|
+
* URL or relative path
|
|
884
|
+
*
|
|
885
|
+
* @example 'https://onedrives.com/myimg.png` // retrieve image via URL
|
|
886
|
+
* @example '/home/gitbrent/images/myimg.png` // retrieve image via local path
|
|
887
|
+
*/
|
|
888
|
+
path?: string
|
|
889
|
+
/**
|
|
890
|
+
* base64-encoded string
|
|
891
|
+
* - Useful for avoiding potential path/server issues
|
|
892
|
+
*
|
|
893
|
+
* @example 'image/png;base64,iVtDafDrBF[...]=' // pre-encoded image in base-64
|
|
894
|
+
*/
|
|
895
|
+
data?: string
|
|
896
|
+
}
|
|
897
|
+
export interface BackgroundProps extends DataOrPathProps, ShapeFillProps {
|
|
898
|
+
/**
|
|
899
|
+
* Color (hex format)
|
|
900
|
+
* @deprecated v3.6.0 - use `ShapeFillProps` instead
|
|
901
|
+
*/
|
|
902
|
+
fill?: HexColor
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* source URL
|
|
906
|
+
* @deprecated v3.6.0 - use `DataOrPathProps` instead - remove in v4.0.0
|
|
907
|
+
*/
|
|
908
|
+
src?: string
|
|
909
|
+
}
|
|
910
|
+
/**
|
|
911
|
+
* Color in Hex format
|
|
912
|
+
* @example 'FF3399'
|
|
913
|
+
*/
|
|
914
|
+
export type HexColor = string
|
|
915
|
+
export type ThemeColor = 'tx1' | 'tx2' | 'bg1' | 'bg2' | 'accent1' | 'accent2' | 'accent3' | 'accent4' | 'accent5' | 'accent6'
|
|
916
|
+
export type Color = HexColor | ThemeColor
|
|
917
|
+
export type Margin = number | [number, number, number, number]
|
|
918
|
+
export type HAlign = 'left' | 'center' | 'right' | 'justify'
|
|
919
|
+
export type VAlign = 'top' | 'middle' | 'bottom'
|
|
920
|
+
|
|
921
|
+
// used by charts, shape, text
|
|
922
|
+
export interface BorderProps {
|
|
923
|
+
/**
|
|
924
|
+
* Border type
|
|
925
|
+
* @default solid
|
|
926
|
+
*/
|
|
927
|
+
type?: 'none' | 'dash' | 'solid'
|
|
928
|
+
/**
|
|
929
|
+
* Border color (hex)
|
|
930
|
+
* @example 'FF3399'
|
|
931
|
+
* @default '666666'
|
|
932
|
+
*/
|
|
933
|
+
color?: HexColor
|
|
934
|
+
|
|
935
|
+
// TODO: add `transparency` prop to Borders (0-100%)
|
|
936
|
+
|
|
937
|
+
// TODO: add `width` - deprecate `pt`
|
|
938
|
+
/**
|
|
939
|
+
* Border size (points)
|
|
940
|
+
* @default 1
|
|
941
|
+
*/
|
|
942
|
+
pt?: number
|
|
943
|
+
}
|
|
944
|
+
// used by: image, object, text,
|
|
945
|
+
export interface HyperlinkProps {
|
|
946
|
+
//_rId: number
|
|
947
|
+
/**
|
|
948
|
+
* Slide number to link to
|
|
949
|
+
*/
|
|
950
|
+
slide?: number
|
|
951
|
+
/**
|
|
952
|
+
* Url to link to
|
|
953
|
+
*/
|
|
954
|
+
url?: string
|
|
955
|
+
/**
|
|
956
|
+
* Hyperlink Tooltip
|
|
957
|
+
*/
|
|
958
|
+
tooltip?: string
|
|
959
|
+
}
|
|
960
|
+
// used by: chart, text, image
|
|
961
|
+
export interface ShadowProps {
|
|
962
|
+
/**
|
|
963
|
+
* shadow type
|
|
964
|
+
* @default 'none'
|
|
965
|
+
*/
|
|
966
|
+
type: 'outer' | 'inner' | 'none'
|
|
967
|
+
/**
|
|
968
|
+
* opacity (percent)
|
|
969
|
+
* - range: 0.0-1.0
|
|
970
|
+
* @example 0.5 // 50% opaque
|
|
971
|
+
*/
|
|
972
|
+
opacity?: number // TODO: "Transparency (0-100%)" in PPT // TODO: deprecate and add `transparency`
|
|
973
|
+
/**
|
|
974
|
+
* blur (points)
|
|
975
|
+
* - range: 0-100
|
|
976
|
+
* @default 0
|
|
977
|
+
*/
|
|
978
|
+
blur?: number
|
|
979
|
+
/**
|
|
980
|
+
* angle (degrees)
|
|
981
|
+
* - range: 0-359
|
|
982
|
+
* @default 0
|
|
983
|
+
*/
|
|
984
|
+
angle?: number
|
|
985
|
+
/**
|
|
986
|
+
* shadow offset (points)
|
|
987
|
+
* - range: 0-200
|
|
988
|
+
* @default 0
|
|
989
|
+
*/
|
|
990
|
+
offset?: number // TODO: "Distance" in PPT
|
|
991
|
+
/**
|
|
992
|
+
* shadow color (hex format)
|
|
993
|
+
* @example 'FF3399'
|
|
994
|
+
*/
|
|
995
|
+
color?: HexColor
|
|
996
|
+
/**
|
|
997
|
+
* whether to rotate shadow with shape
|
|
998
|
+
* @default false
|
|
999
|
+
*/
|
|
1000
|
+
rotateWithShape?: boolean
|
|
1001
|
+
}
|
|
1002
|
+
// used by: shape, table, text
|
|
1003
|
+
export interface ShapeFillProps {
|
|
1004
|
+
/**
|
|
1005
|
+
* Fill color
|
|
1006
|
+
* - `HexColor` or `ThemeColor`
|
|
1007
|
+
* @example 'FF0000' // hex color (red)
|
|
1008
|
+
* @example pptx.SchemeColor.text1 // Theme color (Text1)
|
|
1009
|
+
*/
|
|
1010
|
+
color?: Color
|
|
1011
|
+
/**
|
|
1012
|
+
* Transparency (percent)
|
|
1013
|
+
* - MS-PPT > Format Shape > Fill & Line > Fill > Transparency
|
|
1014
|
+
* - range: 0-100
|
|
1015
|
+
* @default 0
|
|
1016
|
+
*/
|
|
1017
|
+
transparency?: number
|
|
1018
|
+
/**
|
|
1019
|
+
* Fill type
|
|
1020
|
+
* @default 'solid'
|
|
1021
|
+
*/
|
|
1022
|
+
type?: 'none' | 'solid'
|
|
1023
|
+
|
|
1024
|
+
/**
|
|
1025
|
+
* Transparency (percent)
|
|
1026
|
+
* @deprecated v3.3.0 - use `transparency`
|
|
1027
|
+
*/
|
|
1028
|
+
alpha?: number
|
|
1029
|
+
}
|
|
1030
|
+
export interface ShapeLineProps extends ShapeFillProps {
|
|
1031
|
+
/**
|
|
1032
|
+
* Line width (pt)
|
|
1033
|
+
* @default 1
|
|
1034
|
+
*/
|
|
1035
|
+
width?: number
|
|
1036
|
+
/**
|
|
1037
|
+
* Dash type
|
|
1038
|
+
* @default 'solid'
|
|
1039
|
+
*/
|
|
1040
|
+
dashType?: 'solid' | 'dash' | 'dashDot' | 'lgDash' | 'lgDashDot' | 'lgDashDotDot' | 'sysDash' | 'sysDot'
|
|
1041
|
+
/**
|
|
1042
|
+
* Begin arrow type
|
|
1043
|
+
* @since v3.3.0
|
|
1044
|
+
*/
|
|
1045
|
+
beginArrowType?: 'none' | 'arrow' | 'diamond' | 'oval' | 'stealth' | 'triangle'
|
|
1046
|
+
/**
|
|
1047
|
+
* End arrow type
|
|
1048
|
+
* @since v3.3.0
|
|
1049
|
+
*/
|
|
1050
|
+
endArrowType?: 'none' | 'arrow' | 'diamond' | 'oval' | 'stealth' | 'triangle'
|
|
1051
|
+
// FUTURE: beginArrowSize (1-9)
|
|
1052
|
+
// FUTURE: endArrowSize (1-9)
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* Dash type
|
|
1056
|
+
* @deprecated v3.3.0 - use `dashType`
|
|
1057
|
+
*/
|
|
1058
|
+
lineDash?: 'solid' | 'dash' | 'dashDot' | 'lgDash' | 'lgDashDot' | 'lgDashDotDot' | 'sysDash' | 'sysDot'
|
|
1059
|
+
/**
|
|
1060
|
+
* @deprecated v3.3.0 - use `beginArrowType`
|
|
1061
|
+
*/
|
|
1062
|
+
lineHead?: 'none' | 'arrow' | 'diamond' | 'oval' | 'stealth' | 'triangle'
|
|
1063
|
+
/**
|
|
1064
|
+
* @deprecated v3.3.0 - use `endArrowType`
|
|
1065
|
+
*/
|
|
1066
|
+
lineTail?: 'none' | 'arrow' | 'diamond' | 'oval' | 'stealth' | 'triangle'
|
|
1067
|
+
/**
|
|
1068
|
+
* Line width (pt)
|
|
1069
|
+
* @deprecated v3.3.0 - use `width`
|
|
1070
|
+
*/
|
|
1071
|
+
pt?: number
|
|
1072
|
+
/**
|
|
1073
|
+
* Line size (pt)
|
|
1074
|
+
* @deprecated v3.3.0 - use `width`
|
|
1075
|
+
*/
|
|
1076
|
+
size?: number
|
|
1077
|
+
}
|
|
1078
|
+
// used by: chart, slide, table, text
|
|
1079
|
+
export interface TextBaseProps {
|
|
1080
|
+
/**
|
|
1081
|
+
* Horizontal alignment
|
|
1082
|
+
* @default 'left'
|
|
1083
|
+
*/
|
|
1084
|
+
align?: HAlign
|
|
1085
|
+
/**
|
|
1086
|
+
* Bold style
|
|
1087
|
+
* @default false
|
|
1088
|
+
*/
|
|
1089
|
+
bold?: boolean
|
|
1090
|
+
/**
|
|
1091
|
+
* Add a line-break
|
|
1092
|
+
* @default false
|
|
1093
|
+
*/
|
|
1094
|
+
breakLine?: boolean
|
|
1095
|
+
/**
|
|
1096
|
+
* Add standard or custom bullet
|
|
1097
|
+
* - use `true` for standard bullet
|
|
1098
|
+
* - pass object options for custom bullet
|
|
1099
|
+
* @default false
|
|
1100
|
+
*/
|
|
1101
|
+
bullet?:
|
|
1102
|
+
| boolean
|
|
1103
|
+
| {
|
|
1104
|
+
/**
|
|
1105
|
+
* Bullet type
|
|
1106
|
+
* @default bullet
|
|
1107
|
+
*/
|
|
1108
|
+
type?: 'bullet' | 'number'
|
|
1109
|
+
/**
|
|
1110
|
+
* Bullet character code (unicode)
|
|
1111
|
+
* @since v3.3.0
|
|
1112
|
+
* @example '25BA' // 'BLACK RIGHT-POINTING POINTER' (U+25BA)
|
|
1113
|
+
*/
|
|
1114
|
+
characterCode?: string
|
|
1115
|
+
/**
|
|
1116
|
+
* Indentation (space between bullet and text) (points)
|
|
1117
|
+
* @since v3.3.0
|
|
1118
|
+
* @default 27 // DEF_BULLET_MARGIN
|
|
1119
|
+
* @example 10 // Indents text 10 points from bullet
|
|
1120
|
+
*/
|
|
1121
|
+
indent?: number
|
|
1122
|
+
/**
|
|
1123
|
+
* Number type
|
|
1124
|
+
* @since v3.3.0
|
|
1125
|
+
* @example 'romanLcParenR' // roman numerals lower-case with paranthesis right
|
|
1126
|
+
*/
|
|
1127
|
+
numberType?:
|
|
1128
|
+
| 'alphaLcParenBoth'
|
|
1129
|
+
| 'alphaLcParenR'
|
|
1130
|
+
| 'alphaLcPeriod'
|
|
1131
|
+
| 'alphaUcParenBoth'
|
|
1132
|
+
| 'alphaUcParenR'
|
|
1133
|
+
| 'alphaUcPeriod'
|
|
1134
|
+
| 'arabicParenBoth'
|
|
1135
|
+
| 'arabicParenR'
|
|
1136
|
+
| 'arabicPeriod'
|
|
1137
|
+
| 'arabicPlain'
|
|
1138
|
+
| 'romanLcParenBoth'
|
|
1139
|
+
| 'romanLcParenR'
|
|
1140
|
+
| 'romanLcPeriod'
|
|
1141
|
+
| 'romanUcParenBoth'
|
|
1142
|
+
| 'romanUcParenR'
|
|
1143
|
+
| 'romanUcPeriod'
|
|
1144
|
+
/**
|
|
1145
|
+
* Number bullets start at
|
|
1146
|
+
* @since v3.3.0
|
|
1147
|
+
* @default 1
|
|
1148
|
+
* @example 10 // numbered bullets start with 10
|
|
1149
|
+
*/
|
|
1150
|
+
numberStartAt?: number
|
|
1151
|
+
|
|
1152
|
+
// DEPRECATED
|
|
1153
|
+
|
|
1154
|
+
/**
|
|
1155
|
+
* Bullet code (unicode)
|
|
1156
|
+
* @deprecated v3.3.0 - use `characterCode`
|
|
1157
|
+
*/
|
|
1158
|
+
code?: string
|
|
1159
|
+
/**
|
|
1160
|
+
* Margin between bullet and text
|
|
1161
|
+
* @since v3.2.1
|
|
1162
|
+
* @deplrecated v3.3.0 - use `indent`
|
|
1163
|
+
*/
|
|
1164
|
+
marginPt?: number
|
|
1165
|
+
/**
|
|
1166
|
+
* Number to start with (only applies to type:number)
|
|
1167
|
+
* @deprecated v3.3.0 - use `numberStartAt`
|
|
1168
|
+
*/
|
|
1169
|
+
startAt?: number
|
|
1170
|
+
/**
|
|
1171
|
+
* Number type
|
|
1172
|
+
* @deprecated v3.3.0 - use `numberType`
|
|
1173
|
+
*/
|
|
1174
|
+
style?: string
|
|
1175
|
+
}
|
|
1176
|
+
/**
|
|
1177
|
+
* Text color
|
|
1178
|
+
* - `HexColor` or `ThemeColor`
|
|
1179
|
+
* - MS-PPT > Format Shape > Text Options > Text Fill & Outline > Text Fill > Color
|
|
1180
|
+
* @example 'FF0000' // hex color (red)
|
|
1181
|
+
* @example pptx.SchemeColor.text1 // Theme color (Text1)
|
|
1182
|
+
*/
|
|
1183
|
+
color?: Color
|
|
1184
|
+
/**
|
|
1185
|
+
* Font face name
|
|
1186
|
+
* @example 'Arial' // Arial font
|
|
1187
|
+
*/
|
|
1188
|
+
fontFace?: string
|
|
1189
|
+
/**
|
|
1190
|
+
* Font size
|
|
1191
|
+
* @example 12 // Font size 12
|
|
1192
|
+
*/
|
|
1193
|
+
fontSize?: number
|
|
1194
|
+
/**
|
|
1195
|
+
* Text highlight color (hex format)
|
|
1196
|
+
* @example 'FFFF00' // yellow
|
|
1197
|
+
*/
|
|
1198
|
+
highlight?: HexColor
|
|
1199
|
+
/**
|
|
1200
|
+
* italic style
|
|
1201
|
+
* @default false
|
|
1202
|
+
*/
|
|
1203
|
+
italic?: boolean
|
|
1204
|
+
/**
|
|
1205
|
+
* language
|
|
1206
|
+
* - ISO 639-1 standard language code
|
|
1207
|
+
* @default 'en-US' // english US
|
|
1208
|
+
* @example 'fr-CA' // french Canadian
|
|
1209
|
+
*/
|
|
1210
|
+
lang?: string
|
|
1211
|
+
/**
|
|
1212
|
+
* Add a soft line-break (shift+enter) before line text content
|
|
1213
|
+
* @default false
|
|
1214
|
+
* @since v3.5.0
|
|
1215
|
+
*/
|
|
1216
|
+
softBreakBefore?: boolean
|
|
1217
|
+
/**
|
|
1218
|
+
* tab stops
|
|
1219
|
+
* - PowerPoint: Paragraph > Tabs > Tab stop position
|
|
1220
|
+
* @example [{ position:1 }, { position:3 }] // Set first tab stop to 1 inch, set second tab stop to 3 inches
|
|
1221
|
+
*/
|
|
1222
|
+
tabStops?: Array<{ position: number, alignment?: 'l' | 'r' | 'ctr' | 'dec' }>
|
|
1223
|
+
/**
|
|
1224
|
+
* Transparency (percent)
|
|
1225
|
+
* - MS-PPT > Format Shape > Text Options > Text Fill & Outline > Text Fill > Transparency
|
|
1226
|
+
* - range: 0-100
|
|
1227
|
+
* @default 0
|
|
1228
|
+
*/
|
|
1229
|
+
transparency?: number
|
|
1230
|
+
/**
|
|
1231
|
+
* underline properties
|
|
1232
|
+
* - PowerPoint: Font > Color & Underline > Underline Style/Underline Color
|
|
1233
|
+
* @default (none)
|
|
1234
|
+
*/
|
|
1235
|
+
underline?: {
|
|
1236
|
+
style?:
|
|
1237
|
+
| 'dash'
|
|
1238
|
+
| 'dashHeavy'
|
|
1239
|
+
| 'dashLong'
|
|
1240
|
+
| 'dashLongHeavy'
|
|
1241
|
+
| 'dbl'
|
|
1242
|
+
| 'dotDash'
|
|
1243
|
+
| 'dotDashHeave'
|
|
1244
|
+
| 'dotDotDash'
|
|
1245
|
+
| 'dotDotDashHeavy'
|
|
1246
|
+
| 'dotted'
|
|
1247
|
+
| 'dottedHeavy'
|
|
1248
|
+
| 'heavy'
|
|
1249
|
+
| 'none'
|
|
1250
|
+
| 'sng'
|
|
1251
|
+
| 'wavy'
|
|
1252
|
+
| 'wavyDbl'
|
|
1253
|
+
| 'wavyHeavy'
|
|
1254
|
+
color?: Color
|
|
1255
|
+
}
|
|
1256
|
+
/**
|
|
1257
|
+
* vertical alignment
|
|
1258
|
+
* @default 'top'
|
|
1259
|
+
*/
|
|
1260
|
+
valign?: VAlign
|
|
1261
|
+
}
|
|
1262
|
+
export interface PlaceholderProps extends PositionProps, TextBaseProps {
|
|
1263
|
+
name: string
|
|
1264
|
+
type: PLACEHOLDER_TYPE
|
|
1265
|
+
/**
|
|
1266
|
+
* margin (points)
|
|
1267
|
+
*/
|
|
1268
|
+
margin?: Margin
|
|
1269
|
+
}
|
|
1270
|
+
export interface ObjectNameProps {
|
|
1271
|
+
/**
|
|
1272
|
+
* Object name
|
|
1273
|
+
* - used instead of default "Object N" name
|
|
1274
|
+
* - PowerPoint: Home > Arrange > Selection Pane...
|
|
1275
|
+
* @since v3.10.0
|
|
1276
|
+
* @default 'Object 1'
|
|
1277
|
+
* @example 'Antenna Design 9'
|
|
1278
|
+
*/
|
|
1279
|
+
objectName?: string
|
|
1280
|
+
}
|
|
1281
|
+
export interface ThemeProps {
|
|
1282
|
+
/**
|
|
1283
|
+
* Headings font face name
|
|
1284
|
+
* @example 'Arial Narrow'
|
|
1285
|
+
* @default 'Calibri Light'
|
|
1286
|
+
*/
|
|
1287
|
+
headFontFace?: string
|
|
1288
|
+
/**
|
|
1289
|
+
* Body font face name
|
|
1290
|
+
* @example 'Arial'
|
|
1291
|
+
* @default 'Calibri'
|
|
1292
|
+
*/
|
|
1293
|
+
bodyFontFace?: string
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
// image / media ==================================================================================
|
|
1297
|
+
export type MediaType = 'audio' | 'online' | 'video'
|
|
1298
|
+
|
|
1299
|
+
export interface ImageProps extends PositionProps, DataOrPathProps, ObjectNameProps {
|
|
1300
|
+
/**
|
|
1301
|
+
* Alt Text value ("How would you describe this object and its contents to someone who is blind?")
|
|
1302
|
+
* - PowerPoint: [right-click on an image] > "Edit Alt Text..."
|
|
1303
|
+
*/
|
|
1304
|
+
altText?: string
|
|
1305
|
+
/**
|
|
1306
|
+
* Flip horizontally?
|
|
1307
|
+
* @default false
|
|
1308
|
+
*/
|
|
1309
|
+
flipH?: boolean
|
|
1310
|
+
/**
|
|
1311
|
+
* Flip vertical?
|
|
1312
|
+
* @default false
|
|
1313
|
+
*/
|
|
1314
|
+
flipV?: boolean
|
|
1315
|
+
hyperlink?: HyperlinkProps
|
|
1316
|
+
/**
|
|
1317
|
+
* Placeholder type
|
|
1318
|
+
* - values: 'body' | 'header' | 'footer' | 'title' | et. al.
|
|
1319
|
+
* @example 'body'
|
|
1320
|
+
* @see https://docs.microsoft.com/en-us/office/vba/api/powerpoint.ppplaceholdertype
|
|
1321
|
+
*/
|
|
1322
|
+
placeholder?: string
|
|
1323
|
+
/**
|
|
1324
|
+
* Image rotation (degrees)
|
|
1325
|
+
* - range: -360 to 360
|
|
1326
|
+
* @default 0
|
|
1327
|
+
* @example 180 // rotate image 180 degrees
|
|
1328
|
+
*/
|
|
1329
|
+
rotate?: number
|
|
1330
|
+
/**
|
|
1331
|
+
* Enable image rounding
|
|
1332
|
+
* @default false
|
|
1333
|
+
*/
|
|
1334
|
+
rounding?: boolean
|
|
1335
|
+
/**
|
|
1336
|
+
* Shadow Props
|
|
1337
|
+
* - MS-PPT > Format Picture > Shadow
|
|
1338
|
+
* @example
|
|
1339
|
+
* { type: 'outer', color: '000000', opacity: 0.5, blur: 20, offset: 20, angle: 270 }
|
|
1340
|
+
*/
|
|
1341
|
+
shadow?: ShadowProps
|
|
1342
|
+
/**
|
|
1343
|
+
* Image sizing options
|
|
1344
|
+
*/
|
|
1345
|
+
sizing?: {
|
|
1346
|
+
/**
|
|
1347
|
+
* Sizing type
|
|
1348
|
+
*/
|
|
1349
|
+
type: 'contain' | 'cover' | 'crop'
|
|
1350
|
+
/**
|
|
1351
|
+
* Image width
|
|
1352
|
+
* - inches or percentage
|
|
1353
|
+
* @example 10.25 // position in inches
|
|
1354
|
+
* @example '75%' // position as percentage of slide size
|
|
1355
|
+
*/
|
|
1356
|
+
w: Coord
|
|
1357
|
+
/**
|
|
1358
|
+
* Image height
|
|
1359
|
+
* - inches or percentage
|
|
1360
|
+
* @example 10.25 // position in inches
|
|
1361
|
+
* @example '75%' // position as percentage of slide size
|
|
1362
|
+
*/
|
|
1363
|
+
h: Coord
|
|
1364
|
+
/**
|
|
1365
|
+
* Offset from left to crop image
|
|
1366
|
+
* - `crop` only
|
|
1367
|
+
* - inches or percentage
|
|
1368
|
+
* @example 10.25 // position in inches
|
|
1369
|
+
* @example '75%' // position as percentage of slide size
|
|
1370
|
+
*/
|
|
1371
|
+
x?: Coord
|
|
1372
|
+
/**
|
|
1373
|
+
* Offset from top to crop image
|
|
1374
|
+
* - `crop` only
|
|
1375
|
+
* - inches or percentage
|
|
1376
|
+
* @example 10.25 // position in inches
|
|
1377
|
+
* @example '75%' // position as percentage of slide size
|
|
1378
|
+
*/
|
|
1379
|
+
y?: Coord
|
|
1380
|
+
}
|
|
1381
|
+
/**
|
|
1382
|
+
* Transparency (percent)
|
|
1383
|
+
* - MS-PPT > Format Picture > Picture > Picture Transparency > Transparency
|
|
1384
|
+
* - range: 0-100
|
|
1385
|
+
* @default 0
|
|
1386
|
+
* @example 25 // 25% transparent
|
|
1387
|
+
*/
|
|
1388
|
+
transparency?: number
|
|
1389
|
+
}
|
|
1390
|
+
/**
|
|
1391
|
+
* Add media (audio/video) to slide
|
|
1392
|
+
* @requires either `link` or `path`
|
|
1393
|
+
*/
|
|
1394
|
+
export interface MediaProps extends PositionProps, DataOrPathProps, ObjectNameProps {
|
|
1395
|
+
/**
|
|
1396
|
+
* Media type
|
|
1397
|
+
* - Use 'online' to embed a YouTube video (only supported in recent versions of PowerPoint)
|
|
1398
|
+
*/
|
|
1399
|
+
type: MediaType
|
|
1400
|
+
/**
|
|
1401
|
+
* Cover image
|
|
1402
|
+
* @since 3.9.0
|
|
1403
|
+
* @default "play button" image, gray background
|
|
1404
|
+
*/
|
|
1405
|
+
cover?: string
|
|
1406
|
+
/**
|
|
1407
|
+
* media file extension
|
|
1408
|
+
* - use when the media file path does not already have an extension, ex: "/folder/SomeSong"
|
|
1409
|
+
* @since 3.9.0
|
|
1410
|
+
* @default extension from file provided
|
|
1411
|
+
*/
|
|
1412
|
+
extn?: string
|
|
1413
|
+
/**
|
|
1414
|
+
* video embed link
|
|
1415
|
+
* - works with YouTube
|
|
1416
|
+
* - other sites may not show correctly in PowerPoint
|
|
1417
|
+
* @example 'https://www.youtube.com/embed/Dph6ynRVyUc' // embed a youtube video
|
|
1418
|
+
*/
|
|
1419
|
+
link?: string
|
|
1420
|
+
/**
|
|
1421
|
+
* full or local path
|
|
1422
|
+
* @example 'https://freesounds/simpsons/bart.mp3' // embed mp3 audio clip from server
|
|
1423
|
+
* @example '/sounds/simpsons_haha.mp3' // embed mp3 audio clip from local directory
|
|
1424
|
+
*/
|
|
1425
|
+
path?: string
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
// shapes =========================================================================================
|
|
1429
|
+
|
|
1430
|
+
export interface ShapeProps extends PositionProps, ObjectNameProps {
|
|
1431
|
+
/**
|
|
1432
|
+
* Horizontal alignment
|
|
1433
|
+
* @default 'left'
|
|
1434
|
+
*/
|
|
1435
|
+
align?: HAlign
|
|
1436
|
+
/**
|
|
1437
|
+
* Radius (only for pptx.shapes.PIE, pptx.shapes.ARC, pptx.shapes.BLOCK_ARC)
|
|
1438
|
+
* - In the case of pptx.shapes.BLOCK_ARC you have to setup the arcThicknessRatio
|
|
1439
|
+
* - values: [0-359, 0-359]
|
|
1440
|
+
* @since v3.4.0
|
|
1441
|
+
* @default [270, 0]
|
|
1442
|
+
*/
|
|
1443
|
+
angleRange?: [number, number]
|
|
1444
|
+
/**
|
|
1445
|
+
* Radius (only for pptx.shapes.BLOCK_ARC)
|
|
1446
|
+
* - You have to setup the angleRange values too
|
|
1447
|
+
* - values: 0.0-1.0
|
|
1448
|
+
* @since v3.4.0
|
|
1449
|
+
* @default 0.5
|
|
1450
|
+
*/
|
|
1451
|
+
arcThicknessRatio?: number
|
|
1452
|
+
/**
|
|
1453
|
+
* Shape fill color properties
|
|
1454
|
+
* @example { color:'FF0000' } // hex color (red)
|
|
1455
|
+
* @example { color:'0088CC', transparency:50 } // hex color, 50% transparent
|
|
1456
|
+
* @example { color:pptx.SchemeColor.accent1 } // Theme color Accent1
|
|
1457
|
+
*/
|
|
1458
|
+
fill?: ShapeFillProps
|
|
1459
|
+
/**
|
|
1460
|
+
* Flip shape horizontally?
|
|
1461
|
+
* @default false
|
|
1462
|
+
*/
|
|
1463
|
+
flipH?: boolean
|
|
1464
|
+
/**
|
|
1465
|
+
* Flip shape vertical?
|
|
1466
|
+
* @default false
|
|
1467
|
+
*/
|
|
1468
|
+
flipV?: boolean
|
|
1469
|
+
/**
|
|
1470
|
+
* Add hyperlink to shape
|
|
1471
|
+
* @example hyperlink: { url: "https://github.com/gitbrent/pptxgenjs", tooltip: "Visit Homepage" },
|
|
1472
|
+
*/
|
|
1473
|
+
hyperlink?: HyperlinkProps
|
|
1474
|
+
/**
|
|
1475
|
+
* Line options
|
|
1476
|
+
*/
|
|
1477
|
+
line?: ShapeLineProps
|
|
1478
|
+
/**
|
|
1479
|
+
* Points (only for pptx.shapes.CUSTOM_GEOMETRY)
|
|
1480
|
+
* - type: 'arc'
|
|
1481
|
+
* - `hR` Shape Arc Height Radius
|
|
1482
|
+
* - `wR` Shape Arc Width Radius
|
|
1483
|
+
* - `stAng` Shape Arc Start Angle
|
|
1484
|
+
* - `swAng` Shape Arc Swing Angle
|
|
1485
|
+
* @see http://www.datypic.com/sc/ooxml/e-a_arcTo-1.html
|
|
1486
|
+
* @example [{ x: 0, y: 0 }, { x: 10, y: 10 }] // draw a line between those two points
|
|
1487
|
+
*/
|
|
1488
|
+
points?: Array<
|
|
1489
|
+
| { x: Coord, y: Coord, moveTo?: boolean }
|
|
1490
|
+
| { x: Coord, y: Coord, curve: { type: 'arc', hR: Coord, wR: Coord, stAng: number, swAng: number } }
|
|
1491
|
+
| { x: Coord, y: Coord, curve: { type: 'cubic', x1: Coord, y1: Coord, x2: Coord, y2: Coord } }
|
|
1492
|
+
| { x: Coord, y: Coord, curve: { type: 'quadratic', x1: Coord, y1: Coord } }
|
|
1493
|
+
| { close: true }
|
|
1494
|
+
>
|
|
1495
|
+
/**
|
|
1496
|
+
* Rounded rectangle radius (only for pptx.shapes.ROUNDED_RECTANGLE)
|
|
1497
|
+
* - values: 0.0 to 1.0
|
|
1498
|
+
* @default 0
|
|
1499
|
+
*/
|
|
1500
|
+
rectRadius?: number
|
|
1501
|
+
/**
|
|
1502
|
+
* Rotation (degrees)
|
|
1503
|
+
* - range: -360 to 360
|
|
1504
|
+
* @default 0
|
|
1505
|
+
* @example 180 // rotate 180 degrees
|
|
1506
|
+
*/
|
|
1507
|
+
rotate?: number
|
|
1508
|
+
/**
|
|
1509
|
+
* Shadow options
|
|
1510
|
+
* TODO: need new demo.js entry for shape shadow
|
|
1511
|
+
*/
|
|
1512
|
+
shadow?: ShadowProps
|
|
1513
|
+
|
|
1514
|
+
/**
|
|
1515
|
+
* @deprecated v3.3.0
|
|
1516
|
+
*/
|
|
1517
|
+
lineSize?: number
|
|
1518
|
+
/**
|
|
1519
|
+
* @deprecated v3.3.0
|
|
1520
|
+
*/
|
|
1521
|
+
lineDash?: 'dash' | 'dashDot' | 'lgDash' | 'lgDashDot' | 'lgDashDotDot' | 'solid' | 'sysDash' | 'sysDot'
|
|
1522
|
+
/**
|
|
1523
|
+
* @deprecated v3.3.0
|
|
1524
|
+
*/
|
|
1525
|
+
lineHead?: 'arrow' | 'diamond' | 'none' | 'oval' | 'stealth' | 'triangle'
|
|
1526
|
+
/**
|
|
1527
|
+
* @deprecated v3.3.0
|
|
1528
|
+
*/
|
|
1529
|
+
lineTail?: 'arrow' | 'diamond' | 'none' | 'oval' | 'stealth' | 'triangle'
|
|
1530
|
+
/**
|
|
1531
|
+
* Shape name (used instead of default "Shape N" name)
|
|
1532
|
+
* @deprecated v3.10.0 - use `objectName`
|
|
1533
|
+
*/
|
|
1534
|
+
shapeName?: string
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
// tables =========================================================================================
|
|
1538
|
+
|
|
1539
|
+
export interface TableToSlidesProps extends TableProps {
|
|
1540
|
+
//_arrObjTabHeadRows?: TableRow[]
|
|
1541
|
+
// _masterSlide?: SlideLayout
|
|
1542
|
+
|
|
1543
|
+
/**
|
|
1544
|
+
* Add an image to slide(s) created during autopaging
|
|
1545
|
+
* - `image` prop requires either `path` or `data`
|
|
1546
|
+
* - see `DataOrPathProps` for details on `image` props
|
|
1547
|
+
* - see `PositionProps` for details on `options` props
|
|
1548
|
+
*/
|
|
1549
|
+
addImage?: { image: DataOrPathProps, options: PositionProps }
|
|
1550
|
+
/**
|
|
1551
|
+
* Add a shape to slide(s) created during autopaging
|
|
1552
|
+
*/
|
|
1553
|
+
addShape?: { shapeName: SHAPE_NAME, options: ShapeProps }
|
|
1554
|
+
/**
|
|
1555
|
+
* Add a table to slide(s) created during autopaging
|
|
1556
|
+
*/
|
|
1557
|
+
addTable?: { rows: TableRow[], options: TableProps }
|
|
1558
|
+
/**
|
|
1559
|
+
* Add a text object to slide(s) created during autopaging
|
|
1560
|
+
*/
|
|
1561
|
+
addText?: { text: TextProps[], options: TextPropsOptions }
|
|
1562
|
+
/**
|
|
1563
|
+
* Whether to enable auto-paging
|
|
1564
|
+
* - auto-paging creates new slides as content overflows a slide
|
|
1565
|
+
* @default true
|
|
1566
|
+
*/
|
|
1567
|
+
autoPage?: boolean
|
|
1568
|
+
/**
|
|
1569
|
+
* Auto-paging character weight
|
|
1570
|
+
* - adjusts how many characters are used before lines wrap
|
|
1571
|
+
* - range: -1.0 to 1.0
|
|
1572
|
+
* @see https://gitbrent.github.io/PptxGenJS/docs/api-tables.html
|
|
1573
|
+
* @default 0.0
|
|
1574
|
+
* @example 0.5 // lines are longer (increases the number of characters that can fit on a given line)
|
|
1575
|
+
*/
|
|
1576
|
+
autoPageCharWeight?: number
|
|
1577
|
+
/**
|
|
1578
|
+
* Auto-paging line weight
|
|
1579
|
+
* - adjusts how many lines are used before slides wrap
|
|
1580
|
+
* - range: -1.0 to 1.0
|
|
1581
|
+
* @see https://gitbrent.github.io/PptxGenJS/docs/api-tables.html
|
|
1582
|
+
* @default 0.0
|
|
1583
|
+
* @example 0.5 // tables are taller (increases the number of lines that can fit on a given slide)
|
|
1584
|
+
*/
|
|
1585
|
+
autoPageLineWeight?: number
|
|
1586
|
+
/**
|
|
1587
|
+
* Whether to repeat head row(s) on new tables created by autopaging
|
|
1588
|
+
* @since v3.3.0
|
|
1589
|
+
* @default false
|
|
1590
|
+
*/
|
|
1591
|
+
autoPageRepeatHeader?: boolean
|
|
1592
|
+
/**
|
|
1593
|
+
* The `y` location to use on subsequent slides created by autopaging
|
|
1594
|
+
* @default (top margin of Slide)
|
|
1595
|
+
*/
|
|
1596
|
+
autoPageSlideStartY?: number
|
|
1597
|
+
/**
|
|
1598
|
+
* Column widths (inches)
|
|
1599
|
+
*/
|
|
1600
|
+
colW?: number | number[]
|
|
1601
|
+
/**
|
|
1602
|
+
* Master slide name
|
|
1603
|
+
* - define a master slide to have your auto-paged slides have corporate design, etc.
|
|
1604
|
+
* @see https://gitbrent.github.io/PptxGenJS/docs/masters.html
|
|
1605
|
+
*/
|
|
1606
|
+
masterSlideName?: string
|
|
1607
|
+
/**
|
|
1608
|
+
* Slide margin
|
|
1609
|
+
* - this margin will be across all slides created by auto-paging
|
|
1610
|
+
*/
|
|
1611
|
+
slideMargin?: Margin
|
|
1612
|
+
|
|
1613
|
+
/**
|
|
1614
|
+
* @deprecated v3.3.0 - use `autoPageRepeatHeader`
|
|
1615
|
+
*/
|
|
1616
|
+
addHeaderToEach?: boolean
|
|
1617
|
+
/**
|
|
1618
|
+
* @deprecated v3.3.0 - use `autoPageSlideStartY`
|
|
1619
|
+
*/
|
|
1620
|
+
newSlideStartY?: number
|
|
1621
|
+
}
|
|
1622
|
+
export interface TableCellProps extends TextBaseProps {
|
|
1623
|
+
/**
|
|
1624
|
+
* Auto-paging character weight
|
|
1625
|
+
* - adjusts how many characters are used before lines wrap
|
|
1626
|
+
* - range: -1.0 to 1.0
|
|
1627
|
+
* @see https://gitbrent.github.io/PptxGenJS/docs/api-tables.html
|
|
1628
|
+
* @default 0.0
|
|
1629
|
+
* @example 0.5 // lines are longer (increases the number of characters that can fit on a given line)
|
|
1630
|
+
*/
|
|
1631
|
+
autoPageCharWeight?: number
|
|
1632
|
+
/**
|
|
1633
|
+
* Auto-paging line weight
|
|
1634
|
+
* - adjusts how many lines are used before slides wrap
|
|
1635
|
+
* - range: -1.0 to 1.0
|
|
1636
|
+
* @see https://gitbrent.github.io/PptxGenJS/docs/api-tables.html
|
|
1637
|
+
* @default 0.0
|
|
1638
|
+
* @example 0.5 // tables are taller (increases the number of lines that can fit on a given slide)
|
|
1639
|
+
*/
|
|
1640
|
+
autoPageLineWeight?: number
|
|
1641
|
+
/**
|
|
1642
|
+
* Cell border
|
|
1643
|
+
*/
|
|
1644
|
+
border?: BorderProps | [BorderProps, BorderProps, BorderProps, BorderProps]
|
|
1645
|
+
/**
|
|
1646
|
+
* Cell colspan
|
|
1647
|
+
*/
|
|
1648
|
+
colspan?: number
|
|
1649
|
+
/**
|
|
1650
|
+
* Fill color
|
|
1651
|
+
* @example { color:'FF0000' } // hex color (red)
|
|
1652
|
+
* @example { color:'0088CC', transparency:50 } // hex color, 50% transparent
|
|
1653
|
+
* @example { color:pptx.SchemeColor.accent1 } // theme color Accent1
|
|
1654
|
+
*/
|
|
1655
|
+
fill?: ShapeFillProps
|
|
1656
|
+
hyperlink?: HyperlinkProps
|
|
1657
|
+
/**
|
|
1658
|
+
* Cell margin (inches)
|
|
1659
|
+
* @default 0
|
|
1660
|
+
*/
|
|
1661
|
+
margin?: Margin
|
|
1662
|
+
/**
|
|
1663
|
+
* Cell rowspan
|
|
1664
|
+
*/
|
|
1665
|
+
rowspan?: number
|
|
1666
|
+
}
|
|
1667
|
+
export interface TableProps extends PositionProps, TextBaseProps, ObjectNameProps {
|
|
1668
|
+
//_arrObjTabHeadRows?: TableRow[]
|
|
1669
|
+
|
|
1670
|
+
/**
|
|
1671
|
+
* Whether to enable auto-paging
|
|
1672
|
+
* - auto-paging creates new slides as content overflows a slide
|
|
1673
|
+
* @default false
|
|
1674
|
+
*/
|
|
1675
|
+
autoPage?: boolean
|
|
1676
|
+
/**
|
|
1677
|
+
* Auto-paging character weight
|
|
1678
|
+
* - adjusts how many characters are used before lines wrap
|
|
1679
|
+
* - range: -1.0 to 1.0
|
|
1680
|
+
* @see https://gitbrent.github.io/PptxGenJS/docs/api-tables.html
|
|
1681
|
+
* @default 0.0
|
|
1682
|
+
* @example 0.5 // lines are longer (increases the number of characters that can fit on a given line)
|
|
1683
|
+
*/
|
|
1684
|
+
autoPageCharWeight?: number
|
|
1685
|
+
/**
|
|
1686
|
+
* Auto-paging line weight
|
|
1687
|
+
* - adjusts how many lines are used before slides wrap
|
|
1688
|
+
* - range: -1.0 to 1.0
|
|
1689
|
+
* @see https://gitbrent.github.io/PptxGenJS/docs/api-tables.html
|
|
1690
|
+
* @default 0.0
|
|
1691
|
+
* @example 0.5 // tables are taller (increases the number of lines that can fit on a given slide)
|
|
1692
|
+
*/
|
|
1693
|
+
autoPageLineWeight?: number
|
|
1694
|
+
/**
|
|
1695
|
+
* Whether table header row(s) should be repeated on each new slide creating by autoPage.
|
|
1696
|
+
* Use `autoPageHeaderRows` to designate how many rows comprise the table header (1+).
|
|
1697
|
+
* @default false
|
|
1698
|
+
* @since v3.3.0
|
|
1699
|
+
*/
|
|
1700
|
+
autoPageRepeatHeader?: boolean
|
|
1701
|
+
/**
|
|
1702
|
+
* Number of rows that comprise table headers
|
|
1703
|
+
* - required when `autoPageRepeatHeader` is set to true.
|
|
1704
|
+
* @example 2 - repeats the first two table rows on each new slide created
|
|
1705
|
+
* @default 1
|
|
1706
|
+
* @since v3.3.0
|
|
1707
|
+
*/
|
|
1708
|
+
autoPageHeaderRows?: number
|
|
1709
|
+
/**
|
|
1710
|
+
* The `y` location to use on subsequent slides created by autopaging
|
|
1711
|
+
* @default (top margin of Slide)
|
|
1712
|
+
*/
|
|
1713
|
+
autoPageSlideStartY?: number
|
|
1714
|
+
/**
|
|
1715
|
+
* Table border
|
|
1716
|
+
* - single value is applied to all 4 sides
|
|
1717
|
+
* - array of values in TRBL order for individual sides
|
|
1718
|
+
*/
|
|
1719
|
+
border?: BorderProps | [BorderProps, BorderProps, BorderProps, BorderProps]
|
|
1720
|
+
/**
|
|
1721
|
+
* Width of table columns (inches)
|
|
1722
|
+
* - single value is applied to every column equally based upon `w`
|
|
1723
|
+
* - array of values in applied to each column in order
|
|
1724
|
+
* @default columns of equal width based upon `w`
|
|
1725
|
+
*/
|
|
1726
|
+
colW?: number | number[]
|
|
1727
|
+
/**
|
|
1728
|
+
* Cell background color
|
|
1729
|
+
* @example { color:'FF0000' } // hex color (red)
|
|
1730
|
+
* @example { color:'0088CC', transparency:50 } // hex color, 50% transparent
|
|
1731
|
+
* @example { color:pptx.SchemeColor.accent1 } // theme color Accent1
|
|
1732
|
+
*/
|
|
1733
|
+
fill?: ShapeFillProps
|
|
1734
|
+
/**
|
|
1735
|
+
* Cell margin (inches)
|
|
1736
|
+
* - affects all table cells, is superceded by cell options
|
|
1737
|
+
*/
|
|
1738
|
+
margin?: Margin
|
|
1739
|
+
/**
|
|
1740
|
+
* Height of table rows (inches)
|
|
1741
|
+
* - single value is applied to every row equally based upon `h`
|
|
1742
|
+
* - array of values in applied to each row in order
|
|
1743
|
+
* @default rows of equal height based upon `h`
|
|
1744
|
+
*/
|
|
1745
|
+
rowH?: number | number[]
|
|
1746
|
+
/**
|
|
1747
|
+
* DEV TOOL: Verbose Mode (to console)
|
|
1748
|
+
* - tell the library to provide an almost ridiculous amount of detail during auto-paging calculations
|
|
1749
|
+
* @default false // obviously
|
|
1750
|
+
*/
|
|
1751
|
+
verbose?: boolean // Undocumented; shows verbose output
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* @deprecated v3.3.0 - use `autoPageSlideStartY`
|
|
1755
|
+
*/
|
|
1756
|
+
newSlideStartY?: number
|
|
1757
|
+
}
|
|
1758
|
+
export interface TableCell {
|
|
1759
|
+
text?: string | TableCell[]
|
|
1760
|
+
options?: TableCellProps
|
|
1761
|
+
}
|
|
1762
|
+
export interface TableRowSlide {
|
|
1763
|
+
rows: TableRow[]
|
|
1764
|
+
}
|
|
1765
|
+
export type TableRow = TableCell[]
|
|
1766
|
+
|
|
1767
|
+
// text ===========================================================================================
|
|
1768
|
+
export interface TextGlowProps {
|
|
1769
|
+
/**
|
|
1770
|
+
* Border color (hex format)
|
|
1771
|
+
* @example 'FF3399'
|
|
1772
|
+
*/
|
|
1773
|
+
color?: HexColor
|
|
1774
|
+
/**
|
|
1775
|
+
* opacity (0.0 - 1.0)
|
|
1776
|
+
* @example 0.5
|
|
1777
|
+
* 50% opaque
|
|
1778
|
+
*/
|
|
1779
|
+
opacity: number
|
|
1780
|
+
/**
|
|
1781
|
+
* size (points)
|
|
1782
|
+
*/
|
|
1783
|
+
size: number
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
export interface TextPropsOptions extends PositionProps, DataOrPathProps, TextBaseProps, ObjectNameProps {
|
|
1787
|
+
baseline?: number
|
|
1788
|
+
/**
|
|
1789
|
+
* Character spacing
|
|
1790
|
+
*/
|
|
1791
|
+
charSpacing?: number
|
|
1792
|
+
/**
|
|
1793
|
+
* Text fit options
|
|
1794
|
+
*
|
|
1795
|
+
* MS-PPT > Format Shape > Shape Options > Text Box > "[unlabeled group]": [3 options below]
|
|
1796
|
+
* - 'none' = Do not Autofit
|
|
1797
|
+
* - 'shrink' = Shrink text on overflow
|
|
1798
|
+
* - 'resize' = Resize shape to fit text
|
|
1799
|
+
*
|
|
1800
|
+
* **Note** 'shrink' and 'resize' only take effect after editing text/resize shape.
|
|
1801
|
+
* Both PowerPoint and Word dynamically calculate a scaling factor and apply it when edit/resize occurs.
|
|
1802
|
+
*
|
|
1803
|
+
* There is no way for this library to trigger that behavior, sorry.
|
|
1804
|
+
* @since v3.3.0
|
|
1805
|
+
* @default "none"
|
|
1806
|
+
*/
|
|
1807
|
+
fit?: 'none' | 'shrink' | 'resize'
|
|
1808
|
+
/**
|
|
1809
|
+
* Shape fill
|
|
1810
|
+
* @example { color:'FF0000' } // hex color (red)
|
|
1811
|
+
* @example { color:'0088CC', transparency:50 } // hex color, 50% transparent
|
|
1812
|
+
* @example { color:pptx.SchemeColor.accent1 } // theme color Accent1
|
|
1813
|
+
*/
|
|
1814
|
+
fill?: ShapeFillProps
|
|
1815
|
+
/**
|
|
1816
|
+
* Flip shape horizontally?
|
|
1817
|
+
* @default false
|
|
1818
|
+
*/
|
|
1819
|
+
flipH?: boolean
|
|
1820
|
+
/**
|
|
1821
|
+
* Flip shape vertical?
|
|
1822
|
+
* @default false
|
|
1823
|
+
*/
|
|
1824
|
+
flipV?: boolean
|
|
1825
|
+
glow?: TextGlowProps
|
|
1826
|
+
hyperlink?: HyperlinkProps
|
|
1827
|
+
indentLevel?: number
|
|
1828
|
+
isTextBox?: boolean
|
|
1829
|
+
line?: ShapeLineProps
|
|
1830
|
+
/**
|
|
1831
|
+
* Line spacing (pt)
|
|
1832
|
+
* - PowerPoint: Paragraph > Indents and Spacing > Line Spacing: > "Exactly"
|
|
1833
|
+
* @example 28 // 28pt
|
|
1834
|
+
*/
|
|
1835
|
+
lineSpacing?: number
|
|
1836
|
+
/**
|
|
1837
|
+
* line spacing multiple (percent)
|
|
1838
|
+
* - range: 0.0-9.99
|
|
1839
|
+
* - PowerPoint: Paragraph > Indents and Spacing > Line Spacing: > "Multiple"
|
|
1840
|
+
* @example 1.5 // 1.5X line spacing
|
|
1841
|
+
* @since v3.5.0
|
|
1842
|
+
*/
|
|
1843
|
+
lineSpacingMultiple?: number
|
|
1844
|
+
// TODO: [20220219] powerpoint uses inches but library has always been pt... @future @deprecated - update in v4.0? [range: 0.0-22.0]
|
|
1845
|
+
/**
|
|
1846
|
+
* Margin (points)
|
|
1847
|
+
* - PowerPoint: Format Shape > Shape Options > Size & Properties > Text Box > Left/Right/Top/Bottom margin
|
|
1848
|
+
* @default "Normal" margin in PowerPoint [3.5, 7.0, 3.5, 7.0] // (this library sets no value, but PowerPoint defaults to "Normal" [0.05", 0.1", 0.05", 0.1"])
|
|
1849
|
+
* @example 0 // Top/Right/Bottom/Left margin 0 [0.0" in powerpoint]
|
|
1850
|
+
* @example 10 // Top/Right/Bottom/Left margin 10 [0.14" in powerpoint]
|
|
1851
|
+
* @example [10,5,10,5] // Top margin 10, Right margin 5, Bottom margin 10, Left margin 5
|
|
1852
|
+
*/
|
|
1853
|
+
margin?: Margin
|
|
1854
|
+
outline?: { color: Color, size: number }
|
|
1855
|
+
paraSpaceAfter?: number
|
|
1856
|
+
paraSpaceBefore?: number
|
|
1857
|
+
placeholder?: string
|
|
1858
|
+
/**
|
|
1859
|
+
* Rounded rectangle radius (only for pptx.shapes.ROUNDED_RECTANGLE)
|
|
1860
|
+
* - values: 0.0 to 1.0
|
|
1861
|
+
* @default 0
|
|
1862
|
+
*/
|
|
1863
|
+
rectRadius?: number
|
|
1864
|
+
/**
|
|
1865
|
+
* Rotation (degrees)
|
|
1866
|
+
* - range: -360 to 360
|
|
1867
|
+
* @default 0
|
|
1868
|
+
* @example 180 // rotate 180 degrees
|
|
1869
|
+
*/
|
|
1870
|
+
rotate?: number
|
|
1871
|
+
/**
|
|
1872
|
+
* Whether to enable right-to-left mode
|
|
1873
|
+
* @default false
|
|
1874
|
+
*/
|
|
1875
|
+
rtlMode?: boolean
|
|
1876
|
+
shadow?: ShadowProps
|
|
1877
|
+
shape?: SHAPE_NAME
|
|
1878
|
+
strike?: boolean | 'dblStrike' | 'sngStrike'
|
|
1879
|
+
subscript?: boolean
|
|
1880
|
+
superscript?: boolean
|
|
1881
|
+
/**
|
|
1882
|
+
* Vertical alignment
|
|
1883
|
+
* @default middle
|
|
1884
|
+
*/
|
|
1885
|
+
valign?: VAlign
|
|
1886
|
+
vert?: 'eaVert' | 'horz' | 'mongolianVert' | 'vert' | 'vert270' | 'wordArtVert' | 'wordArtVertRtl'
|
|
1887
|
+
/**
|
|
1888
|
+
* Text wrap
|
|
1889
|
+
* @since v3.3.0
|
|
1890
|
+
* @default true
|
|
1891
|
+
*/
|
|
1892
|
+
wrap?: boolean
|
|
1893
|
+
|
|
1894
|
+
/**
|
|
1895
|
+
* Whether "Fit to Shape?" is enabled
|
|
1896
|
+
* @deprecated v3.3.0 - use `fit`
|
|
1897
|
+
*/
|
|
1898
|
+
autoFit?: boolean
|
|
1899
|
+
/**
|
|
1900
|
+
* Whather "Shrink Text on Overflow?" is enabled
|
|
1901
|
+
* @deprecated v3.3.0 - use `fit`
|
|
1902
|
+
*/
|
|
1903
|
+
shrinkText?: boolean
|
|
1904
|
+
/**
|
|
1905
|
+
* Inset
|
|
1906
|
+
* @deprecated v3.10.0 - use `margin`
|
|
1907
|
+
*/
|
|
1908
|
+
inset?: number
|
|
1909
|
+
/**
|
|
1910
|
+
* Dash type
|
|
1911
|
+
* @deprecated v3.3.0 - use `line.dashType`
|
|
1912
|
+
*/
|
|
1913
|
+
lineDash?: 'solid' | 'dash' | 'dashDot' | 'lgDash' | 'lgDashDot' | 'lgDashDotDot' | 'sysDash' | 'sysDot'
|
|
1914
|
+
/**
|
|
1915
|
+
* @deprecated v3.3.0 - use `line.beginArrowType`
|
|
1916
|
+
*/
|
|
1917
|
+
lineHead?: 'none' | 'arrow' | 'diamond' | 'oval' | 'stealth' | 'triangle'
|
|
1918
|
+
/**
|
|
1919
|
+
* @deprecated v3.3.0 - use `line.width`
|
|
1920
|
+
*/
|
|
1921
|
+
lineSize?: number
|
|
1922
|
+
/**
|
|
1923
|
+
* @deprecated v3.3.0 - use `line.endArrowType`
|
|
1924
|
+
*/
|
|
1925
|
+
lineTail?: 'none' | 'arrow' | 'diamond' | 'oval' | 'stealth' | 'triangle'
|
|
1926
|
+
}
|
|
1927
|
+
export interface TextProps {
|
|
1928
|
+
text?: string
|
|
1929
|
+
options?: TextPropsOptions
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1932
|
+
// charts =========================================================================================
|
|
1933
|
+
// FUTURE: BREAKING-CHANGE: (soln: use `OptsDataLabelPosition|string` until 3.5/4.0)
|
|
1934
|
+
/*
|
|
1935
|
+
export interface OptsDataLabelPosition {
|
|
1936
|
+
pie: 'ctr' | 'inEnd' | 'outEnd' | 'bestFit'
|
|
1937
|
+
scatter: 'b' | 'ctr' | 'l' | 'r' | 't'
|
|
1938
|
+
// TODO: add all othere chart types
|
|
1939
|
+
}
|
|
1940
|
+
*/
|
|
1941
|
+
|
|
1942
|
+
export type ChartAxisTickMark = 'none' | 'inside' | 'outside' | 'cross'
|
|
1943
|
+
export type ChartLineCap = 'flat' | 'round' | 'square'
|
|
1944
|
+
|
|
1945
|
+
export interface OptsChartData {
|
|
1946
|
+
//_dataIndex?: number
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
* category labels
|
|
1950
|
+
* @example ['Year 2000', 'Year 2010', 'Year 2020'] // single-level category axes labels
|
|
1951
|
+
* @example [['Year 2000', 'Year 2010', 'Year 2020'], ['Decades', '', '']] // multi-level category axes labels
|
|
1952
|
+
* @since `labels` string[][] type added v3.11.0
|
|
1953
|
+
*/
|
|
1954
|
+
labels?: string[] | string[][]
|
|
1955
|
+
/**
|
|
1956
|
+
* series name
|
|
1957
|
+
* @example 'Locations'
|
|
1958
|
+
*/
|
|
1959
|
+
name?: string
|
|
1960
|
+
/**
|
|
1961
|
+
* bubble sizes
|
|
1962
|
+
* @example [5, 1, 5, 1]
|
|
1963
|
+
*/
|
|
1964
|
+
sizes?: number[]
|
|
1965
|
+
/**
|
|
1966
|
+
* category values
|
|
1967
|
+
* @example [2000, 2010, 2020]
|
|
1968
|
+
*/
|
|
1969
|
+
values?: number[]
|
|
1970
|
+
/**
|
|
1971
|
+
* Override `chartColors`
|
|
1972
|
+
*/
|
|
1973
|
+
//color?: string // TODO: WIP: (Pull #727)
|
|
1974
|
+
}
|
|
1975
|
+
export interface OptsChartGridLine {
|
|
1976
|
+
/**
|
|
1977
|
+
* MS-PPT > Chart format > Format Major Gridlines > Line > Cap type
|
|
1978
|
+
* - line cap type
|
|
1979
|
+
* @default flat
|
|
1980
|
+
*/
|
|
1981
|
+
cap?: ChartLineCap
|
|
1982
|
+
/**
|
|
1983
|
+
* Gridline color (hex)
|
|
1984
|
+
* @example 'FF3399'
|
|
1985
|
+
*/
|
|
1986
|
+
color?: HexColor
|
|
1987
|
+
/**
|
|
1988
|
+
* Gridline size (points)
|
|
1989
|
+
*/
|
|
1990
|
+
size?: number
|
|
1991
|
+
/**
|
|
1992
|
+
* Gridline style
|
|
1993
|
+
*/
|
|
1994
|
+
style?: 'solid' | 'dash' | 'dot' | 'none'
|
|
1995
|
+
}
|
|
1996
|
+
// TODO: 202008: chart types remain with predicated with "I" in v3.3.0 (ran out of time!)
|
|
1997
|
+
export interface IChartMulti {
|
|
1998
|
+
type: CHART_NAME
|
|
1999
|
+
data: OptsChartData[]
|
|
2000
|
+
options: IChartOpts
|
|
2001
|
+
}
|
|
2002
|
+
export interface IChartPropsFillLine {
|
|
2003
|
+
/**
|
|
2004
|
+
* PowerPoint: Format Chart Area/Plot > Border ["Line"]
|
|
2005
|
+
* @example border: {color: 'FF0000', pt: 1} // hex RGB color, 1 pt line
|
|
2006
|
+
*/
|
|
2007
|
+
border?: BorderProps
|
|
2008
|
+
/**
|
|
2009
|
+
* PowerPoint: Format Chart Area/Plot Area > Fill
|
|
2010
|
+
* @example fill: {color: '696969'} // hex RGB color value
|
|
2011
|
+
* @example fill: {color: pptx.SchemeColor.background2} // Theme color value
|
|
2012
|
+
* @example fill: {transparency: 50} // 50% transparency
|
|
2013
|
+
*/
|
|
2014
|
+
fill?: ShapeFillProps
|
|
2015
|
+
}
|
|
2016
|
+
export interface IChartAreaProps extends IChartPropsFillLine {
|
|
2017
|
+
/**
|
|
2018
|
+
* Whether the chart area has rounded corners
|
|
2019
|
+
* - only applies when either `fill` or `border` is used
|
|
2020
|
+
* @default true
|
|
2021
|
+
* @since v3.11
|
|
2022
|
+
*/
|
|
2023
|
+
roundedCorners?: boolean
|
|
2024
|
+
}
|
|
2025
|
+
export interface IChartPropsBase {
|
|
2026
|
+
/**
|
|
2027
|
+
* Axis position
|
|
2028
|
+
*/
|
|
2029
|
+
axisPos?: 'b' | 'l' | 'r' | 't'
|
|
2030
|
+
chartColors?: HexColor[]
|
|
2031
|
+
/**
|
|
2032
|
+
* opacity (0 - 100)
|
|
2033
|
+
* @example 50 // 50% opaque
|
|
2034
|
+
*/
|
|
2035
|
+
chartColorsOpacity?: number
|
|
2036
|
+
dataBorder?: BorderProps
|
|
2037
|
+
displayBlanksAs?: string
|
|
2038
|
+
invertedColors?: HexColor[]
|
|
2039
|
+
lang?: string
|
|
2040
|
+
layout?: PositionProps
|
|
2041
|
+
shadow?: ShadowProps
|
|
2042
|
+
/**
|
|
2043
|
+
* @default false
|
|
2044
|
+
*/
|
|
2045
|
+
showLabel?: boolean
|
|
2046
|
+
showLeaderLines?: boolean
|
|
2047
|
+
/**
|
|
2048
|
+
* @default false
|
|
2049
|
+
*/
|
|
2050
|
+
showLegend?: boolean
|
|
2051
|
+
/**
|
|
2052
|
+
* @default false
|
|
2053
|
+
*/
|
|
2054
|
+
showPercent?: boolean
|
|
2055
|
+
/**
|
|
2056
|
+
* @default false
|
|
2057
|
+
*/
|
|
2058
|
+
showSerName?: boolean
|
|
2059
|
+
/**
|
|
2060
|
+
* @default false
|
|
2061
|
+
*/
|
|
2062
|
+
showTitle?: boolean
|
|
2063
|
+
/**
|
|
2064
|
+
* @default false
|
|
2065
|
+
*/
|
|
2066
|
+
showValue?: boolean
|
|
2067
|
+
/**
|
|
2068
|
+
* 3D Perspecitve
|
|
2069
|
+
* - range: 0-120
|
|
2070
|
+
* @default 30
|
|
2071
|
+
*/
|
|
2072
|
+
v3DPerspective?: number
|
|
2073
|
+
/**
|
|
2074
|
+
* Right Angle Axes
|
|
2075
|
+
* - Shows chart from first-person perspective
|
|
2076
|
+
* - Overrides `v3DPerspective` when true
|
|
2077
|
+
* - PowerPoint: Chart Options > 3-D Rotation
|
|
2078
|
+
* @default false
|
|
2079
|
+
*/
|
|
2080
|
+
v3DRAngAx?: boolean
|
|
2081
|
+
/**
|
|
2082
|
+
* X Rotation
|
|
2083
|
+
* - PowerPoint: Chart Options > 3-D Rotation
|
|
2084
|
+
* - range: 0-359.9
|
|
2085
|
+
* @default 30
|
|
2086
|
+
*/
|
|
2087
|
+
v3DRotX?: number
|
|
2088
|
+
/**
|
|
2089
|
+
* Y Rotation
|
|
2090
|
+
* - range: 0-359.9
|
|
2091
|
+
* @default 30
|
|
2092
|
+
*/
|
|
2093
|
+
v3DRotY?: number
|
|
2094
|
+
|
|
2095
|
+
/**
|
|
2096
|
+
* PowerPoint: Format Chart Area (Fill & Border/Line)
|
|
2097
|
+
* @since v3.11
|
|
2098
|
+
*/
|
|
2099
|
+
chartArea?: IChartAreaProps
|
|
2100
|
+
/**
|
|
2101
|
+
* PowerPoint: Format Plot Area (Fill & Border/Line)
|
|
2102
|
+
* @since v3.11
|
|
2103
|
+
*/
|
|
2104
|
+
plotArea?: IChartPropsFillLine
|
|
2105
|
+
|
|
2106
|
+
/**
|
|
2107
|
+
* @deprecated v3.11.0 - use `plotArea.border`
|
|
2108
|
+
*/
|
|
2109
|
+
border?: BorderProps
|
|
2110
|
+
/**
|
|
2111
|
+
* @deprecated v3.11.0 - use `plotArea.fill`
|
|
2112
|
+
*/
|
|
2113
|
+
fill?: HexColor
|
|
2114
|
+
}
|
|
2115
|
+
export interface IChartPropsAxisCat {
|
|
2116
|
+
/**
|
|
2117
|
+
* Multi-Chart prop: array of cat axes
|
|
2118
|
+
*/
|
|
2119
|
+
catAxes?: IChartPropsAxisCat[]
|
|
2120
|
+
catAxisBaseTimeUnit?: string
|
|
2121
|
+
catAxisCrossesAt?: number | 'autoZero'
|
|
2122
|
+
catAxisHidden?: boolean
|
|
2123
|
+
catAxisLabelColor?: string
|
|
2124
|
+
catAxisLabelFontBold?: boolean
|
|
2125
|
+
catAxisLabelFontFace?: string
|
|
2126
|
+
catAxisLabelFontItalic?: boolean
|
|
2127
|
+
catAxisLabelFontSize?: number
|
|
2128
|
+
catAxisLabelFrequency?: string
|
|
2129
|
+
catAxisLabelPos?: 'none' | 'low' | 'high' | 'nextTo'
|
|
2130
|
+
catAxisLabelRotate?: number
|
|
2131
|
+
catAxisLineColor?: string
|
|
2132
|
+
catAxisLineShow?: boolean
|
|
2133
|
+
catAxisLineSize?: number
|
|
2134
|
+
catAxisLineStyle?: 'solid' | 'dash' | 'dot'
|
|
2135
|
+
catAxisMajorTickMark?: ChartAxisTickMark
|
|
2136
|
+
catAxisMajorTimeUnit?: string
|
|
2137
|
+
catAxisMajorUnit?: number
|
|
2138
|
+
catAxisMaxVal?: number
|
|
2139
|
+
catAxisMinorTickMark?: ChartAxisTickMark
|
|
2140
|
+
catAxisMinorTimeUnit?: string
|
|
2141
|
+
catAxisMinorUnit?: number
|
|
2142
|
+
catAxisMinVal?: number
|
|
2143
|
+
/** @since v3.11.0 */
|
|
2144
|
+
catAxisMultiLevelLabels?: boolean
|
|
2145
|
+
catAxisOrientation?: 'minMax'
|
|
2146
|
+
catAxisTitle?: string
|
|
2147
|
+
catAxisTitleColor?: string
|
|
2148
|
+
catAxisTitleFontFace?: string
|
|
2149
|
+
catAxisTitleFontSize?: number
|
|
2150
|
+
catAxisTitleRotate?: number
|
|
2151
|
+
catGridLine?: OptsChartGridLine
|
|
2152
|
+
catLabelFormatCode?: string
|
|
2153
|
+
/**
|
|
2154
|
+
* Whether data should use secondary category axis (instead of primary)
|
|
2155
|
+
* @default false
|
|
2156
|
+
*/
|
|
2157
|
+
secondaryCatAxis?: boolean
|
|
2158
|
+
showCatAxisTitle?: boolean
|
|
2159
|
+
}
|
|
2160
|
+
export interface IChartPropsAxisSer {
|
|
2161
|
+
serAxisBaseTimeUnit?: string
|
|
2162
|
+
serAxisHidden?: boolean
|
|
2163
|
+
serAxisLabelColor?: string
|
|
2164
|
+
serAxisLabelFontBold?: boolean
|
|
2165
|
+
serAxisLabelFontFace?: string
|
|
2166
|
+
serAxisLabelFontItalic?: boolean
|
|
2167
|
+
serAxisLabelFontSize?: number
|
|
2168
|
+
serAxisLabelFrequency?: string
|
|
2169
|
+
serAxisLabelPos?: 'none' | 'low' | 'high' | 'nextTo'
|
|
2170
|
+
serAxisLineColor?: string
|
|
2171
|
+
serAxisLineShow?: boolean
|
|
2172
|
+
serAxisMajorTimeUnit?: string
|
|
2173
|
+
serAxisMajorUnit?: number
|
|
2174
|
+
serAxisMinorTimeUnit?: string
|
|
2175
|
+
serAxisMinorUnit?: number
|
|
2176
|
+
serAxisOrientation?: string
|
|
2177
|
+
serAxisTitle?: string
|
|
2178
|
+
serAxisTitleColor?: string
|
|
2179
|
+
serAxisTitleFontFace?: string
|
|
2180
|
+
serAxisTitleFontSize?: number
|
|
2181
|
+
serAxisTitleRotate?: number
|
|
2182
|
+
serGridLine?: OptsChartGridLine
|
|
2183
|
+
serLabelFormatCode?: string
|
|
2184
|
+
showSerAxisTitle?: boolean
|
|
2185
|
+
}
|
|
2186
|
+
export interface IChartPropsAxisVal {
|
|
2187
|
+
/**
|
|
2188
|
+
* Whether data should use secondary value axis (instead of primary)
|
|
2189
|
+
* @default false
|
|
2190
|
+
*/
|
|
2191
|
+
secondaryValAxis?: boolean
|
|
2192
|
+
showValAxisTitle?: boolean
|
|
2193
|
+
/**
|
|
2194
|
+
* Multi-Chart prop: array of val axes
|
|
2195
|
+
*/
|
|
2196
|
+
valAxes?: IChartPropsAxisVal[]
|
|
2197
|
+
valAxisCrossesAt?: number | 'autoZero'
|
|
2198
|
+
valAxisDisplayUnit?: 'billions' | 'hundredMillions' | 'hundreds' | 'hundredThousands' | 'millions' | 'tenMillions' | 'tenThousands' | 'thousands' | 'trillions'
|
|
2199
|
+
valAxisDisplayUnitLabel?: boolean
|
|
2200
|
+
valAxisHidden?: boolean
|
|
2201
|
+
valAxisLabelColor?: string
|
|
2202
|
+
valAxisLabelFontBold?: boolean
|
|
2203
|
+
valAxisLabelFontFace?: string
|
|
2204
|
+
valAxisLabelFontItalic?: boolean
|
|
2205
|
+
valAxisLabelFontSize?: number
|
|
2206
|
+
valAxisLabelFormatCode?: string
|
|
2207
|
+
valAxisLabelPos?: 'none' | 'low' | 'high' | 'nextTo'
|
|
2208
|
+
valAxisLabelRotate?: number
|
|
2209
|
+
valAxisLineColor?: string
|
|
2210
|
+
valAxisLineShow?: boolean
|
|
2211
|
+
valAxisLineSize?: number
|
|
2212
|
+
valAxisLineStyle?: 'solid' | 'dash' | 'dot'
|
|
2213
|
+
/**
|
|
2214
|
+
* PowerPoint: Format Axis > Axis Options > Logarithmic scale - Base
|
|
2215
|
+
* - range: 2-99
|
|
2216
|
+
* @since v3.5.0
|
|
2217
|
+
*/
|
|
2218
|
+
valAxisLogScaleBase?: number
|
|
2219
|
+
valAxisMajorTickMark?: ChartAxisTickMark
|
|
2220
|
+
valAxisMajorUnit?: number
|
|
2221
|
+
valAxisMaxVal?: number
|
|
2222
|
+
valAxisMinorTickMark?: ChartAxisTickMark
|
|
2223
|
+
valAxisMinVal?: number
|
|
2224
|
+
valAxisOrientation?: 'minMax'
|
|
2225
|
+
valAxisTitle?: string
|
|
2226
|
+
valAxisTitleColor?: string
|
|
2227
|
+
valAxisTitleFontFace?: string
|
|
2228
|
+
valAxisTitleFontSize?: number
|
|
2229
|
+
valAxisTitleRotate?: number
|
|
2230
|
+
valGridLine?: OptsChartGridLine
|
|
2231
|
+
/**
|
|
2232
|
+
* Value label format code
|
|
2233
|
+
* - this also directs Data Table formatting
|
|
2234
|
+
* @since v3.3.0
|
|
2235
|
+
* @example '#%' // round percent
|
|
2236
|
+
* @example '0.00%' // shows values as '0.00%'
|
|
2237
|
+
* @example '$0.00' // shows values as '$0.00'
|
|
2238
|
+
*/
|
|
2239
|
+
valLabelFormatCode?: string
|
|
2240
|
+
}
|
|
2241
|
+
export interface IChartPropsChartBar {
|
|
2242
|
+
bar3DShape?: string
|
|
2243
|
+
barDir?: string
|
|
2244
|
+
barGapDepthPct?: number
|
|
2245
|
+
/**
|
|
2246
|
+
* MS-PPT > Format chart > Format Data Point > Series Options > "Gap Width"
|
|
2247
|
+
* - width (percent)
|
|
2248
|
+
* - range: `0`-`500`
|
|
2249
|
+
* @default 150
|
|
2250
|
+
*/
|
|
2251
|
+
barGapWidthPct?: number
|
|
2252
|
+
barGrouping?: string
|
|
2253
|
+
/**
|
|
2254
|
+
* MS-PPT > Format chart > Format Data Point > Series Options > "Series Overlap"
|
|
2255
|
+
* - overlap (percent)
|
|
2256
|
+
* - range: `-100`-`100`
|
|
2257
|
+
* @since v3.9.0
|
|
2258
|
+
* @default 0
|
|
2259
|
+
*/
|
|
2260
|
+
barOverlapPct?: number
|
|
2261
|
+
}
|
|
2262
|
+
export interface IChartPropsChartDoughnut {
|
|
2263
|
+
dataNoEffects?: boolean
|
|
2264
|
+
holeSize?: number
|
|
2265
|
+
}
|
|
2266
|
+
export interface IChartPropsChartLine {
|
|
2267
|
+
/**
|
|
2268
|
+
* MS-PPT > Chart format > Format Data Series > Line > Cap type
|
|
2269
|
+
* - line cap type
|
|
2270
|
+
* @default flat
|
|
2271
|
+
*/
|
|
2272
|
+
lineCap?: ChartLineCap
|
|
2273
|
+
/**
|
|
2274
|
+
* MS-PPT > Chart format > Format Data Series > Marker Options > Built-in > Type
|
|
2275
|
+
* - line dash type
|
|
2276
|
+
* @default solid
|
|
2277
|
+
*/
|
|
2278
|
+
lineDash?: 'dash' | 'dashDot' | 'lgDash' | 'lgDashDot' | 'lgDashDotDot' | 'solid' | 'sysDash' | 'sysDot'
|
|
2279
|
+
/**
|
|
2280
|
+
* MS-PPT > Chart format > Format Data Series > Marker Options > Built-in > Type
|
|
2281
|
+
* - marker type
|
|
2282
|
+
* @default circle
|
|
2283
|
+
*/
|
|
2284
|
+
lineDataSymbol?: 'circle' | 'dash' | 'diamond' | 'dot' | 'none' | 'square' | 'triangle'
|
|
2285
|
+
/**
|
|
2286
|
+
* MS-PPT > Chart format > Format Data Series > [Marker Options] > Border > Color
|
|
2287
|
+
* - border color
|
|
2288
|
+
* @default circle
|
|
2289
|
+
*/
|
|
2290
|
+
lineDataSymbolLineColor?: string
|
|
2291
|
+
/**
|
|
2292
|
+
* MS-PPT > Chart format > Format Data Series > [Marker Options] > Border > Width
|
|
2293
|
+
* - border width (points)
|
|
2294
|
+
* @default 0.75
|
|
2295
|
+
*/
|
|
2296
|
+
lineDataSymbolLineSize?: number
|
|
2297
|
+
/**
|
|
2298
|
+
* MS-PPT > Chart format > Format Data Series > Marker Options > Built-in > Size
|
|
2299
|
+
* - marker size
|
|
2300
|
+
* - range: 2-72
|
|
2301
|
+
* @default 6
|
|
2302
|
+
*/
|
|
2303
|
+
lineDataSymbolSize?: number
|
|
2304
|
+
/**
|
|
2305
|
+
* MS-PPT > Chart format > Format Data Series > Line > Width
|
|
2306
|
+
* - line width (points)
|
|
2307
|
+
* - range: 0-1584
|
|
2308
|
+
* @default 2
|
|
2309
|
+
*/
|
|
2310
|
+
lineSize?: number
|
|
2311
|
+
/**
|
|
2312
|
+
* MS-PPT > Chart format > Format Data Series > Line > Smoothed line
|
|
2313
|
+
* - "Smoothed line"
|
|
2314
|
+
* @default false
|
|
2315
|
+
*/
|
|
2316
|
+
lineSmooth?: boolean
|
|
2317
|
+
}
|
|
2318
|
+
export interface IChartPropsChartPie {
|
|
2319
|
+
dataNoEffects?: boolean
|
|
2320
|
+
/**
|
|
2321
|
+
* MS-PPT > Format chart > Format Data Series > Series Options > "Angle of first slice"
|
|
2322
|
+
* - angle (degrees)
|
|
2323
|
+
* - range: 0-359
|
|
2324
|
+
* @since v3.4.0
|
|
2325
|
+
* @default 0
|
|
2326
|
+
*/
|
|
2327
|
+
firstSliceAng?: number
|
|
2328
|
+
}
|
|
2329
|
+
export interface IChartPropsChartRadar {
|
|
2330
|
+
/**
|
|
2331
|
+
* MS-PPT > Chart Type > Waterfall
|
|
2332
|
+
* - radar chart type
|
|
2333
|
+
* @default standard
|
|
2334
|
+
*/
|
|
2335
|
+
radarStyle?: 'standard' | 'marker' | 'filled' // TODO: convert to 'radar'|'markers'|'filled' in 4.0 (verbatim with PPT app UI)
|
|
2336
|
+
}
|
|
2337
|
+
export interface IChartPropsDataLabel {
|
|
2338
|
+
dataLabelBkgrdColors?: boolean
|
|
2339
|
+
dataLabelColor?: string
|
|
2340
|
+
dataLabelFontBold?: boolean
|
|
2341
|
+
dataLabelFontFace?: string
|
|
2342
|
+
dataLabelFontItalic?: boolean
|
|
2343
|
+
dataLabelFontSize?: number
|
|
2344
|
+
/**
|
|
2345
|
+
* Data label format code
|
|
2346
|
+
* @example '#%' // round percent
|
|
2347
|
+
* @example '0.00%' // shows values as '0.00%'
|
|
2348
|
+
* @example '$0.00' // shows values as '$0.00'
|
|
2349
|
+
*/
|
|
2350
|
+
dataLabelFormatCode?: string
|
|
2351
|
+
dataLabelFormatScatter?: 'custom' | 'customXY' | 'XY'
|
|
2352
|
+
dataLabelPosition?: 'b' | 'bestFit' | 'ctr' | 'l' | 'r' | 't' | 'inEnd' | 'outEnd'
|
|
2353
|
+
}
|
|
2354
|
+
export interface IChartPropsDataTable {
|
|
2355
|
+
dataTableFontSize?: number
|
|
2356
|
+
/**
|
|
2357
|
+
* Data table format code
|
|
2358
|
+
* @since v3.3.0
|
|
2359
|
+
* @example '#%' // round percent
|
|
2360
|
+
* @example '0.00%' // shows values as '0.00%'
|
|
2361
|
+
* @example '$0.00' // shows values as '$0.00'
|
|
2362
|
+
*/
|
|
2363
|
+
dataTableFormatCode?: string
|
|
2364
|
+
/**
|
|
2365
|
+
* Whether to show a data table adjacent to the chart
|
|
2366
|
+
* @default false
|
|
2367
|
+
*/
|
|
2368
|
+
showDataTable?: boolean
|
|
2369
|
+
showDataTableHorzBorder?: boolean
|
|
2370
|
+
showDataTableKeys?: boolean
|
|
2371
|
+
showDataTableOutline?: boolean
|
|
2372
|
+
showDataTableVertBorder?: boolean
|
|
2373
|
+
}
|
|
2374
|
+
export interface IChartPropsLegend {
|
|
2375
|
+
legendColor?: string
|
|
2376
|
+
legendFontFace?: string
|
|
2377
|
+
legendFontSize?: number
|
|
2378
|
+
legendPos?: 'b' | 'l' | 'r' | 't' | 'tr'
|
|
2379
|
+
}
|
|
2380
|
+
export interface IChartPropsTitle extends TextBaseProps {
|
|
2381
|
+
title?: string
|
|
2382
|
+
titleAlign?: string
|
|
2383
|
+
titleBold?: boolean
|
|
2384
|
+
titleColor?: string
|
|
2385
|
+
titleFontFace?: string
|
|
2386
|
+
titleFontSize?: number
|
|
2387
|
+
titlePos?: { x: number, y: number }
|
|
2388
|
+
titleRotate?: number
|
|
2389
|
+
}
|
|
2390
|
+
export interface IChartOpts
|
|
2391
|
+
extends IChartPropsAxisCat,
|
|
2392
|
+
IChartPropsAxisSer,
|
|
2393
|
+
IChartPropsAxisVal,
|
|
2394
|
+
IChartPropsBase,
|
|
2395
|
+
IChartPropsChartBar,
|
|
2396
|
+
IChartPropsChartDoughnut,
|
|
2397
|
+
IChartPropsChartLine,
|
|
2398
|
+
IChartPropsChartPie,
|
|
2399
|
+
IChartPropsChartRadar,
|
|
2400
|
+
IChartPropsDataLabel,
|
|
2401
|
+
IChartPropsDataTable,
|
|
2402
|
+
IChartPropsLegend,
|
|
2403
|
+
IChartPropsTitle,
|
|
2404
|
+
ObjectNameProps,
|
|
2405
|
+
OptsChartGridLine,
|
|
2406
|
+
PositionProps {
|
|
2407
|
+
/**
|
|
2408
|
+
* Alt Text value ("How would you describe this object and its contents to someone who is blind?")
|
|
2409
|
+
* - PowerPoint: [right-click on a chart] > "Edit Alt Text..."
|
|
2410
|
+
*/
|
|
2411
|
+
altText?: string
|
|
2412
|
+
}
|
|
2413
|
+
export interface ISlideRelChart extends OptsChartData {
|
|
2414
|
+
type: CHART_NAME | IChartMulti[]
|
|
2415
|
+
opts: IChartOpts
|
|
2416
|
+
data: OptsChartData[]
|
|
2417
|
+
// internal below
|
|
2418
|
+
//rId: number
|
|
2419
|
+
//Target: string
|
|
2420
|
+
//globalId: number
|
|
2421
|
+
//fileName: string
|
|
2422
|
+
}
|
|
2423
|
+
|
|
2424
|
+
// Core
|
|
2425
|
+
// ====
|
|
2426
|
+
export interface WriteBaseProps {
|
|
2427
|
+
/**
|
|
2428
|
+
* Whether to compress export (can save substantial space, but takes a bit longer to export)
|
|
2429
|
+
* @default false
|
|
2430
|
+
* @since v3.5.0
|
|
2431
|
+
*/
|
|
2432
|
+
compression?: boolean
|
|
2433
|
+
}
|
|
2434
|
+
export interface WriteProps extends WriteBaseProps {
|
|
2435
|
+
/**
|
|
2436
|
+
* Output type
|
|
2437
|
+
* - values: 'arraybuffer' | 'base64' | 'binarystring' | 'blob' | 'nodebuffer' | 'uint8array' | 'STREAM'
|
|
2438
|
+
* @default 'blob'
|
|
2439
|
+
*/
|
|
2440
|
+
outputType?: WRITE_OUTPUT_TYPE
|
|
2441
|
+
}
|
|
2442
|
+
export interface WriteFileProps extends WriteBaseProps {
|
|
2443
|
+
/**
|
|
2444
|
+
* Export file name
|
|
2445
|
+
* @default 'Presentation.pptx'
|
|
2446
|
+
*/
|
|
2447
|
+
fileName?: string
|
|
2448
|
+
}
|
|
2449
|
+
export interface SectionProps {
|
|
2450
|
+
//_type: 'user' | 'default'
|
|
2451
|
+
//_slides: PresSlide[]
|
|
2452
|
+
|
|
2453
|
+
/**
|
|
2454
|
+
* Section title
|
|
2455
|
+
*/
|
|
2456
|
+
title: string
|
|
2457
|
+
/**
|
|
2458
|
+
* Section order - uses to add section at any index
|
|
2459
|
+
* - values: 1-n
|
|
2460
|
+
*/
|
|
2461
|
+
order?: number
|
|
2462
|
+
}
|
|
2463
|
+
export interface PresLayout {
|
|
2464
|
+
//_sizeW?: number
|
|
2465
|
+
//_sizeH?: number
|
|
2466
|
+
|
|
2467
|
+
/**
|
|
2468
|
+
* Layout Name
|
|
2469
|
+
* @example 'LAYOUT_WIDE'
|
|
2470
|
+
*/
|
|
2471
|
+
name: string
|
|
2472
|
+
width: number
|
|
2473
|
+
height: number
|
|
2474
|
+
}
|
|
2475
|
+
export interface SlideNumberProps extends PositionProps, TextBaseProps {
|
|
2476
|
+
/**
|
|
2477
|
+
* margin (points)
|
|
2478
|
+
*/
|
|
2479
|
+
margin?: Margin // TODO: convert to inches in 4.0 (valid values are 0-22)
|
|
2480
|
+
}
|
|
2481
|
+
export interface SlideMasterProps {
|
|
2482
|
+
/**
|
|
2483
|
+
* Unique name for this master
|
|
2484
|
+
*/
|
|
2485
|
+
title: string
|
|
2486
|
+
background?: BackgroundProps
|
|
2487
|
+
margin?: Margin
|
|
2488
|
+
slideNumber?: SlideNumberProps
|
|
2489
|
+
objects?: Array< | { chart: IChartOpts }
|
|
2490
|
+
| { image: ImageProps }
|
|
2491
|
+
| { line: ShapeProps }
|
|
2492
|
+
| { rect: ShapeProps }
|
|
2493
|
+
| { text: TextProps }
|
|
2494
|
+
| {
|
|
2495
|
+
placeholder: {
|
|
2496
|
+
options: PlaceholderProps
|
|
2497
|
+
/**
|
|
2498
|
+
* Text to be shown in placeholder (shown until user focuses textbox or adds text)
|
|
2499
|
+
* - Leave blank to have powerpoint show default phrase (ex: "Click to add title")
|
|
2500
|
+
*/
|
|
2501
|
+
text?: string
|
|
2502
|
+
}
|
|
2503
|
+
}>
|
|
2504
|
+
|
|
2505
|
+
/**
|
|
2506
|
+
* @deprecated v3.3.0 - use `background`
|
|
2507
|
+
*/
|
|
2508
|
+
bkgd?: string | BackgroundProps
|
|
2509
|
+
}
|
|
2510
|
+
export interface ObjectOptions extends ImageProps, PositionProps, ShapeProps, TableCellProps, TextPropsOptions {
|
|
2511
|
+
//_placeholderIdx?: number
|
|
2512
|
+
//_placeholderType?: PLACEHOLDER_TYPE
|
|
2513
|
+
|
|
2514
|
+
cx?: Coord
|
|
2515
|
+
cy?: Coord
|
|
2516
|
+
margin?: Margin
|
|
2517
|
+
colW?: number | number[] // table
|
|
2518
|
+
rowH?: number | number[] // table
|
|
2519
|
+
}
|
|
2520
|
+
export interface PresSlide {
|
|
2521
|
+
addChart: Function
|
|
2522
|
+
addImage: Function
|
|
2523
|
+
addMedia: Function
|
|
2524
|
+
addNotes: Function
|
|
2525
|
+
addShape: Function
|
|
2526
|
+
addTable: Function
|
|
2527
|
+
addText: Function
|
|
2528
|
+
|
|
2529
|
+
/**
|
|
2530
|
+
* Background color or image (`color` | `path` | `data`)
|
|
2531
|
+
* @example { color: 'FF3399' } - hex color
|
|
2532
|
+
* @example { color: 'FF3399', transparency:50 } - hex color with 50% transparency
|
|
2533
|
+
* @example { path: 'https://onedrives.com/myimg.png` } - retrieve image via URL
|
|
2534
|
+
* @example { path: '/home/gitbrent/images/myimg.png` } - retrieve image via local path
|
|
2535
|
+
* @example { data: 'image/png;base64,iVtDaDrF[...]=' } - base64 string
|
|
2536
|
+
* @since v3.3.0
|
|
2537
|
+
*/
|
|
2538
|
+
background?: BackgroundProps
|
|
2539
|
+
/**
|
|
2540
|
+
* Default text color (hex format)
|
|
2541
|
+
* @example 'FF3399'
|
|
2542
|
+
* @default '000000' (DEF_FONT_COLOR)
|
|
2543
|
+
*/
|
|
2544
|
+
color?: HexColor
|
|
2545
|
+
/**
|
|
2546
|
+
* Whether slide is hidden
|
|
2547
|
+
* @default false
|
|
2548
|
+
*/
|
|
2549
|
+
hidden?: boolean
|
|
2550
|
+
/**
|
|
2551
|
+
* Slide number options
|
|
2552
|
+
*/
|
|
2553
|
+
slideNumber?: SlideNumberProps
|
|
2554
|
+
}
|
|
2555
|
+
export interface AddSlideProps {
|
|
2556
|
+
masterName?: string // TODO: 20200528: rename to "masterTitle" (createMaster uses `title` so lets be consistent)
|
|
2557
|
+
sectionTitle?: string
|
|
2558
|
+
}
|
|
2559
|
+
export interface PresentationProps {
|
|
2560
|
+
author: string
|
|
2561
|
+
company: string
|
|
2562
|
+
layout: string
|
|
2563
|
+
masterSlide: PresSlide
|
|
2564
|
+
/**
|
|
2565
|
+
* Presentation's layout
|
|
2566
|
+
* read-only
|
|
2567
|
+
*/
|
|
2568
|
+
presLayout: PresLayout
|
|
2569
|
+
revision: string
|
|
2570
|
+
/**
|
|
2571
|
+
* Whether to enable right-to-left mode
|
|
2572
|
+
* @default false
|
|
2573
|
+
*/
|
|
2574
|
+
rtlMode: boolean
|
|
2575
|
+
subject: string
|
|
2576
|
+
theme: ThemeProps
|
|
2577
|
+
title: string
|
|
2578
|
+
}
|
|
2579
|
+
|
|
2580
|
+
// LAST: Slide
|
|
2581
|
+
/**
|
|
2582
|
+
* `slide.d.ts`
|
|
2583
|
+
*/
|
|
2584
|
+
export class Slide {
|
|
2585
|
+
/**
|
|
2586
|
+
* Background color or image (`color` | `path` | `data`)
|
|
2587
|
+
* @example { color: 'FF3399' } - hex color
|
|
2588
|
+
* @example { color: 'FF3399', transparency:50 } - hex color with 50% transparency
|
|
2589
|
+
* @example { path: 'https://onedrives.com/myimg.png` } - retrieve image via URL
|
|
2590
|
+
* @example { path: '/home/gitbrent/images/myimg.png` } - retrieve image via local path
|
|
2591
|
+
* @example { data: 'image/png;base64,iVtDaDrF[...]=' } - base64 string
|
|
2592
|
+
* @since 3.3.0
|
|
2593
|
+
*/
|
|
2594
|
+
background: BackgroundProps
|
|
2595
|
+
/**
|
|
2596
|
+
* Default text color (hex format)
|
|
2597
|
+
* @example 'FF3399'
|
|
2598
|
+
* @default '000000' (DEF_FONT_COLOR)
|
|
2599
|
+
*/
|
|
2600
|
+
color: HexColor
|
|
2601
|
+
/**
|
|
2602
|
+
* Whether slide is hidden
|
|
2603
|
+
* @default false
|
|
2604
|
+
*/
|
|
2605
|
+
hidden: boolean
|
|
2606
|
+
/**
|
|
2607
|
+
* Slide number options
|
|
2608
|
+
*/
|
|
2609
|
+
slideNumber: SlideNumberProps
|
|
2610
|
+
/**
|
|
2611
|
+
* New slides added by an auto paged table
|
|
2612
|
+
*/
|
|
2613
|
+
newAutoPagedSlides: PresSlide[]
|
|
2614
|
+
/**
|
|
2615
|
+
* Add chart to Slide
|
|
2616
|
+
* @param {CHART_NAME|IChartMulti[]} type - chart type
|
|
2617
|
+
* @param {object[]} data - data object
|
|
2618
|
+
* @param {IChartOpts} options - chart options
|
|
2619
|
+
* @return {Slide} this Slide
|
|
2620
|
+
* @type {Function}
|
|
2621
|
+
*/
|
|
2622
|
+
addChart(type: CHART_NAME | IChartMulti[], data: any[], options?: IChartOpts): Slide
|
|
2623
|
+
/**
|
|
2624
|
+
* Add image to Slide
|
|
2625
|
+
* @param {ImageProps} options - image options
|
|
2626
|
+
* @return {Slide} this Slide
|
|
2627
|
+
*/
|
|
2628
|
+
addImage(options: ImageProps): Slide
|
|
2629
|
+
/**
|
|
2630
|
+
* Add media (audio/video) to Slide
|
|
2631
|
+
* @param {MediaProps} options - media options
|
|
2632
|
+
* @return {Slide} this Slide
|
|
2633
|
+
*/
|
|
2634
|
+
addMedia(options: MediaProps): Slide
|
|
2635
|
+
/**
|
|
2636
|
+
* Add speaker notes to Slide
|
|
2637
|
+
* @docs https://gitbrent.github.io/PptxGenJS/docs/speaker-notes.html
|
|
2638
|
+
* @param {string} notes - notes to add to slide
|
|
2639
|
+
* @return {Slide} this Slide
|
|
2640
|
+
*/
|
|
2641
|
+
addNotes(notes: string): Slide
|
|
2642
|
+
/**
|
|
2643
|
+
* Add shape to Slide
|
|
2644
|
+
* @param {SHAPE_NAME} shapeName - shape name
|
|
2645
|
+
* @param {ShapeProps} options - shape options
|
|
2646
|
+
* @return {Slide} this Slide
|
|
2647
|
+
*/
|
|
2648
|
+
addShape(shapeName: SHAPE_NAME, options?: ShapeProps): Slide
|
|
2649
|
+
/**
|
|
2650
|
+
* Add table to Slide
|
|
2651
|
+
* @param {TableRow[]} tableRows - table rows
|
|
2652
|
+
* @param {TableProps} options - table options
|
|
2653
|
+
* @return {Slide} this Slide
|
|
2654
|
+
*/
|
|
2655
|
+
addTable(tableRows: TableRow[], options?: TableProps): Slide
|
|
2656
|
+
/**
|
|
2657
|
+
* Add text to Slide
|
|
2658
|
+
* @param {string|TextProps[]} text - text string or complex object
|
|
2659
|
+
* @param {TextPropsOptions} options - text options
|
|
2660
|
+
* @return {Slide} this Slide
|
|
2661
|
+
*/
|
|
2662
|
+
addText(text: string | TextProps[], options?: TextPropsOptions): Slide
|
|
2663
|
+
|
|
2664
|
+
/**
|
|
2665
|
+
* Background color
|
|
2666
|
+
* @deprecated in 3.3.0 - use `background` instead
|
|
2667
|
+
*/
|
|
2668
|
+
bkgd: string
|
|
2669
|
+
}
|
|
2670
|
+
}
|