ooxml-core 1.30.1 → 1.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PptxHandler-KKLAYUGQ.mjs → PptxHandler-QY5VL3CY.mjs} +2 -2
- package/dist/PptxHandler-SJ5ZUIUX.mjs +4 -0
- package/dist/{PptxHandler-DHQPVTUI.cjs → PptxHandler-TESZUH66.cjs} +3 -3
- package/dist/{PresentationBuilder-YYZYCKTZ.mjs → PresentationBuilder-3CH5TR4W.mjs} +2 -2
- package/dist/{PresentationBuilder-JORMF5CP.cjs → PresentationBuilder-5NFBUP7Y.cjs} +5 -5
- package/dist/{PresentationBuilder-Q2Z33LLM.mjs → PresentationBuilder-S6HXHKEJ.mjs} +2 -2
- package/dist/automation/index.cjs +6446 -3410
- package/dist/automation/index.mjs +6446 -3410
- package/dist/automation/node.cjs +2 -1
- package/dist/automation/node.d.ts.map +1 -1
- package/dist/automation/node.mjs +2 -1
- package/dist/automation/tools/define.d.ts +2 -0
- package/dist/automation/tools/define.d.ts.map +1 -1
- package/dist/automation/tools/types.d.ts +6 -0
- package/dist/automation/tools/types.d.ts.map +1 -1
- package/dist/{chunk-GJDFCP2T.mjs → chunk-3H5UAJB3.mjs} +258 -155
- package/dist/{chunk-MKDONWNO.mjs → chunk-4R65YYAD.mjs} +32 -14
- package/dist/{chunk-KWJYMAEF.mjs → chunk-IOTGRLJH.mjs} +255 -152
- package/dist/{chunk-6FXOAMNL.mjs → chunk-N6424WKA.mjs} +1 -1
- package/dist/{chunk-WZJ25K7P.mjs → chunk-NAWLWKOJ.mjs} +1 -1
- package/dist/{chunk-DJ3CDTMX.mjs → chunk-O7SVHLD7.mjs} +23 -5
- package/dist/{chunk-CZXM4ZJH.cjs → chunk-Q6NM64J2.cjs} +23 -4
- package/dist/{chunk-FFJBOR2Y.mjs → chunk-UYMSFJQZ.mjs} +76 -4
- package/dist/{chunk-B4LXDHBX.cjs → chunk-X6VNUBES.cjs} +1419 -1316
- package/dist/collab/index.cjs +35 -4
- package/dist/collab/index.mjs +35 -4
- package/dist/collab/websocket-transport.d.ts +9 -1
- package/dist/collab/websocket-transport.d.ts.map +1 -1
- package/dist/diagram/index.cjs +8 -4
- package/dist/diagram/index.mjs +8 -4
- package/dist/docx/data-binding.d.ts +9 -0
- package/dist/docx/data-binding.d.ts.map +1 -0
- package/dist/docx/document-parts.d.ts +1 -0
- package/dist/docx/document-parts.d.ts.map +1 -1
- package/dist/docx/drawing.d.ts.map +1 -1
- package/dist/docx/embedded.cjs +1391 -613
- package/dist/docx/embedded.mjs +1391 -613
- package/dist/docx/index.cjs +1402 -622
- package/dist/docx/index.mjs +1402 -622
- package/dist/docx/inline-model.d.ts +2 -0
- package/dist/docx/inline-model.d.ts.map +1 -1
- package/dist/docx/layout/adapt-floats.d.ts.map +1 -1
- package/dist/docx/layout/adapt-table.d.ts.map +1 -1
- package/dist/docx/layout/adapter.d.ts.map +1 -1
- package/dist/docx/layout/equation-object.d.ts +1 -1
- package/dist/docx/layout/equation-object.d.ts.map +1 -1
- package/dist/docx/layout/floats.d.ts +1 -1
- package/dist/docx/layout/floats.d.ts.map +1 -1
- package/dist/docx/layout/flow-paragraph.d.ts +4 -0
- package/dist/docx/layout/flow-paragraph.d.ts.map +1 -1
- package/dist/docx/layout/flow-table.d.ts.map +1 -1
- package/dist/docx/layout/index.cjs +460 -207
- package/dist/docx/layout/index.mjs +460 -207
- package/dist/docx/layout/input.d.ts +12 -0
- package/dist/docx/layout/input.d.ts.map +1 -1
- package/dist/docx/layout/nested-frame-profile.d.ts +3 -1
- package/dist/docx/layout/nested-frame-profile.d.ts.map +1 -1
- package/dist/docx/layout/page-cursor.d.ts +11 -2
- package/dist/docx/layout/page-cursor.d.ts.map +1 -1
- package/dist/docx/layout/paragraph-fragments.d.ts.map +1 -1
- package/dist/docx/layout/paragraph-layout.d.ts +5 -0
- package/dist/docx/layout/paragraph-layout.d.ts.map +1 -1
- package/dist/docx/layout/result.d.ts +4 -0
- package/dist/docx/layout/result.d.ts.map +1 -1
- package/dist/docx/layout/section-flow.d.ts +2 -0
- package/dist/docx/layout/section-flow.d.ts.map +1 -1
- package/dist/docx/layout/table-layout.d.ts +4 -14
- package/dist/docx/layout/table-layout.d.ts.map +1 -1
- package/dist/docx/layout/table-merged-rows.d.ts +21 -0
- package/dist/docx/layout/table-merged-rows.d.ts.map +1 -0
- package/dist/docx/layout/table-row-split.d.ts +16 -0
- package/dist/docx/layout/table-row-split.d.ts.map +1 -0
- package/dist/docx/layout/wrap.d.ts +2 -0
- package/dist/docx/layout/wrap.d.ts.map +1 -1
- package/dist/docx/load/index.cjs +1405 -627
- package/dist/docx/load/index.mjs +1405 -627
- package/dist/docx/model-paragraph.d.ts +4 -1
- package/dist/docx/model-paragraph.d.ts.map +1 -1
- package/dist/docx/model.d.ts +24 -1
- package/dist/docx/model.d.ts.map +1 -1
- package/dist/docx/paragraph-properties.d.ts.map +1 -1
- package/dist/docx/paragraph-styles.d.ts.map +1 -1
- package/dist/docx/parse-table.d.ts.map +1 -1
- package/dist/docx/parse.d.ts.map +1 -1
- package/dist/docx/run-segmentation.d.ts.map +1 -1
- package/dist/docx/save-modified.d.ts +4 -0
- package/dist/docx/save-modified.d.ts.map +1 -0
- package/dist/docx/save.d.ts +2 -2
- package/dist/docx/save.d.ts.map +1 -1
- package/dist/docx/style-formatting-package.d.ts +9 -0
- package/dist/docx/style-formatting-package.d.ts.map +1 -0
- package/dist/docx/style-numbering-package.d.ts +4 -1
- package/dist/docx/style-numbering-package.d.ts.map +1 -1
- package/dist/docx/table-grid.d.ts +35 -0
- package/dist/docx/table-grid.d.ts.map +1 -0
- package/dist/docx/table-structure-cells.d.ts +19 -0
- package/dist/docx/table-structure-cells.d.ts.map +1 -0
- package/dist/docx/table-structure-check.d.ts +12 -0
- package/dist/docx/table-structure-check.d.ts.map +1 -0
- package/dist/docx/table-structure-merge.d.ts +28 -0
- package/dist/docx/table-structure-merge.d.ts.map +1 -0
- package/dist/docx/table-structure.d.ts +30 -0
- package/dist/docx/table-structure.d.ts.map +1 -0
- package/dist/docx/ui/index.cjs +725 -260
- package/dist/docx/ui/index.d.ts +4 -0
- package/dist/docx/ui/index.d.ts.map +1 -1
- package/dist/docx/ui/index.mjs +711 -261
- package/dist/docx/ui/ribbon-action-ids.d.ts +1 -1
- package/dist/docx/ui/ribbon-action-ids.d.ts.map +1 -1
- package/dist/docx/ui/table-structure-guard.d.ts +2 -0
- package/dist/docx/ui/table-structure-guard.d.ts.map +1 -1
- package/dist/docx/word-content-control-docs.d.ts +5 -0
- package/dist/docx/word-content-control-docs.d.ts.map +1 -0
- package/dist/docx/word-corpus-gaps.d.ts +10 -0
- package/dist/docx/word-corpus-gaps.d.ts.map +1 -0
- package/dist/docx/word-measurer.d.ts +6 -0
- package/dist/docx/word-measurer.d.ts.map +1 -0
- package/dist/docx/word-spacing-docs.d.ts +12 -0
- package/dist/docx/word-spacing-docs.d.ts.map +1 -0
- package/dist/docx/word-table-docs.d.ts +9 -0
- package/dist/docx/word-table-docs.d.ts.map +1 -0
- package/dist/docx/write-drawing.d.ts.map +1 -1
- package/dist/docx/write-fallback.d.ts +5 -0
- package/dist/docx/write-fallback.d.ts.map +1 -0
- package/dist/docx/write-table-properties.d.ts +1 -0
- package/dist/docx/write-table-properties.d.ts.map +1 -1
- package/dist/docx/write-table-structure.d.ts +14 -0
- package/dist/docx/write-table-structure.d.ts.map +1 -0
- package/dist/docx/write-table.d.ts +3 -4
- package/dist/docx/write-table.d.ts.map +1 -1
- package/dist/geometry/index.cjs +16 -12
- package/dist/geometry/index.mjs +16 -12
- package/dist/geometry/preset-shape-definitions-table.d.ts.map +1 -1
- package/dist/index.cjs +38 -34
- package/dist/index.mjs +38 -34
- package/dist/math/index.cjs +22 -22
- package/dist/math/index.mjs +22 -22
- package/dist/math/omml-box-grouped.d.ts.map +1 -1
- package/dist/math/omml-box-layout.d.ts +3 -1
- package/dist/math/omml-box-layout.d.ts.map +1 -1
- package/dist/math/omml-box-structures.d.ts.map +1 -1
- package/dist/math/omml-box.d.ts +2 -0
- package/dist/math/omml-box.d.ts.map +1 -1
- package/dist/math/omml-svg.d.ts +6 -2
- package/dist/math/omml-svg.d.ts.map +1 -1
- package/dist/pptx/automation/index.cjs +295 -157
- package/dist/pptx/automation/index.d.ts +9 -3
- package/dist/pptx/automation/index.d.ts.map +1 -1
- package/dist/pptx/automation/index.mjs +6 -5
- package/dist/pptx/chunks/{index-PdM5zpmu.d.ts → index-D-FdgqrP.d.ts} +102 -3
- package/dist/pptx/chunks/index-D-FdgqrP.d.ts.map +1 -0
- package/dist/pptx/chunks/{index-BQDcu_0a.d.ts → index-DKybuHPT.d.ts} +51 -3
- package/dist/pptx/chunks/{index-BQDcu_0a.d.ts.map → index-DKybuHPT.d.ts.map} +1 -1
- package/dist/pptx/chunks/{index-CBV1oHN7.d.ts → index-DnWlmYCy.d.ts} +2 -2
- package/dist/pptx/chunks/{index-CBV1oHN7.d.ts.map → index-DnWlmYCy.d.ts.map} +1 -1
- package/dist/pptx/cli/index.cjs +294 -157
- package/dist/pptx/cli/index.mjs +4 -4
- package/dist/pptx/converter/index.cjs +8 -4
- package/dist/pptx/converter/index.d.ts +1 -1
- package/dist/pptx/converter/index.mjs +2 -2
- package/dist/pptx/editor/render/find-replace.cjs +14 -14
- package/dist/pptx/editor/render/find-replace.d.ts +1 -1
- package/dist/pptx/editor/render/find-replace.mjs +1 -1
- package/dist/pptx/editor/render/slide-operations.cjs +8 -8
- package/dist/pptx/editor/render/slide-operations.mjs +2 -2
- package/dist/pptx/index.cjs +380 -171
- package/dist/pptx/index.d.ts +4 -4
- package/dist/pptx/index.mjs +5 -5
- package/dist/pptx/node/index.d.ts +1 -1
- package/dist/teams/chat-rooms.d.ts.map +1 -1
- package/dist/teams/chat-view.d.ts +10 -1
- package/dist/teams/chat-view.d.ts.map +1 -1
- package/dist/teams/chat.d.ts +7 -0
- package/dist/teams/chat.d.ts.map +1 -1
- package/dist/teams/files.d.ts +1 -1
- package/dist/teams/files.d.ts.map +1 -1
- package/dist/teams/index.cjs +3471 -1223
- package/dist/teams/index.d.ts +4 -0
- package/dist/teams/index.d.ts.map +1 -1
- package/dist/teams/index.mjs +3435 -1223
- package/dist/teams/message-transfer.d.ts +1 -1
- package/dist/teams/message-transfer.d.ts.map +1 -1
- package/dist/teams/presence-controller.d.ts +18 -3
- package/dist/teams/presence-controller.d.ts.map +1 -1
- package/dist/teams/presence-meetings.d.ts +21 -0
- package/dist/teams/presence-meetings.d.ts.map +1 -0
- package/dist/teams/presence.d.ts +40 -2
- package/dist/teams/presence.d.ts.map +1 -1
- package/dist/teams/protocol.d.ts +30 -0
- package/dist/teams/protocol.d.ts.map +1 -0
- package/dist/teams/schema.d.ts +59 -0
- package/dist/teams/schema.d.ts.map +1 -0
- package/dist/teams/server-config.d.ts +19 -2
- package/dist/teams/server-config.d.ts.map +1 -1
- package/dist/teams/server-file-storage.d.ts +11 -1
- package/dist/teams/server-file-storage.d.ts.map +1 -1
- package/dist/teams/server-session.d.ts +2 -0
- package/dist/teams/server-session.d.ts.map +1 -1
- package/dist/teams/signaling.d.ts +2 -0
- package/dist/teams/signaling.d.ts.map +1 -1
- package/dist/teams/store.d.ts +14 -0
- package/dist/teams/store.d.ts.map +1 -1
- package/dist/teams/stored-file.d.ts +1 -1
- package/dist/teams/stored-file.d.ts.map +1 -1
- package/dist/teams/sync-transport.d.ts.map +1 -1
- package/dist/teams/validate-members.d.ts +28 -0
- package/dist/teams/validate-members.d.ts.map +1 -0
- package/dist/teams/validate-owned.d.ts +20 -0
- package/dist/teams/validate-owned.d.ts.map +1 -0
- package/dist/teams/validate-update.d.ts +70 -0
- package/dist/teams/validate-update.d.ts.map +1 -0
- package/dist/teams/view.d.ts +5 -0
- package/dist/teams/view.d.ts.map +1 -1
- package/dist/teams/workspace.d.ts +17 -2
- package/dist/teams/workspace.d.ts.map +1 -1
- package/dist/visio/connector-route-walk.d.ts +2 -0
- package/dist/visio/connector-route-walk.d.ts.map +1 -1
- package/dist/visio/edit-connector-reroute.d.ts.map +1 -1
- package/dist/visio/edit-connector.d.ts +2 -0
- package/dist/visio/edit-connector.d.ts.map +1 -1
- package/dist/visio/edit-delete.d.ts.map +1 -1
- package/dist/visio/edit-duplicate-line.d.ts +40 -0
- package/dist/visio/edit-duplicate-line.d.ts.map +1 -0
- package/dist/visio/edit-duplicate.d.ts.map +1 -1
- package/dist/visio/edit-formatting-scope.d.ts +5 -1
- package/dist/visio/edit-formatting-scope.d.ts.map +1 -1
- package/dist/visio/edit-geometry.d.ts.map +1 -1
- package/dist/visio/edit-instance-duplicate.d.ts +2 -1
- package/dist/visio/edit-instance-duplicate.d.ts.map +1 -1
- package/dist/visio/edit-master-move.d.ts.map +1 -1
- package/dist/visio/edit-recalculate-index.d.ts +23 -0
- package/dist/visio/edit-recalculate-index.d.ts.map +1 -1
- package/dist/visio/edit-recalculate-text.d.ts +12 -0
- package/dist/visio/edit-recalculate-text.d.ts.map +1 -0
- package/dist/visio/edit-recalculate-values.d.ts.map +1 -1
- package/dist/visio/edit-recalculate.d.ts +15 -3
- package/dist/visio/edit-recalculate.d.ts.map +1 -1
- package/dist/visio/edit-resize-anchor.d.ts.map +1 -1
- package/dist/visio/edit-stencil-connector-layout.d.ts +1 -1
- package/dist/visio/edit-stencil-connector-layout.d.ts.map +1 -1
- package/dist/visio/edit-text-scope.d.ts +4 -1
- package/dist/visio/edit-text-scope.d.ts.map +1 -1
- package/dist/visio/formula-analyze.d.ts +18 -0
- package/dist/visio/formula-analyze.d.ts.map +1 -0
- package/dist/visio/formula-bound.d.ts +4 -0
- package/dist/visio/formula-bound.d.ts.map +1 -0
- package/dist/visio/formula-evaluate.d.ts +2 -9
- package/dist/visio/formula-evaluate.d.ts.map +1 -1
- package/dist/visio/formula-extra-functions.d.ts +23 -0
- package/dist/visio/formula-extra-functions.d.ts.map +1 -0
- package/dist/visio/formula-indirect.d.ts +6 -0
- package/dist/visio/formula-indirect.d.ts.map +1 -0
- package/dist/visio/formula-master.d.ts +1 -0
- package/dist/visio/formula-master.d.ts.map +1 -1
- package/dist/visio/formula-operators.d.ts +6 -0
- package/dist/visio/formula-operators.d.ts.map +1 -0
- package/dist/visio/formula-text-functions.d.ts +5 -1
- package/dist/visio/formula-text-functions.d.ts.map +1 -1
- package/dist/visio/formula.d.ts +12 -0
- package/dist/visio/formula.d.ts.map +1 -1
- package/dist/visio/index.cjs +1359 -396
- package/dist/visio/index.mjs +1359 -396
- package/dist/visio/ui/index.cjs +1346 -383
- package/dist/visio/ui/index.mjs +1346 -383
- package/dist/xlsx/collab/apply.d.ts.map +1 -1
- package/dist/xlsx/collab/codec.d.ts +2 -0
- package/dist/xlsx/collab/codec.d.ts.map +1 -1
- package/dist/xlsx/collab/dirty.d.ts +4 -1
- package/dist/xlsx/collab/dirty.d.ts.map +1 -1
- package/dist/xlsx/collab/index.cjs +551 -106
- package/dist/xlsx/collab/index.mjs +551 -106
- package/dist/xlsx/collab/keyed.d.ts +36 -0
- package/dist/xlsx/collab/keyed.d.ts.map +1 -0
- package/dist/xlsx/collab/names.d.ts +2 -0
- package/dist/xlsx/collab/names.d.ts.map +1 -1
- package/dist/xlsx/collab/part-specs.d.ts +13 -0
- package/dist/xlsx/collab/part-specs.d.ts.map +1 -0
- package/dist/xlsx/collab/schema.d.ts +8 -0
- package/dist/xlsx/collab/schema.d.ts.map +1 -1
- package/dist/xlsx/collab/sheet-parts.d.ts +19 -0
- package/dist/xlsx/collab/sheet-parts.d.ts.map +1 -0
- package/dist/xlsx/collab/sheets.d.ts +6 -0
- package/dist/xlsx/collab/sheets.d.ts.map +1 -1
- package/dist/xlsx/collab/write.d.ts +3 -0
- package/dist/xlsx/collab/write.d.ts.map +1 -1
- package/dist/xlsx/edit/clipboard-areas.d.ts +17 -0
- package/dist/xlsx/edit/clipboard-areas.d.ts.map +1 -0
- package/dist/xlsx/edit/custom-views.d.ts +21 -0
- package/dist/xlsx/edit/custom-views.d.ts.map +1 -0
- package/dist/xlsx/edit/data-table.d.ts.map +1 -1
- package/dist/xlsx/edit/history.d.ts +1 -1
- package/dist/xlsx/edit/history.d.ts.map +1 -1
- package/dist/xlsx/edit/index.d.ts +2 -0
- package/dist/xlsx/edit/index.d.ts.map +1 -1
- package/dist/xlsx/edit/paste-selection.d.ts.map +1 -1
- package/dist/xlsx/edit/scenario-merge.d.ts +7 -0
- package/dist/xlsx/edit/scenario-merge.d.ts.map +1 -0
- package/dist/xlsx/edit/session.d.ts.map +1 -1
- package/dist/xlsx/edit/shift-data-tables.d.ts +7 -0
- package/dist/xlsx/edit/shift-data-tables.d.ts.map +1 -0
- package/dist/xlsx/edit/shift-scenarios.d.ts +7 -0
- package/dist/xlsx/edit/shift-scenarios.d.ts.map +1 -0
- package/dist/xlsx/edit/shift-sheet.d.ts.map +1 -1
- package/dist/xlsx/edit/sparkline-grouping.d.ts +10 -0
- package/dist/xlsx/edit/sparkline-grouping.d.ts.map +1 -0
- package/dist/xlsx/edit/types.d.ts +21 -0
- package/dist/xlsx/edit/types.d.ts.map +1 -1
- package/dist/xlsx/formula/ets-drift-compare.d.ts +19 -0
- package/dist/xlsx/formula/ets-drift-compare.d.ts.map +1 -0
- package/dist/xlsx/formula/ets-excel-compare.d.ts +36 -0
- package/dist/xlsx/formula/ets-excel-compare.d.ts.map +1 -0
- package/dist/xlsx/formula/ets-init-compare.d.ts +24 -0
- package/dist/xlsx/formula/ets-init-compare.d.ts.map +1 -0
- package/dist/xlsx/formula/ets-init-maps.d.ts +21 -0
- package/dist/xlsx/formula/ets-init-maps.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/ets-core.d.ts +36 -0
- package/dist/xlsx/formula/functions/ets-core.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/ets-grid.d.ts +15 -0
- package/dist/xlsx/formula/functions/ets-grid.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/ets-init-chain.d.ts +11 -0
- package/dist/xlsx/formula/functions/ets-init-chain.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/ets-init-four.d.ts +3 -0
- package/dist/xlsx/formula/functions/ets-init-four.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/ets-init-short.d.ts +17 -0
- package/dist/xlsx/formula/functions/ets-init-short.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/ets-init-states.d.ts +5 -0
- package/dist/xlsx/formula/functions/ets-init-states.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/ets-init-three.d.ts +23 -0
- package/dist/xlsx/formula/functions/ets-init-three.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/ets-init-threeplus.d.ts +13 -0
- package/dist/xlsx/formula/functions/ets-init-threeplus.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/ets-init.d.ts +33 -0
- package/dist/xlsx/formula/functions/ets-init.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/ets-input.d.ts +13 -0
- package/dist/xlsx/formula/functions/ets-input.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/ets-search-map.d.ts +24 -0
- package/dist/xlsx/formula/functions/ets-search-map.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/ets-search.d.ts +17 -0
- package/dist/xlsx/formula/functions/ets-search.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/ets-season.d.ts +6 -0
- package/dist/xlsx/formula/functions/ets-season.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/ets-validate.d.ts +16 -0
- package/dist/xlsx/formula/functions/ets-validate.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/forecast-ets.d.ts +3 -0
- package/dist/xlsx/formula/functions/forecast-ets.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/statistical.d.ts.map +1 -1
- package/dist/xlsx/index.cjs +5118 -2648
- package/dist/xlsx/index.mjs +5097 -2649
- package/dist/xlsx/layout/form-control-link.d.ts +20 -0
- package/dist/xlsx/layout/form-control-link.d.ts.map +1 -0
- package/dist/xlsx/layout/form-control-state.d.ts +49 -0
- package/dist/xlsx/layout/form-control-state.d.ts.map +1 -0
- package/dist/xlsx/layout/form-control-view.d.ts +11 -0
- package/dist/xlsx/layout/form-control-view.d.ts.map +1 -0
- package/dist/xlsx/layout/header-footer-edit.d.ts +4 -2
- package/dist/xlsx/layout/header-footer-edit.d.ts.map +1 -1
- package/dist/xlsx/layout/header-footer.d.ts +16 -0
- package/dist/xlsx/layout/header-footer.d.ts.map +1 -1
- package/dist/xlsx/layout/index.d.ts +5 -0
- package/dist/xlsx/layout/index.d.ts.map +1 -1
- package/dist/xlsx/layout/ref-evaluator.d.ts +6 -0
- package/dist/xlsx/layout/ref-evaluator.d.ts.map +1 -1
- package/dist/xlsx/layout/shape-paint.d.ts +25 -0
- package/dist/xlsx/layout/shape-paint.d.ts.map +1 -0
- package/dist/xlsx/layout/shape-view.d.ts +15 -0
- package/dist/xlsx/layout/shape-view.d.ts.map +1 -0
- package/dist/xlsx/load/index.cjs +2667 -1163
- package/dist/xlsx/load/index.mjs +2667 -1163
- package/dist/xlsx/model-custom-views.d.ts +33 -0
- package/dist/xlsx/model-custom-views.d.ts.map +1 -0
- package/dist/xlsx/model-shapes.d.ts +78 -0
- package/dist/xlsx/model-shapes.d.ts.map +1 -0
- package/dist/xlsx/model.d.ts +38 -1
- package/dist/xlsx/model.d.ts.map +1 -1
- package/dist/xlsx/read/custom-views.d.ts +5 -0
- package/dist/xlsx/read/custom-views.d.ts.map +1 -0
- package/dist/xlsx/read/drawing.d.ts.map +1 -1
- package/dist/xlsx/read/form-control.d.ts +14 -0
- package/dist/xlsx/read/form-control.d.ts.map +1 -0
- package/dist/xlsx/read/header-footer-images.d.ts +5 -0
- package/dist/xlsx/read/header-footer-images.d.ts.map +1 -0
- package/dist/xlsx/read/load.d.ts.map +1 -1
- package/dist/xlsx/read/shape.d.ts +5 -0
- package/dist/xlsx/read/shape.d.ts.map +1 -0
- package/dist/xlsx/read/sheet-data.d.ts.map +1 -1
- package/dist/xlsx/read/workbook-part.d.ts +5 -1
- package/dist/xlsx/read/workbook-part.d.ts.map +1 -1
- package/dist/xlsx/read/worksheet-children.d.ts +3 -0
- package/dist/xlsx/read/worksheet-children.d.ts.map +1 -0
- package/dist/xlsx/read/worksheet.d.ts.map +1 -1
- package/dist/xlsx/ui/commands/i18n/sparklines.d.ts.map +1 -1
- package/dist/xlsx/ui/commands/i18n/what-if.d.ts.map +1 -1
- package/dist/xlsx/ui/commands/what-if.d.ts +0 -1
- package/dist/xlsx/ui/commands/what-if.d.ts.map +1 -1
- package/dist/xlsx/ui/dialogs/forecast-sheet.d.ts +51 -0
- package/dist/xlsx/ui/dialogs/forecast-sheet.d.ts.map +1 -0
- package/dist/xlsx/ui/dialogs/scenario-summary.d.ts +15 -0
- package/dist/xlsx/ui/dialogs/scenario-summary.d.ts.map +1 -0
- package/dist/xlsx/ui/index.cjs +5088 -2399
- package/dist/xlsx/ui/index.d.ts +2 -0
- package/dist/xlsx/ui/index.d.ts.map +1 -1
- package/dist/xlsx/ui/index.mjs +5081 -2398
- package/dist/xlsx/ui/locales/de/grid.d.ts.map +1 -1
- package/dist/xlsx/ui/locales/en/grid.d.ts.map +1 -1
- package/dist/xlsx/ui/locales/es/grid.d.ts.map +1 -1
- package/dist/xlsx/ui/locales/fr/grid.d.ts.map +1 -1
- package/dist/xlsx/ui/locales/zh-CN/grid.d.ts.map +1 -1
- package/dist/xlsx/write/custom-views.d.ts +4 -0
- package/dist/xlsx/write/custom-views.d.ts.map +1 -0
- package/dist/xlsx/write/drawing.d.ts.map +1 -1
- package/dist/xlsx/write/form-control.d.ts +4 -0
- package/dist/xlsx/write/form-control.d.ts.map +1 -0
- package/dist/xlsx/write/sheet-data.d.ts.map +1 -1
- package/dist/xlsx/write/workbook-part.d.ts.map +1 -1
- package/dist/xlsx/write/worksheet.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/PptxHandler-E4DDV3FQ.mjs +0 -4
- package/dist/pptx/chunks/index-PdM5zpmu.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ets-init-compare.d.ts","sourceRoot":"","sources":["../../../xlsx/formula/ets-init-compare.ts"],"names":[],"mappings":"AAYA,MAAM,WAAW,WAAW;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,EAAE,MAAM,EAAE,CAAC;IACZ,kDAAkD;IAClD,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,qFAAqF;IACrF,CAAC,EAAE,MAAM,EAAE,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,yFAAyF;IACzF,UAAU,EAAE,MAAM,CAAC;CACnB;AAiBD,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,WAAW,CA2C/F;AAED,2FAA2F;AAC3F,wBAAgB,cAAc,CAAC,IAAI,SAAwB,GAAG,WAAW,EAAE,CAc1E;AAED,0EAA0E;AAC1E,wBAAgB,kBAAkB,IAAI;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAAE,CAMnF"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface StartMap {
|
|
2
|
+
/** Group name, `s<season>-<length>` or `n<length>` without a season. */
|
|
3
|
+
key: string;
|
|
4
|
+
/** The probe file the group comes from (groups of the same name differ between files). */
|
|
5
|
+
source: string;
|
|
6
|
+
/** Season length, 0 without. */
|
|
7
|
+
m: number;
|
|
8
|
+
n: number;
|
|
9
|
+
/**
|
|
10
|
+
* Weights over the data of the level plus season plus trend per position (the fitted value for
|
|
11
|
+
* that position at time 0): one row per position, a single row without a season.
|
|
12
|
+
*/
|
|
13
|
+
z: number[][];
|
|
14
|
+
/** Weights of the starting trend. */
|
|
15
|
+
trend: number[];
|
|
16
|
+
/** Probes that could not be recovered or rebuilt (the map is incomplete when above 0). */
|
|
17
|
+
missing: number;
|
|
18
|
+
}
|
|
19
|
+
/** Every probe group of the four files with the map recovered from it. */
|
|
20
|
+
export declare function recoveredMaps(): StartMap[];
|
|
21
|
+
//# sourceMappingURL=ets-init-maps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ets-init-maps.d.ts","sourceRoot":"","sources":["../../../xlsx/formula/ets-init-maps.ts"],"names":[],"mappings":"AAUA,MAAM,WAAW,QAAQ;IACxB,wEAAwE;IACxE,GAAG,EAAE,MAAM,CAAC;IACZ,0FAA0F;IAC1F,MAAM,EAAE,MAAM,CAAC;IACf,gCAAgC;IAChC,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV;;;OAGG;IACH,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;IACd,qCAAqC;IACrC,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,0FAA0F;IAC1F,OAAO,EAAE,MAAM,CAAC;CAChB;AAsED,0EAA0E;AAC1E,wBAAgB,aAAa,IAAI,QAAQ,EAAE,CAc1C"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { type EtsInit } from './ets-init.js';
|
|
2
|
+
export interface EtsFit {
|
|
3
|
+
alpha: number;
|
|
4
|
+
beta: number;
|
|
5
|
+
gamma: number;
|
|
6
|
+
/** Season length; 0 when the model has no seasonal component. */
|
|
7
|
+
m: number;
|
|
8
|
+
/** One-step-ahead fitted values for every point of the series. */
|
|
9
|
+
fitted: number[];
|
|
10
|
+
level: number;
|
|
11
|
+
trend: number;
|
|
12
|
+
/** Seasonal state after the last point, indexed by `t mod m`. */
|
|
13
|
+
season: number[];
|
|
14
|
+
sse: number;
|
|
15
|
+
n: number;
|
|
16
|
+
}
|
|
17
|
+
export interface Smoothing {
|
|
18
|
+
alpha: number;
|
|
19
|
+
beta: number;
|
|
20
|
+
gamma: number;
|
|
21
|
+
}
|
|
22
|
+
/** Runs the filter. With `y` of zeros and a unit start state this is that state's response. */
|
|
23
|
+
export declare function etsRun(y: readonly number[], m: number, init: EtsInit, p: Smoothing): Omit<EtsFit, 'alpha' | 'beta' | 'gamma' | 'm' | 'n'>;
|
|
24
|
+
/** Fits alpha, beta and gamma: the choice among Excel's lattice is in `ets-search.ts`. */
|
|
25
|
+
export declare function fitEts(y: readonly number[], seasonLength: number): EtsFit;
|
|
26
|
+
/**
|
|
27
|
+
* How many trailing points Excel uses to measure the error statistics (none for fewer than 11
|
|
28
|
+
* points): 40% of the series, at most the larger of 10, two seasons and 20% of it. Fitted to the
|
|
29
|
+
* hold-outs of about 70 recorded series; the exact rule is not published.
|
|
30
|
+
*/
|
|
31
|
+
export declare function etsHoldout(n: number, m: number): number;
|
|
32
|
+
/** The point forecast `h` steps after the last point (h <= 0 reads the model line back from it). */
|
|
33
|
+
export declare function etsPredict(fit: EtsFit, h: number): number;
|
|
34
|
+
/** Standard deviation of the h-step forecast error (Hyndman's ETS(A,A,A) variance formula). */
|
|
35
|
+
export declare function etsErrorSd(fit: EtsFit, h: number): number;
|
|
36
|
+
//# sourceMappingURL=ets-core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ets-core.d.ts","sourceRoot":"","sources":["../../../../xlsx/formula/functions/ets-core.ts"],"names":[],"mappings":"AASA,OAAO,EAAiB,KAAK,OAAO,EAAE,MAAM,YAAY,CAAC;AAQzD,MAAM,WAAW,MAAM;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,CAAC,EAAE,MAAM,CAAC;IACV,kEAAkE;IAClE,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,CAAC,EAAE,MAAM,CAAC;CACV;AAED,MAAM,WAAW,SAAS;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACd;AAED,+FAA+F;AAC/F,wBAAgB,MAAM,CACrB,CAAC,EAAE,SAAS,MAAM,EAAE,EACpB,CAAC,EAAE,MAAM,EACT,IAAI,EAAE,OAAO,EACb,CAAC,EAAE,SAAS,GACV,IAAI,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,GAAG,GAAG,GAAG,CAAC,CAgBtD;AAKD,0FAA0F;AAC1F,wBAAgB,MAAM,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,CAiDzE;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAGvD;AAED,oGAAoG;AACpG,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAGzD;AAED,+FAA+F;AAC/F,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAUzD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface TimelineGrid {
|
|
2
|
+
/** Grid units between neighbouring points (days, or months on a calendar-month grid). */
|
|
3
|
+
step: number;
|
|
4
|
+
/** Grid position of each sorted time, relative to the first (0, ...). */
|
|
5
|
+
index: number[];
|
|
6
|
+
/** Position of any time on the grid; fractional between points. */
|
|
7
|
+
position: (time: number) => number;
|
|
8
|
+
/** The timeline value at grid position `i` (0 is the first time). */
|
|
9
|
+
timeAt: (i: number) => number;
|
|
10
|
+
/** The step reported by FORECAST.ETS.STAT (the first interval in days on a month grid). */
|
|
11
|
+
stepStat: number;
|
|
12
|
+
}
|
|
13
|
+
/** The grid of sorted, distinct `times`; fails with #NUM! when they are not evenly spaced. */
|
|
14
|
+
export declare function timelineGrid(times: readonly number[]): TimelineGrid;
|
|
15
|
+
//# sourceMappingURL=ets-grid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ets-grid.d.ts","sourceRoot":"","sources":["../../../../xlsx/formula/functions/ets-grid.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,YAAY;IAC5B,yFAAyF;IACzF,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,mEAAmE;IACnE,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IACnC,qEAAqE;IACrE,MAAM,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;IAC9B,2FAA2F;IAC3F,QAAQ,EAAE,MAAM,CAAC;CACjB;AAoBD,8FAA8F;AAC9F,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,GAAG,YAAY,CAgCnE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { EtsInit } from './ets-init.js';
|
|
2
|
+
export { chainSeasonals, chainStates } from './ets-init-states.js';
|
|
3
|
+
/** Whether `chainStart` is Excel's exact rule for a series of `n` values. */
|
|
4
|
+
export declare function isExactLength(n: number, m: number): boolean;
|
|
5
|
+
/**
|
|
6
|
+
* The start for a series of 4 or more seasons, for 3 seasons and up to `ceil(m / 2) + 1` more points and for
|
|
7
|
+
* exactly 2 seasons (seasons of 4 and more), or undefined for the rest. It is Excel's own except for
|
|
8
|
+
* 2 seasons plus a partial one and seasons of 2 or 3 below 4 seasons (`isExactLength` tells which).
|
|
9
|
+
*/
|
|
10
|
+
export declare function chainStart(y: readonly number[], m: number): EtsInit | undefined;
|
|
11
|
+
//# sourceMappingURL=ets-init-chain.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ets-init-chain.d.ts","sourceRoot":"","sources":["../../../../xlsx/formula/functions/ets-init-chain.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAqB1C,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAMhE,6EAA6E;AAC7E,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAY3D;AAUD;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CA2C/E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ets-init-four.d.ts","sourceRoot":"","sources":["../../../../xlsx/formula/functions/ets-init-four.ts"],"names":[],"mappings":"AAwBA,gEAAgE;AAChE,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAUjF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The first length at which Excel uses a season of `m` (shorter series are non-seasonal): the
|
|
3
|
+
* smallest `n` with `m + 1 <= 0.7 n`. Matches the first seasonal length of 15 seasons (2 to 16).
|
|
4
|
+
*/
|
|
5
|
+
export declare function seasonStart(m: number): number;
|
|
6
|
+
/** Whether `shortSeasonStart` is Excel's rule: from `seasonStart` up to 2 seasons minus 1 point. */
|
|
7
|
+
export declare function isShortSeasonLength(n: number, m: number): boolean;
|
|
8
|
+
/** The series padded to 2 seasons by the previous season's values. */
|
|
9
|
+
export declare function padTwoSeasons(y: readonly number[], m: number): number[];
|
|
10
|
+
/** Seasonal states relative to position 0 and the starting trend, see the header. */
|
|
11
|
+
export declare function shortSeasonStart(y: readonly number[], m: number): {
|
|
12
|
+
rel: number[];
|
|
13
|
+
trend: number;
|
|
14
|
+
};
|
|
15
|
+
/** The series a seasonal search measures its error over for `shortSeasonStart`. */
|
|
16
|
+
export declare function shortSearchSeries(y: readonly number[], m: number): number[];
|
|
17
|
+
//# sourceMappingURL=ets-init-short.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ets-init-short.d.ts","sourceRoot":"","sources":["../../../../xlsx/formula/functions/ets-init-short.ts"],"names":[],"mappings":"AAqBA;;;GAGG;AACH,wBAAgB,WAAW,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAE7C;AAED,oGAAoG;AACpG,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAEjE;AAED,sEAAsE;AACtE,wBAAgB,aAAa,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAIvE;AAcD,qFAAqF;AACrF,wBAAgB,gBAAgB,CAC/B,CAAC,EAAE,SAAS,MAAM,EAAE,EACpB,CAAC,EAAE,MAAM,GACP;IAAE,GAAG,EAAE,MAAM,EAAE,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAWlC;AAED,mFAAmF;AACnF,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAG3E"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Seasonal states by position (not yet relative to position 0), from the first `C * m` values. */
|
|
2
|
+
export declare function chainStates(y: readonly number[], m: number, seasons: number): number[];
|
|
3
|
+
/** Seasonal states relative to position 0 (`s[k] - s[0]`), from the first `C * m` values. */
|
|
4
|
+
export declare function chainSeasonals(y: readonly number[], m: number, seasons: number): number[];
|
|
5
|
+
//# sourceMappingURL=ets-init-states.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ets-init-states.d.ts","sourceRoot":"","sources":["../../../../xlsx/formula/functions/ets-init-states.ts"],"names":[],"mappings":"AAIA,mGAAmG;AACnG,wBAAgB,WAAW,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAkBtF;AAED,6FAA6F;AAC7F,wBAAgB,cAAc,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,CAIzF"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/** Whether `threeSeasonSeasonals` is Excel's rule for a series of `n` values with seasons of `m`. */
|
|
2
|
+
export declare function isThreeSeasonLength(n: number, m: number): boolean;
|
|
3
|
+
/** Seasonal states relative to position 0 (`s[k] - s[0]`), see `isThreeSeasonLength`. */
|
|
4
|
+
export declare function threeSeasonSeasonals(y: readonly number[], m: number, slopeSumOverride?: number): number[];
|
|
5
|
+
/** The series padded to `3m + ceil(m / 2)` points by `y[t - 3m] + 3m * (mean of S)`. */
|
|
6
|
+
export declare function padThreeSeasons(y: readonly number[], m: number, slopeMean?: number): number[];
|
|
7
|
+
/** The starting trend: slope of the series extended past 3 seasons, with the states removed. */
|
|
8
|
+
export declare function threeSeasonTrend(y: readonly number[], m: number, rel: readonly number[], slopeMean?: number): number;
|
|
9
|
+
/** Whether a series of exactly 2 seasons is started through the 3-season rule. */
|
|
10
|
+
export declare function isTwoSeasonLength(n: number, m: number): boolean;
|
|
11
|
+
/** Whether a series of 2 seasons plus a partial one is started through the 3-season rule. */
|
|
12
|
+
export declare function isTwoPlusLength(n: number, m: number): boolean;
|
|
13
|
+
/** The sum over the positions of their least-squares slopes (the 3-season rule's drift term). */
|
|
14
|
+
export declare function slopeSumOf(y: readonly number[], m: number): number;
|
|
15
|
+
/**
|
|
16
|
+
* Two seasons, or two seasons and a partial one, extended to three by `y[t - 2m] + 2m * b`, with b the
|
|
17
|
+
* mean over the positions of their least-squares slopes (for 2 whole seasons the slope of the
|
|
18
|
+
* regression with seasonal dummies).
|
|
19
|
+
*/
|
|
20
|
+
export declare function extendTwoSeasons(y: readonly number[], m: number): number[];
|
|
21
|
+
/** The series a seasonal search measures its error over, or undefined where no padding applies. */
|
|
22
|
+
export declare function paddedSearchSeries(y: readonly number[], m: number): number[] | undefined;
|
|
23
|
+
//# sourceMappingURL=ets-init-three.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ets-init-three.d.ts","sourceRoot":"","sources":["../../../../xlsx/formula/functions/ets-init-three.ts"],"names":[],"mappings":"AAmDA,qGAAqG;AACrG,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAEjE;AAED,yFAAyF;AACzF,wBAAgB,oBAAoB,CACnC,CAAC,EAAE,SAAS,MAAM,EAAE,EACpB,CAAC,EAAE,MAAM,EACT,gBAAgB,CAAC,EAAE,MAAM,GACvB,MAAM,EAAE,CAiCV;AAED,wFAAwF;AACxF,wBAAgB,eAAe,CAC9B,CAAC,EAAE,SAAS,MAAM,EAAE,EACpB,CAAC,EAAE,MAAM,EACT,SAAS,SAA6B,GACpC,MAAM,EAAE,CAMV;AAED,gGAAgG;AAChG,wBAAgB,gBAAgB,CAC/B,CAAC,EAAE,SAAS,MAAM,EAAE,EACpB,CAAC,EAAE,MAAM,EACT,GAAG,EAAE,SAAS,MAAM,EAAE,EACtB,SAAS,CAAC,EAAE,MAAM,GAChB,MAAM,CAWR;AAED,kFAAkF;AAClF,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAE/D;AAED,6FAA6F;AAC7F,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAE7D;AAED,iGAAiG;AACjG,wBAAgB,UAAU,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAElE;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAK1E;AAED,mGAAmG;AACnG,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,CAKxF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** Whether `threePlusSeasonals` is Excel's rule for `n` values with seasons of `m`. */
|
|
2
|
+
export declare function isThreePlusLength(n: number, m: number): boolean;
|
|
3
|
+
/** Whether `lowSeasonSeasonals` is Excel's rule: seasons of 2 from 5 points (2 seasons and 1), of 3 from 6, up to 4 seasons. */
|
|
4
|
+
export declare function isLowThreeLength(n: number, m: number): boolean;
|
|
5
|
+
/**
|
|
6
|
+
* Seasonal states relative to position 0 for seasons of 2 or 3 over 3 whole seasons and fewer than 4:
|
|
7
|
+
* the 3-season rule, with the template at the reference at time 0 (`-D_{-m}`) added to every other
|
|
8
|
+
* position.
|
|
9
|
+
*/
|
|
10
|
+
export declare function lowSeasonSeasonals(y: readonly number[], m: number, slopeSum?: number): number[];
|
|
11
|
+
/** Seasonal states relative to position 0, for lengths where `isThreePlusLength` holds. */
|
|
12
|
+
export declare function threePlusSeasonals(y: readonly number[], m: number): number[];
|
|
13
|
+
//# sourceMappingURL=ets-init-threeplus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ets-init-threeplus.d.ts","sourceRoot":"","sources":["../../../../xlsx/formula/functions/ets-init-threeplus.ts"],"names":[],"mappings":"AAaA,uFAAuF;AACvF,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAE/D;AAYD,gIAAgI;AAChI,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAE9D;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAI/F;AAED,2FAA2F;AAC3F,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAM5E"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { Smoothing } from './ets-core.js';
|
|
2
|
+
export interface EtsInit {
|
|
3
|
+
level: number;
|
|
4
|
+
trend: number;
|
|
5
|
+
season: number[];
|
|
6
|
+
}
|
|
7
|
+
type Runner = (y: readonly number[], m: number, init: EtsInit, p: Smoothing) => {
|
|
8
|
+
fitted: number[];
|
|
9
|
+
};
|
|
10
|
+
/** The least-squares slope of the series against 0, 1, 2, ... */
|
|
11
|
+
export declare function olsSlope(y: readonly number[]): number;
|
|
12
|
+
/**
|
|
13
|
+
* The points Excel appends to a series of 4 to 6 values before fitting the line, as `[source,
|
|
14
|
+
* lag]` pairs for the times 4 (if the series has 4 values), 5 and 6: the point is `y[source] +
|
|
15
|
+
* lag * slope`, with the slope the least-squares slope of the original values. Recovered exactly
|
|
16
|
+
* from the starting trends Excel's forecasts imply (ets-init-excel.test.ts, 90 series; the exact
|
|
17
|
+
* weights are (-8, -3, 2, 9) / 28 for 4 values, (-26, -13, -5, 13, 31) / 140 for 5 and
|
|
18
|
+
* (-90, -124, -53, 18, 89, 160) / 980 for 6). The 6-value row is a copy of the first point six
|
|
19
|
+
* steps on; the others are the unique decomposition of that form, not a derived rule.
|
|
20
|
+
*/
|
|
21
|
+
export declare const PADS: Record<number, readonly (readonly [number, number])[]>;
|
|
22
|
+
/**
|
|
23
|
+
* Starting trend of a series without a season: the least-squares slope, except that 4 to 6 values
|
|
24
|
+
* are first extended to 7 (`PADS`) and the line is fitted to all 7. Matches Excel to the last digit
|
|
25
|
+
* for 3 to 16 values.
|
|
26
|
+
*/
|
|
27
|
+
export declare function shortSeriesTrend(y: readonly number[]): number;
|
|
28
|
+
/** Solves `a x = b` by Gaussian elimination with partial pivoting (destroys its inputs). */
|
|
29
|
+
export declare function solveSystem(a: number[][], b: number[]): number[];
|
|
30
|
+
/** The initial states for these smoothing parameters. */
|
|
31
|
+
export declare function initialStates(y: readonly number[], m: number, p: Smoothing, run: Runner): EtsInit;
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=ets-init.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ets-init.d.ts","sourceRoot":"","sources":["../../../../xlsx/formula/functions/ets-init.ts"],"names":[],"mappings":"AAkCA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAG5C,MAAM,WAAW,OAAO;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,KAAK,MAAM,GAAG,CACb,CAAC,EAAE,SAAS,MAAM,EAAE,EACpB,CAAC,EAAE,MAAM,EACT,IAAI,EAAE,OAAO,EACb,CAAC,EAAE,SAAS,KACR;IAAE,MAAM,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AAO1B,iEAAiE;AACjE,wBAAgB,QAAQ,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CAWrD;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,CAWvE,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CAK7D;AAiBD,4FAA4F;AAC5F,wBAAgB,WAAW,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CA2BhE;AAED,yDAAyD;AACzD,wBAAgB,aAAa,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CA6BjG"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { CallContext } from '../context.js';
|
|
2
|
+
import { type Value } from '../values.js';
|
|
3
|
+
export interface EtsSeries {
|
|
4
|
+
/** Values on an evenly spaced grid. */
|
|
5
|
+
y: number[];
|
|
6
|
+
/** Position of a timeline value on the grid (0 is the first point); fractional between points. */
|
|
7
|
+
position: (time: number) => number;
|
|
8
|
+
/** The step in timeline units (the first interval in days for a calendar-month grid). */
|
|
9
|
+
step: number;
|
|
10
|
+
}
|
|
11
|
+
/** Validates `values` and `timeline` and returns the evenly spaced series (Excel's rules). */
|
|
12
|
+
export declare function etsSeries(ctx: CallContext, values: Value, timeline: Value, completion: number, aggregation: number): EtsSeries;
|
|
13
|
+
//# sourceMappingURL=ets-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ets-input.d.ts","sourceRoot":"","sources":["../../../../xlsx/formula/functions/ets-input.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAsB,KAAK,KAAK,EAAE,MAAM,WAAW,CAAC;AAG3D,MAAM,WAAW,SAAS;IACzB,uCAAuC;IACvC,CAAC,EAAE,MAAM,EAAE,CAAC;IACZ,kGAAkG;IAClG,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IACnC,yFAAyF;IACzF,IAAI,EAAE,MAAM,CAAC;CACb;AA0CD,8FAA8F;AAC9F,wBAAgB,SAAS,CACxB,GAAG,EAAE,WAAW,EAChB,MAAM,EAAE,KAAK,EACb,QAAQ,EAAE,KAAK,EACf,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,GACjB,SAAS,CAkDX"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface Outcome {
|
|
2
|
+
/** The alpha FORECAST.ETS.STAT reports. */
|
|
3
|
+
alpha: number;
|
|
4
|
+
/** The beta it reports. */
|
|
5
|
+
beta: number;
|
|
6
|
+
/** The pair the error statistics are measured with. */
|
|
7
|
+
fit: readonly [number, number];
|
|
8
|
+
/** Excel forecasts from the last value plus the least-squares slope. */
|
|
9
|
+
drift: boolean;
|
|
10
|
+
}
|
|
11
|
+
/** Candidates in the order they are tried (a later one wins only by a strictly lower cost). */
|
|
12
|
+
export declare const CANDIDATES: readonly (readonly [number, number])[];
|
|
13
|
+
/** What tells a drifting series from a trending one (see `reportedFor`). */
|
|
14
|
+
export interface TrendShape {
|
|
15
|
+
/** |mean of the hold-out - mean of the training part| in standard deviations of the series. */
|
|
16
|
+
shift: number;
|
|
17
|
+
/** |t statistic| of the least-squares slope. */
|
|
18
|
+
t: number;
|
|
19
|
+
}
|
|
20
|
+
/** The shape of `y` for a hold-out of `h` trailing points (a third of the series when h is 0). */
|
|
21
|
+
export declare function trendShape(y: readonly number[], h: number): TrendShape;
|
|
22
|
+
/** What Excel reports when the lowest cost of the lattice is at (alpha, beta). */
|
|
23
|
+
export declare function reportedFor(alpha: number, beta: number, shape: TrendShape): Outcome;
|
|
24
|
+
//# sourceMappingURL=ets-search-map.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ets-search-map.d.ts","sourceRoot":"","sources":["../../../../xlsx/formula/functions/ets-search-map.ts"],"names":[],"mappings":"AAmBA,MAAM,WAAW,OAAO;IACvB,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,uDAAuD;IACvD,GAAG,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,wEAAwE;IACxE,KAAK,EAAE,OAAO,CAAC;CACf;AAQD,+FAA+F;AAC/F,eAAO,MAAM,UAAU,EAAE,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAoB5D,CAAC;AAgBF,4EAA4E;AAC5E,MAAM,WAAW,UAAU;IAC1B,+FAA+F;IAC/F,KAAK,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,CAAC,EAAE,MAAM,CAAC;CACV;AAED,kGAAkG;AAClG,wBAAgB,UAAU,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,GAAG,UAAU,CA0BtE;AAED,kFAAkF;AAClF,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,GAAG,OAAO,CAQnF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Smoothing } from './ets-core.js';
|
|
2
|
+
import { type TrendShape } from './ets-search-map.js';
|
|
3
|
+
export interface Chosen extends Smoothing {
|
|
4
|
+
/** Excel's forecast for this fit is the last value plus the least-squares slope (alpha 1, beta 0). */
|
|
5
|
+
drift: boolean;
|
|
6
|
+
/** The pair the error statistics are measured with when it is not the reported one. */
|
|
7
|
+
fit?: Smoothing;
|
|
8
|
+
}
|
|
9
|
+
export declare const LOW = 0.001;
|
|
10
|
+
type Cost = (p: Smoothing) => number;
|
|
11
|
+
/**
|
|
12
|
+
* Chooses alpha, beta and gamma. `cost` is the training-plus-hold-out squared error of a parameter
|
|
13
|
+
* set (`ets-validate.ts`); `m` is the season length (0 for none) and `n` the number of points.
|
|
14
|
+
*/
|
|
15
|
+
export declare function chooseSmoothing(n: number, m: number, cost: Cost, shape?: TrendShape): Chosen;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=ets-search.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ets-search.d.ts","sourceRoot":"","sources":["../../../../xlsx/formula/functions/ets-search.ts"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAG5C,OAAO,EAA2B,KAAK,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE5E,MAAM,WAAW,MAAO,SAAQ,SAAS;IACxC,sGAAsG;IACtG,KAAK,EAAE,OAAO,CAAC;IACf,uFAAuF;IACvF,GAAG,CAAC,EAAE,SAAS,CAAC;CAChB;AAED,eAAO,MAAM,GAAG,QAAQ,CAAC;AAkBzB,KAAK,IAAI,GAAG,CAAC,CAAC,EAAE,SAAS,KAAK,MAAM,CAAC;AA2GrC;;;GAGG;AACH,wBAAgB,eAAe,CAC9B,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,IAAI,EAAE,IAAI,EACV,KAAK,GAAE,UAAgC,GACrC,MAAM,CAKR"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ets-season.d.ts","sourceRoot":"","sources":["../../../../xlsx/formula/functions/ets-season.ts"],"names":[],"mappings":"AA0CA;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CAwBnE"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type EtsInit } from './ets-init.js';
|
|
2
|
+
interface Params {
|
|
3
|
+
alpha: number;
|
|
4
|
+
beta: number;
|
|
5
|
+
gamma: number;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The series Excel's search measures the one-step error over: 4 to 6 values are extended to 7 with
|
|
9
|
+
* the same points the starting trend uses, and the search then picks Excel's parameters on all of
|
|
10
|
+
* the 40 recorded series of 4 to 7 values (on the values alone it picks 29).
|
|
11
|
+
*/
|
|
12
|
+
export declare function etsSearchSeries(y: readonly number[]): readonly number[];
|
|
13
|
+
/** The training-plus-hold-out squared error of the additive filter for these parameters. */
|
|
14
|
+
export declare function etsValidationCost(y: readonly number[], m: number, init: EtsInit, p: Params, holdout: number): number;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=ets-validate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ets-validate.d.ts","sourceRoot":"","sources":["../../../../xlsx/formula/functions/ets-validate.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,OAAO,EAAkB,MAAM,YAAY,CAAC;AAE1D,UAAU,MAAM;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACd;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,CAKvE;AAED,4FAA4F;AAC5F,wBAAgB,iBAAiB,CAChC,CAAC,EAAE,SAAS,MAAM,EAAE,EACpB,CAAC,EAAE,MAAM,EACT,IAAI,EAAE,OAAO,EACb,CAAC,EAAE,MAAM,EACT,OAAO,EAAE,MAAM,GACb,MAAM,CAoBR"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forecast-ets.d.ts","sourceRoot":"","sources":["../../../../xlsx/formula/functions/forecast-ets.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAkF5C,eAAO,MAAM,sBAAsB,EAAE,YAAY,EAgEhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statistical.d.ts","sourceRoot":"","sources":["../../../../xlsx/formula/functions/statistical.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"statistical.d.ts","sourceRoot":"","sources":["../../../../xlsx/formula/functions/statistical.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAW5C,eAAO,MAAM,qBAAqB,EAAE,YAAY,EAuL/C,CAAC"}
|