@mog-sdk/spreadsheet-contracts 0.1.12
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/accessibility/index.d.ts +9 -0
- package/dist/accessibility/index.d.ts.map +1 -0
- package/dist/accessibility/types.d.ts +75 -0
- package/dist/accessibility/types.d.ts.map +1 -0
- package/dist/actions/comments.d.ts +31 -0
- package/dist/actions/comments.d.ts.map +1 -0
- package/dist/actions/index.d.ts +22 -0
- package/dist/actions/index.d.ts.map +1 -0
- package/dist/actions/types.d.ts +448 -0
- package/dist/actions/types.d.ts.map +1 -0
- package/dist/actors/chart.d.ts +88 -0
- package/dist/actors/chart.d.ts.map +1 -0
- package/dist/actors/clipboard.d.ts +243 -0
- package/dist/actors/clipboard.d.ts.map +1 -0
- package/dist/actors/commands.d.ts +1343 -0
- package/dist/actors/commands.d.ts.map +1 -0
- package/dist/actors/comment.d.ts +84 -0
- package/dist/actors/comment.d.ts.map +1 -0
- package/dist/actors/draw-border.d.ts +89 -0
- package/dist/actors/draw-border.d.ts.map +1 -0
- package/dist/actors/editor.d.ts +161 -0
- package/dist/actors/editor.d.ts.map +1 -0
- package/dist/actors/find-replace.d.ts +88 -0
- package/dist/actors/find-replace.d.ts.map +1 -0
- package/dist/actors/focus.d.ts +91 -0
- package/dist/actors/focus.d.ts.map +1 -0
- package/dist/actors/index.d.ts +88 -0
- package/dist/actors/index.d.ts.map +1 -0
- package/dist/actors/input.d.ts +98 -0
- package/dist/actors/input.d.ts.map +1 -0
- package/dist/actors/object-interaction.d.ts +163 -0
- package/dist/actors/object-interaction.d.ts.map +1 -0
- package/dist/actors/object.d.ts +124 -0
- package/dist/actors/object.d.ts.map +1 -0
- package/dist/actors/page-break.d.ts +64 -0
- package/dist/actors/page-break.d.ts.map +1 -0
- package/dist/actors/pane-focus.d.ts +56 -0
- package/dist/actors/pane-focus.d.ts.map +1 -0
- package/dist/actors/renderer.d.ts +197 -0
- package/dist/actors/renderer.d.ts.map +1 -0
- package/dist/actors/selection.d.ts +170 -0
- package/dist/actors/selection.d.ts.map +1 -0
- package/dist/actors/slicer.d.ts +175 -0
- package/dist/actors/slicer.d.ts.map +1 -0
- package/dist/actors/smartart.d.ts +48 -0
- package/dist/actors/smartart.d.ts.map +1 -0
- package/dist/api/index.d.ts +19 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/mutation-receipt.d.ts +26 -0
- package/dist/api/mutation-receipt.d.ts.map +1 -0
- package/dist/api/types.d.ts +1542 -0
- package/dist/api/types.d.ts.map +1 -0
- package/dist/api/workbook/history.d.ts +43 -0
- package/dist/api/workbook/history.d.ts.map +1 -0
- package/dist/api/workbook/index.d.ts +17 -0
- package/dist/api/workbook/index.d.ts.map +1 -0
- package/dist/api/workbook/names.d.ts +104 -0
- package/dist/api/workbook/names.d.ts.map +1 -0
- package/dist/api/workbook/notifications.d.ts +35 -0
- package/dist/api/workbook/notifications.d.ts.map +1 -0
- package/dist/api/workbook/protection.d.ts +14 -0
- package/dist/api/workbook/protection.d.ts.map +1 -0
- package/dist/api/workbook/scenarios.d.ts +45 -0
- package/dist/api/workbook/scenarios.d.ts.map +1 -0
- package/dist/api/workbook/sheets.d.ts +74 -0
- package/dist/api/workbook/sheets.d.ts.map +1 -0
- package/dist/api/workbook/slicers.d.ts +63 -0
- package/dist/api/workbook/slicers.d.ts.map +1 -0
- package/dist/api/workbook/styles.d.ts +19 -0
- package/dist/api/workbook/styles.d.ts.map +1 -0
- package/dist/api/workbook/theme.d.ts +38 -0
- package/dist/api/workbook/theme.d.ts.map +1 -0
- package/dist/api/workbook/viewport.d.ts +85 -0
- package/dist/api/workbook/viewport.d.ts.map +1 -0
- package/dist/api/workbook.d.ts +279 -0
- package/dist/api/workbook.d.ts.map +1 -0
- package/dist/api/worksheet/bindings.d.ts +66 -0
- package/dist/api/worksheet/bindings.d.ts.map +1 -0
- package/dist/api/worksheet/changes.d.ts +60 -0
- package/dist/api/worksheet/changes.d.ts.map +1 -0
- package/dist/api/worksheet/charts.d.ts +83 -0
- package/dist/api/worksheet/charts.d.ts.map +1 -0
- package/dist/api/worksheet/collections/connector-collection.d.ts +7 -0
- package/dist/api/worksheet/collections/connector-collection.d.ts.map +1 -0
- package/dist/api/worksheet/collections/drawing-collection.d.ts +9 -0
- package/dist/api/worksheet/collections/drawing-collection.d.ts.map +1 -0
- package/dist/api/worksheet/collections/equation-collection.d.ts +8 -0
- package/dist/api/worksheet/collections/equation-collection.d.ts.map +1 -0
- package/dist/api/worksheet/collections/index.d.ts +12 -0
- package/dist/api/worksheet/collections/index.d.ts.map +1 -0
- package/dist/api/worksheet/collections/object-collection.d.ts +45 -0
- package/dist/api/worksheet/collections/object-collection.d.ts.map +1 -0
- package/dist/api/worksheet/collections/picture-collection.d.ts +8 -0
- package/dist/api/worksheet/collections/picture-collection.d.ts.map +1 -0
- package/dist/api/worksheet/collections/shape-collection.d.ts +8 -0
- package/dist/api/worksheet/collections/shape-collection.d.ts.map +1 -0
- package/dist/api/worksheet/collections/textbox-collection.d.ts +8 -0
- package/dist/api/worksheet/collections/textbox-collection.d.ts.map +1 -0
- package/dist/api/worksheet/collections/wordart-collection.d.ts +8 -0
- package/dist/api/worksheet/collections/wordart-collection.d.ts.map +1 -0
- package/dist/api/worksheet/comments.d.ts +143 -0
- package/dist/api/worksheet/comments.d.ts.map +1 -0
- package/dist/api/worksheet/conditional-formats.d.ts +101 -0
- package/dist/api/worksheet/conditional-formats.d.ts.map +1 -0
- package/dist/api/worksheet/filters.d.ts +141 -0
- package/dist/api/worksheet/filters.d.ts.map +1 -0
- package/dist/api/worksheet/form-controls.d.ts +22 -0
- package/dist/api/worksheet/form-controls.d.ts.map +1 -0
- package/dist/api/worksheet/format-mappings.d.ts +50 -0
- package/dist/api/worksheet/format-mappings.d.ts.map +1 -0
- package/dist/api/worksheet/formats.d.ts +136 -0
- package/dist/api/worksheet/formats.d.ts.map +1 -0
- package/dist/api/worksheet/handles/chart-handle.d.ts +11 -0
- package/dist/api/worksheet/handles/chart-handle.d.ts.map +1 -0
- package/dist/api/worksheet/handles/connector-handle.d.ts +9 -0
- package/dist/api/worksheet/handles/connector-handle.d.ts.map +1 -0
- package/dist/api/worksheet/handles/drawing-handle.d.ts +14 -0
- package/dist/api/worksheet/handles/drawing-handle.d.ts.map +1 -0
- package/dist/api/worksheet/handles/equation-handle.d.ts +9 -0
- package/dist/api/worksheet/handles/equation-handle.d.ts.map +1 -0
- package/dist/api/worksheet/handles/floating-object-handle.d.ts +75 -0
- package/dist/api/worksheet/handles/floating-object-handle.d.ts.map +1 -0
- package/dist/api/worksheet/handles/index.d.ts +16 -0
- package/dist/api/worksheet/handles/index.d.ts.map +1 -0
- package/dist/api/worksheet/handles/ole-object-handle.d.ts +10 -0
- package/dist/api/worksheet/handles/ole-object-handle.d.ts.map +1 -0
- package/dist/api/worksheet/handles/picture-handle.d.ts +9 -0
- package/dist/api/worksheet/handles/picture-handle.d.ts.map +1 -0
- package/dist/api/worksheet/handles/shape-handle.d.ts +11 -0
- package/dist/api/worksheet/handles/shape-handle.d.ts.map +1 -0
- package/dist/api/worksheet/handles/slicer-handle.d.ts +13 -0
- package/dist/api/worksheet/handles/slicer-handle.d.ts.map +1 -0
- package/dist/api/worksheet/handles/smartart-handle.d.ts +11 -0
- package/dist/api/worksheet/handles/smartart-handle.d.ts.map +1 -0
- package/dist/api/worksheet/handles/textbox-handle.d.ts +9 -0
- package/dist/api/worksheet/handles/textbox-handle.d.ts.map +1 -0
- package/dist/api/worksheet/handles/wordart-handle.d.ts +10 -0
- package/dist/api/worksheet/handles/wordart-handle.d.ts.map +1 -0
- package/dist/api/worksheet/hyperlinks.d.ts +52 -0
- package/dist/api/worksheet/hyperlinks.d.ts.map +1 -0
- package/dist/api/worksheet/index.d.ts +35 -0
- package/dist/api/worksheet/index.d.ts.map +1 -0
- package/dist/api/worksheet/internal.d.ts +105 -0
- package/dist/api/worksheet/internal.d.ts.map +1 -0
- package/dist/api/worksheet/layout.d.ts +150 -0
- package/dist/api/worksheet/layout.d.ts.map +1 -0
- package/dist/api/worksheet/names.d.ts +52 -0
- package/dist/api/worksheet/names.d.ts.map +1 -0
- package/dist/api/worksheet/objects.d.ts +124 -0
- package/dist/api/worksheet/objects.d.ts.map +1 -0
- package/dist/api/worksheet/outline.d.ts +101 -0
- package/dist/api/worksheet/outline.d.ts.map +1 -0
- package/dist/api/worksheet/pivots.d.ts +257 -0
- package/dist/api/worksheet/pivots.d.ts.map +1 -0
- package/dist/api/worksheet/print.d.ts +108 -0
- package/dist/api/worksheet/print.d.ts.map +1 -0
- package/dist/api/worksheet/protection.d.ts +73 -0
- package/dist/api/worksheet/protection.d.ts.map +1 -0
- package/dist/api/worksheet/settings.d.ts +54 -0
- package/dist/api/worksheet/settings.d.ts.map +1 -0
- package/dist/api/worksheet/slicers.d.ts +101 -0
- package/dist/api/worksheet/slicers.d.ts.map +1 -0
- package/dist/api/worksheet/smartart.d.ts +49 -0
- package/dist/api/worksheet/smartart.d.ts.map +1 -0
- package/dist/api/worksheet/sparklines.d.ts +143 -0
- package/dist/api/worksheet/sparklines.d.ts.map +1 -0
- package/dist/api/worksheet/structure.d.ts +44 -0
- package/dist/api/worksheet/structure.d.ts.map +1 -0
- package/dist/api/worksheet/tables.d.ts +313 -0
- package/dist/api/worksheet/tables.d.ts.map +1 -0
- package/dist/api/worksheet/validation.d.ts +101 -0
- package/dist/api/worksheet/validation.d.ts.map +1 -0
- package/dist/api/worksheet/view.d.ts +91 -0
- package/dist/api/worksheet/view.d.ts.map +1 -0
- package/dist/api/worksheet.d.ts +370 -0
- package/dist/api/worksheet.d.ts.map +1 -0
- package/dist/app/index.d.ts +17 -0
- package/dist/app/index.d.ts.map +1 -0
- package/dist/app/types.d.ts +349 -0
- package/dist/app/types.d.ts.map +1 -0
- package/dist/apps/api.d.ts +519 -0
- package/dist/apps/api.d.ts.map +1 -0
- package/dist/apps/bindings.d.ts +72 -0
- package/dist/apps/bindings.d.ts.map +1 -0
- package/dist/apps/index.d.ts +13 -0
- package/dist/apps/index.d.ts.map +1 -0
- package/dist/apps/types.d.ts +224 -0
- package/dist/apps/types.d.ts.map +1 -0
- package/dist/apps/views.d.ts +142 -0
- package/dist/apps/views.d.ts.map +1 -0
- package/dist/bridges/chart-bridge.d.ts +172 -0
- package/dist/bridges/chart-bridge.d.ts.map +1 -0
- package/dist/bridges/equation-bridge.d.ts +74 -0
- package/dist/bridges/equation-bridge.d.ts.map +1 -0
- package/dist/bridges/index.d.ts +25 -0
- package/dist/bridges/index.d.ts.map +1 -0
- package/dist/bridges/ink-recognition-bridge.d.ts +142 -0
- package/dist/bridges/ink-recognition-bridge.d.ts.map +1 -0
- package/dist/bridges/locale-bridge.d.ts +93 -0
- package/dist/bridges/locale-bridge.d.ts.map +1 -0
- package/dist/bridges/pivot-bridge.d.ts +201 -0
- package/dist/bridges/pivot-bridge.d.ts.map +1 -0
- package/dist/bridges/schema-bridge.d.ts +137 -0
- package/dist/bridges/schema-bridge.d.ts.map +1 -0
- package/dist/bridges/smartart-bridge.d.ts +217 -0
- package/dist/bridges/smartart-bridge.d.ts.map +1 -0
- package/dist/bridges/wordart-bridge.d.ts +86 -0
- package/dist/bridges/wordart-bridge.d.ts.map +1 -0
- package/dist/capabilities/errors.d.ts +16 -0
- package/dist/capabilities/errors.d.ts.map +1 -0
- package/dist/capabilities/gated-api.d.ts +355 -0
- package/dist/capabilities/gated-api.d.ts.map +1 -0
- package/dist/capabilities/grants.d.ts +239 -0
- package/dist/capabilities/grants.d.ts.map +1 -0
- package/dist/capabilities/index.d.ts +24 -0
- package/dist/capabilities/index.d.ts.map +1 -0
- package/dist/capabilities/manifest.d.ts +128 -0
- package/dist/capabilities/manifest.d.ts.map +1 -0
- package/dist/capabilities/requester.d.ts +209 -0
- package/dist/capabilities/requester.d.ts.map +1 -0
- package/dist/capabilities/scope.d.ts +55 -0
- package/dist/capabilities/scope.d.ts.map +1 -0
- package/dist/capabilities/sensitive.d.ts +279 -0
- package/dist/capabilities/sensitive.d.ts.map +1 -0
- package/dist/capabilities/taxonomy.d.ts +15 -0
- package/dist/capabilities/taxonomy.d.ts.map +1 -0
- package/dist/capabilities/types.d.ts +91 -0
- package/dist/capabilities/types.d.ts.map +1 -0
- package/dist/cells/cell-identity.d.ts +281 -0
- package/dist/cells/cell-identity.d.ts.map +1 -0
- package/dist/cells/cell-style.d.ts +67 -0
- package/dist/cells/cell-style.d.ts.map +1 -0
- package/dist/cells/formula-string.d.ts +37 -0
- package/dist/cells/formula-string.d.ts.map +1 -0
- package/dist/cells/index.d.ts +7 -0
- package/dist/cells/index.d.ts.map +1 -0
- package/dist/cells/range-ref.d.ts +77 -0
- package/dist/cells/range-ref.d.ts.map +1 -0
- package/dist/cells/rich-text.d.ts +66 -0
- package/dist/cells/rich-text.d.ts.map +1 -0
- package/dist/cells/spill.d.ts +121 -0
- package/dist/cells/spill.d.ts.map +1 -0
- package/dist/conditional-format/index.d.ts +11 -0
- package/dist/conditional-format/index.d.ts.map +1 -0
- package/dist/conditional-format/presets.d.ts +54 -0
- package/dist/conditional-format/presets.d.ts.map +1 -0
- package/dist/conditional-format/range-utils.d.ts +11 -0
- package/dist/conditional-format/range-utils.d.ts.map +1 -0
- package/dist/conditional-format/render-types.d.ts +80 -0
- package/dist/conditional-format/render-types.d.ts.map +1 -0
- package/dist/connections/api-errors.d.ts +29 -0
- package/dist/connections/api-errors.d.ts.map +1 -0
- package/dist/connections/api.d.ts +879 -0
- package/dist/connections/api.d.ts.map +1 -0
- package/dist/connections/database-bridge-types.d.ts +108 -0
- package/dist/connections/database-bridge-types.d.ts.map +1 -0
- package/dist/connections/index.d.ts +5 -0
- package/dist/connections/index.d.ts.map +1 -0
- package/dist/connections/power-query.d.ts +1 -0
- package/dist/connections/power-query.d.ts.map +1 -0
- package/dist/connections/query.d.ts +144 -0
- package/dist/connections/query.d.ts.map +1 -0
- package/dist/context-menu/index.d.ts +10 -0
- package/dist/context-menu/index.d.ts.map +1 -0
- package/dist/context-menu/types.d.ts +28 -0
- package/dist/context-menu/types.d.ts.map +1 -0
- package/dist/core/commands.d.ts +143 -0
- package/dist/core/commands.d.ts.map +1 -0
- package/dist/core/core.d.ts +943 -0
- package/dist/core/core.d.ts.map +1 -0
- package/dist/core/disposable.d.ts +30 -0
- package/dist/core/disposable.d.ts.map +1 -0
- package/dist/core/event-base.d.ts +31 -0
- package/dist/core/event-base.d.ts.map +1 -0
- package/dist/core/execution.d.ts +79 -0
- package/dist/core/execution.d.ts.map +1 -0
- package/dist/core/formatted-text.d.ts +8 -0
- package/dist/core/formatted-text.d.ts.map +1 -0
- package/dist/core/index.d.ts +10 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/result.d.ts +23 -0
- package/dist/core/result.d.ts.map +1 -0
- package/dist/core/schema.d.ts +360 -0
- package/dist/core/schema.d.ts.map +1 -0
- package/dist/core/testing.d.ts +309 -0
- package/dist/core/testing.d.ts.map +1 -0
- package/dist/culture/index.d.ts +11 -0
- package/dist/culture/index.d.ts.map +1 -0
- package/dist/culture/types.d.ts +320 -0
- package/dist/culture/types.d.ts.map +1 -0
- package/dist/data/charts.d.ts +412 -0
- package/dist/data/charts.d.ts.map +1 -0
- package/dist/data/conditional-format.d.ts +188 -0
- package/dist/data/conditional-format.d.ts.map +1 -0
- package/dist/data/filter.d.ts +364 -0
- package/dist/data/filter.d.ts.map +1 -0
- package/dist/data/grouping.d.ts +170 -0
- package/dist/data/grouping.d.ts.map +1 -0
- package/dist/data/index.d.ts +12 -0
- package/dist/data/index.d.ts.map +1 -0
- package/dist/data/named-ranges.d.ts +104 -0
- package/dist/data/named-ranges.d.ts.map +1 -0
- package/dist/data/pivot.d.ts +68 -0
- package/dist/data/pivot.d.ts.map +1 -0
- package/dist/data/slicers.d.ts +417 -0
- package/dist/data/slicers.d.ts.map +1 -0
- package/dist/data/sorting.d.ts +172 -0
- package/dist/data/sorting.d.ts.map +1 -0
- package/dist/data/sparklines.d.ts +358 -0
- package/dist/data/sparklines.d.ts.map +1 -0
- package/dist/data/tables.d.ts +333 -0
- package/dist/data/tables.d.ts.map +1 -0
- package/dist/data/trace-arrows.d.ts +165 -0
- package/dist/data/trace-arrows.d.ts.map +1 -0
- package/dist/diagnostics/core.d.ts +219 -0
- package/dist/diagnostics/core.d.ts.map +1 -0
- package/dist/diagnostics/index.d.ts +9 -0
- package/dist/diagnostics/index.d.ts.map +1 -0
- package/dist/diagnostics/style.d.ts +196 -0
- package/dist/diagnostics/style.d.ts.map +1 -0
- package/dist/document/comments.d.ts +109 -0
- package/dist/document/comments.d.ts.map +1 -0
- package/dist/document/document.d.ts +182 -0
- package/dist/document/document.d.ts.map +1 -0
- package/dist/document/index.d.ts +5 -0
- package/dist/document/index.d.ts.map +1 -0
- package/dist/document/protection.d.ts +114 -0
- package/dist/document/protection.d.ts.map +1 -0
- package/dist/document/search.d.ts +202 -0
- package/dist/document/search.d.ts.map +1 -0
- package/dist/drawing/index.d.ts +8 -0
- package/dist/drawing/index.d.ts.map +1 -0
- package/dist/drawing/three-d.d.ts +171 -0
- package/dist/drawing/three-d.d.ts.map +1 -0
- package/dist/editor/drag.d.ts +178 -0
- package/dist/editor/drag.d.ts.map +1 -0
- package/dist/editor/editor.d.ts +59 -0
- package/dist/editor/editor.d.ts.map +1 -0
- package/dist/editor/form-controls.d.ts +428 -0
- package/dist/editor/form-controls.d.ts.map +1 -0
- package/dist/editor/index.d.ts +4 -0
- package/dist/editor/index.d.ts.map +1 -0
- package/dist/equation/errors.d.ts +19 -0
- package/dist/equation/errors.d.ts.map +1 -0
- package/dist/equation/index.d.ts +12 -0
- package/dist/equation/index.d.ts.map +1 -0
- package/dist/equation/omml-ast.d.ts +358 -0
- package/dist/equation/omml-ast.d.ts.map +1 -0
- package/dist/equation/templates.d.ts +26 -0
- package/dist/equation/templates.d.ts.map +1 -0
- package/dist/equation/types.d.ts +87 -0
- package/dist/equation/types.d.ts.map +1 -0
- package/dist/events/canvas-object-events.d.ts +31 -0
- package/dist/events/canvas-object-events.d.ts.map +1 -0
- package/dist/events/cell-events.d.ts +60 -0
- package/dist/events/cell-events.d.ts.map +1 -0
- package/dist/events/chart-events.d.ts +61 -0
- package/dist/events/chart-events.d.ts.map +1 -0
- package/dist/events/comment-events.d.ts +43 -0
- package/dist/events/comment-events.d.ts.map +1 -0
- package/dist/events/conditional-formatting-events.d.ts +40 -0
- package/dist/events/conditional-formatting-events.d.ts.map +1 -0
- package/dist/events/data-tools-events.d.ts +29 -0
- package/dist/events/data-tools-events.d.ts.map +1 -0
- package/dist/events/file-io-events.d.ts +39 -0
- package/dist/events/file-io-events.d.ts.map +1 -0
- package/dist/events/filter-events.d.ts +43 -0
- package/dist/events/filter-events.d.ts.map +1 -0
- package/dist/events/floating-object-events.d.ts +158 -0
- package/dist/events/floating-object-events.d.ts.map +1 -0
- package/dist/events/grouping-events.d.ts +75 -0
- package/dist/events/grouping-events.d.ts.map +1 -0
- package/dist/events/index.d.ts +129 -0
- package/dist/events/index.d.ts.map +1 -0
- package/dist/events/ink-collaboration-events.d.ts +57 -0
- package/dist/events/ink-collaboration-events.d.ts.map +1 -0
- package/dist/events/ink-events.d.ts +33 -0
- package/dist/events/ink-events.d.ts.map +1 -0
- package/dist/events/ink-recognition-events.d.ts +149 -0
- package/dist/events/ink-recognition-events.d.ts.map +1 -0
- package/dist/events/ink-stroke-events.d.ts +197 -0
- package/dist/events/ink-stroke-events.d.ts.map +1 -0
- package/dist/events/merge-events.d.ts +46 -0
- package/dist/events/merge-events.d.ts.map +1 -0
- package/dist/events/named-range-events.d.ts +24 -0
- package/dist/events/named-range-events.d.ts.map +1 -0
- package/dist/events/pivot-events.d.ts +47 -0
- package/dist/events/pivot-events.d.ts.map +1 -0
- package/dist/events/print-events.d.ts +75 -0
- package/dist/events/print-events.d.ts.map +1 -0
- package/dist/events/recalc-events.d.ts +20 -0
- package/dist/events/recalc-events.d.ts.map +1 -0
- package/dist/events/scenario-events.d.ts +37 -0
- package/dist/events/scenario-events.d.ts.map +1 -0
- package/dist/events/selection-events.d.ts +16 -0
- package/dist/events/selection-events.d.ts.map +1 -0
- package/dist/events/settings-events.d.ts +41 -0
- package/dist/events/settings-events.d.ts.map +1 -0
- package/dist/events/sheet-events.d.ts +68 -0
- package/dist/events/sheet-events.d.ts.map +1 -0
- package/dist/events/slicer-events.d.ts +47 -0
- package/dist/events/slicer-events.d.ts.map +1 -0
- package/dist/events/smartart-events.d.ts +222 -0
- package/dist/events/smartart-events.d.ts.map +1 -0
- package/dist/events/sparkline-events.d.ts +68 -0
- package/dist/events/sparkline-events.d.ts.map +1 -0
- package/dist/events/store-events.d.ts +18 -0
- package/dist/events/store-events.d.ts.map +1 -0
- package/dist/events/structure-events.d.ts +76 -0
- package/dist/events/structure-events.d.ts.map +1 -0
- package/dist/events/table-events.d.ts +99 -0
- package/dist/events/table-events.d.ts.map +1 -0
- package/dist/events/validation-events.d.ts +85 -0
- package/dist/events/validation-events.d.ts.map +1 -0
- package/dist/events/view-events.d.ts +72 -0
- package/dist/events/view-events.d.ts.map +1 -0
- package/dist/events/wordart-events.d.ts +169 -0
- package/dist/events/wordart-events.d.ts.map +1 -0
- package/dist/events.d.ts +41 -0
- package/dist/events.d.ts.map +1 -0
- package/dist/extensions/index.d.ts +9 -0
- package/dist/extensions/index.d.ts.map +1 -0
- package/dist/extensions/types.d.ts +64 -0
- package/dist/extensions/types.d.ts.map +1 -0
- package/dist/filesystem/index.d.ts +11 -0
- package/dist/filesystem/index.d.ts.map +1 -0
- package/dist/filesystem/paths.d.ts +38 -0
- package/dist/filesystem/paths.d.ts.map +1 -0
- package/dist/filesystem/permissions.d.ts +89 -0
- package/dist/filesystem/permissions.d.ts.map +1 -0
- package/dist/filesystem/types.d.ts +251 -0
- package/dist/filesystem/types.d.ts.map +1 -0
- package/dist/fill/custom-lists.d.ts +41 -0
- package/dist/fill/custom-lists.d.ts.map +1 -0
- package/dist/fill/index.d.ts +11 -0
- package/dist/fill/index.d.ts.map +1 -0
- package/dist/fill/types.d.ts +102 -0
- package/dist/fill/types.d.ts.map +1 -0
- package/dist/formatting/format-registry.d.ts +45 -0
- package/dist/formatting/format-registry.d.ts.map +1 -0
- package/dist/formatting/index.d.ts +9 -0
- package/dist/formatting/index.d.ts.map +1 -0
- package/dist/formatting/theme.d.ts +108 -0
- package/dist/formatting/theme.d.ts.map +1 -0
- package/dist/index.d.ts +49 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/ink/index.d.ts +16 -0
- package/dist/ink/index.d.ts.map +1 -0
- package/dist/ink/spatial-index.d.ts +113 -0
- package/dist/ink/spatial-index.d.ts.map +1 -0
- package/dist/ink/types.d.ts +558 -0
- package/dist/ink/types.d.ts.map +1 -0
- package/dist/kernel/floating-object-manager.d.ts +68 -0
- package/dist/kernel/floating-object-manager.d.ts.map +1 -0
- package/dist/kernel/index.d.ts +12 -0
- package/dist/kernel/index.d.ts.map +1 -0
- package/dist/kernel/kernel-context.d.ts +129 -0
- package/dist/kernel/kernel-context.d.ts.map +1 -0
- package/dist/keyboard/actions.d.ts +328 -0
- package/dist/keyboard/actions.d.ts.map +1 -0
- package/dist/keyboard/binding-utils.d.ts +112 -0
- package/dist/keyboard/binding-utils.d.ts.map +1 -0
- package/dist/keyboard/customization.d.ts +121 -0
- package/dist/keyboard/customization.d.ts.map +1 -0
- package/dist/keyboard/display-utils.d.ts +9 -0
- package/dist/keyboard/display-utils.d.ts.map +1 -0
- package/dist/keyboard/excel-reference.d.ts +28 -0
- package/dist/keyboard/excel-reference.d.ts.map +1 -0
- package/dist/keyboard/index.d.ts +16 -0
- package/dist/keyboard/index.d.ts.map +1 -0
- package/dist/keyboard/input.d.ts +124 -0
- package/dist/keyboard/input.d.ts.map +1 -0
- package/dist/keyboard/physical-keys.d.ts +79 -0
- package/dist/keyboard/physical-keys.d.ts.map +1 -0
- package/dist/keyboard/shortcuts/definitions/index.d.ts +10 -0
- package/dist/keyboard/shortcuts/definitions/index.d.ts.map +1 -0
- package/dist/keyboard/shortcuts/types.d.ts +347 -0
- package/dist/keyboard/shortcuts/types.d.ts.map +1 -0
- package/dist/machines/index.d.ts +12 -0
- package/dist/machines/index.d.ts.map +1 -0
- package/dist/machines/snapshots.d.ts +160 -0
- package/dist/machines/snapshots.d.ts.map +1 -0
- package/dist/machines/types.d.ts +64 -0
- package/dist/machines/types.d.ts.map +1 -0
- package/dist/number-formats/constants.d.ts +39 -0
- package/dist/number-formats/constants.d.ts.map +1 -0
- package/dist/number-formats/index.d.ts +14 -0
- package/dist/number-formats/index.d.ts.map +1 -0
- package/dist/number-formats/locale/index.d.ts +5 -0
- package/dist/number-formats/locale/index.d.ts.map +1 -0
- package/dist/number-formats/locale/locale-defaults.d.ts +17 -0
- package/dist/number-formats/locale/locale-defaults.d.ts.map +1 -0
- package/dist/number-formats/registry.d.ts +52 -0
- package/dist/number-formats/registry.d.ts.map +1 -0
- package/dist/number-formats/types.d.ts +134 -0
- package/dist/number-formats/types.d.ts.map +1 -0
- package/dist/objects/canvas-object.d.ts +157 -0
- package/dist/objects/canvas-object.d.ts.map +1 -0
- package/dist/objects/drawing-object.d.ts +144 -0
- package/dist/objects/drawing-object.d.ts.map +1 -0
- package/dist/objects/floating-objects.d.ts +742 -0
- package/dist/objects/floating-objects.d.ts.map +1 -0
- package/dist/objects/index.d.ts +5 -0
- package/dist/objects/index.d.ts.map +1 -0
- package/dist/objects/object-bounds-reader.d.ts +25 -0
- package/dist/objects/object-bounds-reader.d.ts.map +1 -0
- package/dist/objects/object-mutator.d.ts +30 -0
- package/dist/objects/object-mutator.d.ts.map +1 -0
- package/dist/performance/index.d.ts +8 -0
- package/dist/performance/index.d.ts.map +1 -0
- package/dist/performance/profiler-types.d.ts +351 -0
- package/dist/performance/profiler-types.d.ts.map +1 -0
- package/dist/platform/identity.d.ts +24 -0
- package/dist/platform/identity.d.ts.map +1 -0
- package/dist/platform/index.d.ts +17 -0
- package/dist/platform/index.d.ts.map +1 -0
- package/dist/platform/types.d.ts +359 -0
- package/dist/platform/types.d.ts.map +1 -0
- package/dist/rendering/canvas-bridge-types.d.ts +68 -0
- package/dist/rendering/canvas-bridge-types.d.ts.map +1 -0
- package/dist/rendering/constants.d.ts +76 -0
- package/dist/rendering/constants.d.ts.map +1 -0
- package/dist/rendering/coordinates.d.ts +452 -0
- package/dist/rendering/coordinates.d.ts.map +1 -0
- package/dist/rendering/coordinator-interfaces.d.ts +163 -0
- package/dist/rendering/coordinator-interfaces.d.ts.map +1 -0
- package/dist/rendering/data-sources.d.ts +372 -0
- package/dist/rendering/data-sources.d.ts.map +1 -0
- package/dist/rendering/grid-region.d.ts +32 -0
- package/dist/rendering/grid-region.d.ts.map +1 -0
- package/dist/rendering/grid-renderer.d.ts +391 -0
- package/dist/rendering/grid-renderer.d.ts.map +1 -0
- package/dist/rendering/grouping.d.ts +21 -0
- package/dist/rendering/grouping.d.ts.map +1 -0
- package/dist/rendering/hit-test-service.d.ts +58 -0
- package/dist/rendering/hit-test-service.d.ts.map +1 -0
- package/dist/rendering/hit-test.d.ts +223 -0
- package/dist/rendering/hit-test.d.ts.map +1 -0
- package/dist/rendering/index.d.ts +25 -0
- package/dist/rendering/index.d.ts.map +1 -0
- package/dist/rendering/interactive-elements.d.ts +121 -0
- package/dist/rendering/interactive-elements.d.ts.map +1 -0
- package/dist/rendering/primitives.d.ts +17 -0
- package/dist/rendering/primitives.d.ts.map +1 -0
- package/dist/rendering/render-context.d.ts +457 -0
- package/dist/rendering/render-context.d.ts.map +1 -0
- package/dist/rendering/text-measurement-service.d.ts +197 -0
- package/dist/rendering/text-measurement-service.d.ts.map +1 -0
- package/dist/ribbon/collapse-configs.d.ts +298 -0
- package/dist/ribbon/collapse-configs.d.ts.map +1 -0
- package/dist/ribbon/collapse-types.d.ts +76 -0
- package/dist/ribbon/collapse-types.d.ts.map +1 -0
- package/dist/ribbon/index.d.ts +25 -0
- package/dist/ribbon/index.d.ts.map +1 -0
- package/dist/selection/index.d.ts +10 -0
- package/dist/selection/index.d.ts.map +1 -0
- package/dist/selection/registry.d.ts +17 -0
- package/dist/selection/registry.d.ts.map +1 -0
- package/dist/selection/types.d.ts +82 -0
- package/dist/selection/types.d.ts.map +1 -0
- package/dist/selectors/index.d.ts +8 -0
- package/dist/selectors/index.d.ts.map +1 -0
- package/dist/selectors/smart-art.d.ts +58 -0
- package/dist/selectors/smart-art.d.ts.map +1 -0
- package/dist/services/index.d.ts +273 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/smartart/index.d.ts +26 -0
- package/dist/smartart/index.d.ts.map +1 -0
- package/dist/smartart/layouts.d.ts +193 -0
- package/dist/smartart/layouts.d.ts.map +1 -0
- package/dist/smartart/ooxml-algorithm-types.d.ts +939 -0
- package/dist/smartart/ooxml-algorithm-types.d.ts.map +1 -0
- package/dist/smartart/ooxml-data-model-types.d.ts +845 -0
- package/dist/smartart/ooxml-data-model-types.d.ts.map +1 -0
- package/dist/smartart/ooxml-drawing-types.d.ts +356 -0
- package/dist/smartart/ooxml-drawing-types.d.ts.map +1 -0
- package/dist/smartart/ooxml-engine-types.d.ts +873 -0
- package/dist/smartart/ooxml-engine-types.d.ts.map +1 -0
- package/dist/smartart/ooxml-layout-types.d.ts +405 -0
- package/dist/smartart/ooxml-layout-types.d.ts.map +1 -0
- package/dist/smartart/ooxml-style-types.d.ts +474 -0
- package/dist/smartart/ooxml-style-types.d.ts.map +1 -0
- package/dist/smartart/styles.d.ts +137 -0
- package/dist/smartart/styles.d.ts.map +1 -0
- package/dist/smartart/types.d.ts +323 -0
- package/dist/smartart/types.d.ts.map +1 -0
- package/dist/storage/capabilities.d.ts +33 -0
- package/dist/storage/capabilities.d.ts.map +1 -0
- package/dist/storage/connection.d.ts +183 -0
- package/dist/storage/connection.d.ts.map +1 -0
- package/dist/storage/index.d.ts +13 -0
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/storage/query.d.ts +91 -0
- package/dist/storage/query.d.ts.map +1 -0
- package/dist/storage/table-driver.d.ts +249 -0
- package/dist/storage/table-driver.d.ts.map +1 -0
- package/dist/store/cell-schema.d.ts +235 -0
- package/dist/store/cell-schema.d.ts.map +1 -0
- package/dist/store/equation-schema.d.ts +22 -0
- package/dist/store/equation-schema.d.ts.map +1 -0
- package/dist/store/index.d.ts +33 -0
- package/dist/store/index.d.ts.map +1 -0
- package/dist/store/ink-schema.d.ts +26 -0
- package/dist/store/ink-schema.d.ts.map +1 -0
- package/dist/store/scenarios-schema.d.ts +105 -0
- package/dist/store/scenarios-schema.d.ts.map +1 -0
- package/dist/store/schema-types.d.ts +113 -0
- package/dist/store/schema-types.d.ts.map +1 -0
- package/dist/store/sheet-maps-schema.d.ts +222 -0
- package/dist/store/sheet-maps-schema.d.ts.map +1 -0
- package/dist/store/sheet-meta-schema.d.ts +16 -0
- package/dist/store/sheet-meta-schema.d.ts.map +1 -0
- package/dist/store/smartart-schema.d.ts +17 -0
- package/dist/store/smartart-schema.d.ts.map +1 -0
- package/dist/store/store-types.d.ts +381 -0
- package/dist/store/store-types.d.ts.map +1 -0
- package/dist/store/wordart-schema.d.ts +13 -0
- package/dist/store/wordart-schema.d.ts.map +1 -0
- package/dist/store/workbook-schema.d.ts +16 -0
- package/dist/store/workbook-schema.d.ts.map +1 -0
- package/dist/styles/built-in-styles.d.ts +10 -0
- package/dist/styles/built-in-styles.d.ts.map +1 -0
- package/dist/styles/index.d.ts +18 -0
- package/dist/styles/index.d.ts.map +1 -0
- package/dist/utils/a1.d.ts +12 -0
- package/dist/utils/a1.d.ts.map +1 -0
- package/dist/utils/datetime.d.ts +7 -0
- package/dist/utils/datetime.d.ts.map +1 -0
- package/dist/utils/function-registry.d.ts +40 -0
- package/dist/utils/function-registry.d.ts.map +1 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/protection.d.ts +9 -0
- package/dist/utils/protection.d.ts.map +1 -0
- package/dist/utils/range-navigation.d.ts +9 -0
- package/dist/utils/range-navigation.d.ts.map +1 -0
- package/dist/utils/range.d.ts +9 -0
- package/dist/utils/range.d.ts.map +1 -0
- package/dist/utils/rich-text.d.ts +9 -0
- package/dist/utils/rich-text.d.ts.map +1 -0
- package/dist/viewport/geometry.d.ts +90 -0
- package/dist/viewport/geometry.d.ts.map +1 -0
- package/dist/viewport/grid-canvas.d.ts +133 -0
- package/dist/viewport/grid-canvas.d.ts.map +1 -0
- package/dist/viewport/index.d.ts +5 -0
- package/dist/viewport/index.d.ts.map +1 -0
- package/dist/viewport/viewport-config.d.ts +95 -0
- package/dist/viewport/viewport-config.d.ts.map +1 -0
- package/dist/viewport/viewport.d.ts +191 -0
- package/dist/viewport/viewport.d.ts.map +1 -0
- package/dist/views/index.d.ts +9 -0
- package/dist/views/index.d.ts.map +1 -0
- package/dist/views/types.d.ts +161 -0
- package/dist/views/types.d.ts.map +1 -0
- package/dist/what-if/index.d.ts +2 -0
- package/dist/what-if/index.d.ts.map +1 -0
- package/dist/what-if/what-if.d.ts +152 -0
- package/dist/what-if/what-if.d.ts.map +1 -0
- package/dist/window-manager/index.d.ts +134 -0
- package/dist/window-manager/index.d.ts.map +1 -0
- package/dist/wordart/effects.d.ts +611 -0
- package/dist/wordart/effects.d.ts.map +1 -0
- package/dist/wordart/index.d.ts +17 -0
- package/dist/wordart/index.d.ts.map +1 -0
- package/dist/wordart/presets.d.ts +133 -0
- package/dist/wordart/presets.d.ts.map +1 -0
- package/dist/wordart/types.d.ts +444 -0
- package/dist/wordart/types.d.ts.map +1 -0
- package/dist/workflows/context.d.ts +777 -0
- package/dist/workflows/context.d.ts.map +1 -0
- package/dist/workflows/definition.d.ts +256 -0
- package/dist/workflows/definition.d.ts.map +1 -0
- package/dist/workflows/events.d.ts +397 -0
- package/dist/workflows/events.d.ts.map +1 -0
- package/dist/workflows/index.d.ts +19 -0
- package/dist/workflows/index.d.ts.map +1 -0
- package/dist/workflows/instance.d.ts +358 -0
- package/dist/workflows/instance.d.ts.map +1 -0
- package/dist/workflows/runtime.d.ts +287 -0
- package/dist/workflows/runtime.d.ts.map +1 -0
- package/dist/workflows/triggers.d.ts +335 -0
- package/dist/workflows/triggers.d.ts.map +1 -0
- package/dist/workflows/versioning.d.ts +245 -0
- package/dist/workflows/versioning.d.ts.map +1 -0
- package/dist/xlsx-parser/conditional-format.d.ts +137 -0
- package/dist/xlsx-parser/conditional-format.d.ts.map +1 -0
- package/dist/xlsx-parser/core.d.ts +622 -0
- package/dist/xlsx-parser/core.d.ts.map +1 -0
- package/dist/xlsx-parser/data-validation.d.ts +55 -0
- package/dist/xlsx-parser/data-validation.d.ts.map +1 -0
- package/dist/xlsx-parser/errors.d.ts +38 -0
- package/dist/xlsx-parser/errors.d.ts.map +1 -0
- package/dist/xlsx-parser/index.d.ts +17 -0
- package/dist/xlsx-parser/index.d.ts.map +1 -0
- package/dist/xlsx-parser/options.d.ts +89 -0
- package/dist/xlsx-parser/options.d.ts.map +1 -0
- package/dist/xlsx-parser/styles.d.ts +157 -0
- package/dist/xlsx-parser/styles.d.ts.map +1 -0
- package/dist/xlsx-parser/table.d.ts +170 -0
- package/dist/xlsx-parser/table.d.ts.map +1 -0
- package/package.json +410 -0
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Store Types - Type definitions for cell storage.
|
|
3
|
+
*
|
|
4
|
+
* These types define the internal storage format for cells, sheets, and filters.
|
|
5
|
+
* They are used by domain modules and bridge the gap between the contracts API
|
|
6
|
+
* and the storage implementation.
|
|
7
|
+
*
|
|
8
|
+
* Cell Identity Model:
|
|
9
|
+
* - Cells are keyed by stable CellId (UUID), not position
|
|
10
|
+
* - Position (row, col) is stored IN the cell data, not AS the key
|
|
11
|
+
* - Grid index maps position -> CellId for O(1) lookup
|
|
12
|
+
*
|
|
13
|
+
* NOTE: These types use standard Map/Array instead of Yjs CRDT types.
|
|
14
|
+
* The storage layer is responsible for providing Map-compatible containers.
|
|
15
|
+
*
|
|
16
|
+
* @see plans/cell-ids/CELL-IDENTITY-MODEL.md
|
|
17
|
+
*/
|
|
18
|
+
import type { CellId, ColData, ColId, IdentityFormula, IdentityMergedRegion, RowData, RowId } from '../cells/cell-identity';
|
|
19
|
+
import type { FormulaA1 } from '../cells/formula-string';
|
|
20
|
+
import type { CellFormat, CellProperties, CellRawValue, CellValue, SheetId } from '../core';
|
|
21
|
+
import type { ColumnSchema, RangeSchema } from '../core/schema';
|
|
22
|
+
import type { FilterType } from '../data/filter';
|
|
23
|
+
import type { StoredSlicerConfig } from '../data/slicers';
|
|
24
|
+
import type { TableConfig } from '../data/tables';
|
|
25
|
+
import type { Comment } from '../document/comments';
|
|
26
|
+
import type { FormControl } from '../editor/form-controls';
|
|
27
|
+
import type { FloatingObject, FloatingObjectGroup } from '../objects/floating-objects';
|
|
28
|
+
/**
|
|
29
|
+
* Cached used range for O(1) Ctrl+End navigation.
|
|
30
|
+
* Stores the bounding box end point of all non-empty cells.
|
|
31
|
+
*/
|
|
32
|
+
export interface UsedRange {
|
|
33
|
+
/** Maximum row index with data (0-indexed) */
|
|
34
|
+
endRow: number;
|
|
35
|
+
/** Maximum column index with data (0-indexed) */
|
|
36
|
+
endCol: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Sheet metadata stored in Yjs.
|
|
40
|
+
* Contains dimensions, frozen panes, and display properties.
|
|
41
|
+
*/
|
|
42
|
+
export interface SheetMeta {
|
|
43
|
+
id: SheetId;
|
|
44
|
+
name: string;
|
|
45
|
+
/** Default row height for new rows in pixels */
|
|
46
|
+
defaultRowHeight: number;
|
|
47
|
+
/** Default column width for new columns in pixels */
|
|
48
|
+
defaultColWidth: number;
|
|
49
|
+
/** Number of frozen rows (always visible) */
|
|
50
|
+
frozenRows: number;
|
|
51
|
+
/** Number of frozen columns (always visible) */
|
|
52
|
+
frozenCols: number;
|
|
53
|
+
/** Tab color in hex format (e.g., "#4285f4"), null for default */
|
|
54
|
+
tabColor?: string | null;
|
|
55
|
+
/** Whether the sheet is hidden */
|
|
56
|
+
hidden?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Cached used range for O(1) Ctrl+End navigation.
|
|
59
|
+
* Updated incrementally on cell writes. May over-estimate on deletions.
|
|
60
|
+
*/
|
|
61
|
+
usedRange?: UsedRange | null;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Internal cell data for Yjs storage (Cell Identity Model).
|
|
65
|
+
*
|
|
66
|
+
* Key insight: Position is stored IN the cell, not AS the key.
|
|
67
|
+
* This enables O(1) position updates on insert/delete row/col
|
|
68
|
+
* without touching formula strings or dependency graph keys.
|
|
69
|
+
*
|
|
70
|
+
* NOTE: The external API `CellData` in contracts/src/core.ts is UNCHANGED.
|
|
71
|
+
* This type is for internal Yjs storage only. Conversion happens at API boundaries.
|
|
72
|
+
*/
|
|
73
|
+
export interface StoreCellData {
|
|
74
|
+
/** Stable cell identity - never changes even when cell moves */
|
|
75
|
+
id: CellId;
|
|
76
|
+
/** Current row position (mutable on structure changes) */
|
|
77
|
+
row: number;
|
|
78
|
+
/** Current column position (mutable on structure changes) */
|
|
79
|
+
col: number;
|
|
80
|
+
/**
|
|
81
|
+
* Raw value entered by user (CellRawValue).
|
|
82
|
+
* Can be a formula string, literal primitive, or RichText array.
|
|
83
|
+
* Rich text is only valid for literal values, not formula results.
|
|
84
|
+
* Use rawToCellValue() to convert to CellValue when needed.
|
|
85
|
+
*/
|
|
86
|
+
raw: CellRawValue;
|
|
87
|
+
/**
|
|
88
|
+
* A1-style formula string with '=' prefix (FormulaA1).
|
|
89
|
+
* Used for formula bar display and calculator evaluation.
|
|
90
|
+
* This is the backward-compatible formula field.
|
|
91
|
+
*/
|
|
92
|
+
formula?: FormulaA1;
|
|
93
|
+
/**
|
|
94
|
+
* Parsed formula with identity references.
|
|
95
|
+
* Used for stable formula storage that survives structure changes.
|
|
96
|
+
* When populated, this is the source of truth for formula references.
|
|
97
|
+
*/
|
|
98
|
+
identityFormula?: IdentityFormula;
|
|
99
|
+
/** Computed value after formula evaluation (only set if raw is a formula) */
|
|
100
|
+
computed?: CellValue;
|
|
101
|
+
/** Cell note/comment (optional) */
|
|
102
|
+
note?: string;
|
|
103
|
+
/** Hyperlink URL (optional) */
|
|
104
|
+
hyperlink?: string;
|
|
105
|
+
/**
|
|
106
|
+
* For spill anchor cells: the dimensions of the spill range.
|
|
107
|
+
* { rows, cols } where rows >= 1 and cols >= 1.
|
|
108
|
+
*/
|
|
109
|
+
spillRange?: {
|
|
110
|
+
rows: number;
|
|
111
|
+
cols: number;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* For spill member cells: CellId of the anchor cell containing the formula.
|
|
115
|
+
*/
|
|
116
|
+
spillAnchor?: CellId;
|
|
117
|
+
/**
|
|
118
|
+
* True if this is a legacy CSE (Ctrl+Shift+Enter) array formula.
|
|
119
|
+
*/
|
|
120
|
+
isCSE?: boolean;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Serialized cell data for Yjs storage.
|
|
124
|
+
* Uses short keys for compact CRDT storage.
|
|
125
|
+
*
|
|
126
|
+
* NOTE: The DiffCellData type (previously in contracts/src/versioning.ts)
|
|
127
|
+
* was removed when the versioning package was deleted.
|
|
128
|
+
*/
|
|
129
|
+
export interface SerializedCellData {
|
|
130
|
+
/** Stable cell identity */
|
|
131
|
+
id: CellId;
|
|
132
|
+
/** Row position */
|
|
133
|
+
row: number;
|
|
134
|
+
/** Column position */
|
|
135
|
+
col: number;
|
|
136
|
+
/**
|
|
137
|
+
* Raw value (CellRawValue).
|
|
138
|
+
* Can be a primitive (string, number, boolean, null) or RichText array.
|
|
139
|
+
* Rich text is only valid for literal values, not formula results.
|
|
140
|
+
* Use isRichText() from @mog/spreadsheet-contracts to discriminate.
|
|
141
|
+
* Use rawToCellValue() to convert to CellValue when needed.
|
|
142
|
+
*/
|
|
143
|
+
r: CellRawValue;
|
|
144
|
+
/** A1-style formula string without '=' prefix (backward compatible) */
|
|
145
|
+
f?: string;
|
|
146
|
+
/** Parsed identity formula */
|
|
147
|
+
idf?: IdentityFormula;
|
|
148
|
+
/** Computed value (omit if same as raw) */
|
|
149
|
+
c?: CellValue;
|
|
150
|
+
/** Note (omit if empty) */
|
|
151
|
+
n?: string;
|
|
152
|
+
/** Hyperlink URL (omit if none) */
|
|
153
|
+
h?: string;
|
|
154
|
+
/**
|
|
155
|
+
* For spill anchor cells: the dimensions of the spill range.
|
|
156
|
+
* { rows, cols } where rows >= 1 and cols >= 1.
|
|
157
|
+
* Only present on the cell containing the array formula.
|
|
158
|
+
*/
|
|
159
|
+
spillRange?: {
|
|
160
|
+
rows: number;
|
|
161
|
+
cols: number;
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* For spill member cells: CellId of the anchor cell containing the formula.
|
|
165
|
+
* Points back to the cell that owns this spill range.
|
|
166
|
+
* Used for:
|
|
167
|
+
* - Determining if editing this cell should be blocked
|
|
168
|
+
* - Finding the formula when clicking a spill cell
|
|
169
|
+
* - Clearing old spill when anchor formula result changes size
|
|
170
|
+
*/
|
|
171
|
+
spillAnchor?: CellId;
|
|
172
|
+
/**
|
|
173
|
+
* True if this is a legacy CSE (Ctrl+Shift+Enter) array formula.
|
|
174
|
+
* CSE formulas have fixed size and show {=formula} in the formula bar.
|
|
175
|
+
* Only present on anchor cells when isCSE is true.
|
|
176
|
+
*/
|
|
177
|
+
isCSE?: boolean;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Yjs-compatible filter state for storage (Cell Identity Model).
|
|
181
|
+
*
|
|
182
|
+
* ARCHITECTURE: Stores CellIds for range corners and column filter keys,
|
|
183
|
+
* NOT position-based row/col numbers. This follows the same pattern as:
|
|
184
|
+
* - IdentityRangeRef (formulas)
|
|
185
|
+
* - IdentityRangeSchemaRef (data validation)
|
|
186
|
+
* - IdentityMergedRegion (merged cells)
|
|
187
|
+
*
|
|
188
|
+
* Why CellId-based?
|
|
189
|
+
* - Survives row/col insert/delete (positions change, CellIds stable)
|
|
190
|
+
* - CRDT-safe for concurrent structure changes
|
|
191
|
+
* - Matches the Cell Identity Model used throughout the codebase
|
|
192
|
+
*
|
|
193
|
+
* The filter-operations module handles conversion between FilterState and StoredFilterState.
|
|
194
|
+
*/
|
|
195
|
+
export interface StoredFilterState {
|
|
196
|
+
/** Unique filter identifier (UUID v7) */
|
|
197
|
+
id: string;
|
|
198
|
+
/** Filter type: 'autoFilter' | 'tableFilter' | 'advancedFilter' */
|
|
199
|
+
type: FilterType;
|
|
200
|
+
/**
|
|
201
|
+
* CellId of the header row, first column (top-left of header).
|
|
202
|
+
* Example: If filter is on A1:C10, this is the CellId of A1.
|
|
203
|
+
*/
|
|
204
|
+
headerStartCellId: CellId;
|
|
205
|
+
/**
|
|
206
|
+
* CellId of the header row, last column (top-right of header).
|
|
207
|
+
* Example: If filter is on A1:C10, this is the CellId of C1.
|
|
208
|
+
*/
|
|
209
|
+
headerEndCellId: CellId;
|
|
210
|
+
/**
|
|
211
|
+
* CellId of the last data row, first column (defines data extent).
|
|
212
|
+
* Example: If filter is on A1:C10, this is CellId of A10.
|
|
213
|
+
*/
|
|
214
|
+
dataEndCellId: CellId;
|
|
215
|
+
/**
|
|
216
|
+
* Per-column filter criteria.
|
|
217
|
+
* JSON-serialized Record<CellId, ColumnFilterCriteria>.
|
|
218
|
+
* Keyed by header cell CellId (not column index) for CRDT safety.
|
|
219
|
+
* Stored as string because Yjs doesn't handle nested complex objects well.
|
|
220
|
+
*/
|
|
221
|
+
columnFilters: string;
|
|
222
|
+
/**
|
|
223
|
+
* Current sort state (JSON-serialized FilterSortState).
|
|
224
|
+
* Optional - only present if filter has sorting applied.
|
|
225
|
+
* FilterSortState.columnCellId is a CellId, not column index.
|
|
226
|
+
*/
|
|
227
|
+
sortState?: string;
|
|
228
|
+
/** Associated table ID for tableFilter type */
|
|
229
|
+
tableId?: string;
|
|
230
|
+
/** When this filter was created (Unix ms) */
|
|
231
|
+
createdAt?: number;
|
|
232
|
+
/** When this filter was last modified (Unix ms) */
|
|
233
|
+
updatedAt?: number;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* References to all Yjs maps within a single sheet.
|
|
237
|
+
* Used by domain modules to access sheet data without coupling to the store.
|
|
238
|
+
*
|
|
239
|
+
* Cell Identity Model Architecture:
|
|
240
|
+
* - cells: Map<CellId, SerializedCellData> - primary storage by stable ID
|
|
241
|
+
* - properties: Map<CellId, CellProperties> - sparse formatting by ID
|
|
242
|
+
* - grid: Map<"row:col", CellId> - position lookup for rendering
|
|
243
|
+
*
|
|
244
|
+
* Row/Column Identity Model Architecture:
|
|
245
|
+
* - rows: Map<RowId, RowData> - primary storage by stable ID
|
|
246
|
+
* - cols: Map<ColId, ColData> - primary storage by stable ID
|
|
247
|
+
* - rowIndex: Map<"position", RowId> - position lookup
|
|
248
|
+
* - colIndex: Map<"position", ColId> - position lookup
|
|
249
|
+
* - rowHeights: Map<RowId, number> - keyed by identity (stable)
|
|
250
|
+
* - colWidths: Map<ColId, number> - keyed by identity (stable)
|
|
251
|
+
* - rowFormats: Map<RowId, CellFormat> - keyed by identity (stable)
|
|
252
|
+
* - colFormats: Map<ColId, CellFormat> - keyed by identity (stable)
|
|
253
|
+
*
|
|
254
|
+
* @see plans/active/refactor/ROW-COLUMN-IDENTITY.md
|
|
255
|
+
*/
|
|
256
|
+
export interface SheetMaps {
|
|
257
|
+
/** Sheet metadata (id, name, frozen rows/cols, etc.) */
|
|
258
|
+
meta: Map<string, unknown>;
|
|
259
|
+
/**
|
|
260
|
+
* Primary cell storage: Map<CellId, SerializedCellData>
|
|
261
|
+
* Cells are keyed by stable UUID. Position is stored in the value.
|
|
262
|
+
* On insert/delete row/col, only position values change - no key changes.
|
|
263
|
+
*/
|
|
264
|
+
cells: Map<string, SerializedCellData>;
|
|
265
|
+
/**
|
|
266
|
+
* Cell properties: Map<CellId, CellProperties>
|
|
267
|
+
* Sparse storage - only cells with non-default formatting have entries.
|
|
268
|
+
* Keyed by CellId for CRDT stability (no key changes on structure ops).
|
|
269
|
+
*/
|
|
270
|
+
properties: Map<string, CellProperties>;
|
|
271
|
+
/**
|
|
272
|
+
* Position index: Map<"row:col", CellId>
|
|
273
|
+
* Enables O(1) lookup of "what cell is at position X,Y?" for rendering.
|
|
274
|
+
* Derived state, kept in sync within transactions.
|
|
275
|
+
*/
|
|
276
|
+
grid: Map<string, CellId>;
|
|
277
|
+
/**
|
|
278
|
+
* Primary row storage: Map<RowId, RowData>
|
|
279
|
+
* Rows are keyed by stable UUID. Position is stored in the value.
|
|
280
|
+
* On insert/delete rows, only position values change - no key changes.
|
|
281
|
+
* Lazily materialized - only rows with custom properties have entries.
|
|
282
|
+
*/
|
|
283
|
+
rows: Map<string, RowData> | undefined;
|
|
284
|
+
/**
|
|
285
|
+
* Row position index: Map<"position", RowId>
|
|
286
|
+
* Enables O(1) lookup of "what RowId is at position Y?" for property lookup.
|
|
287
|
+
* Derived state, kept in sync within transactions.
|
|
288
|
+
* Lazily created when first row is materialized.
|
|
289
|
+
*/
|
|
290
|
+
rowIndex: Map<string, RowId> | undefined;
|
|
291
|
+
/**
|
|
292
|
+
* Row heights: Map<RowId, number>
|
|
293
|
+
* Keyed by RowId for CRDT stability (no key changes on structure ops).
|
|
294
|
+
* Sparse storage - only rows with custom height have entries.
|
|
295
|
+
*/
|
|
296
|
+
rowHeights: Map<string, number>;
|
|
297
|
+
/**
|
|
298
|
+
* Row formats: Map<RowId, CellFormat>
|
|
299
|
+
* Keyed by RowId for CRDT stability (no key changes on structure ops).
|
|
300
|
+
* Sparse storage - only rows with non-default formatting have entries.
|
|
301
|
+
* Used for format inheritance: cell -> row -> column -> default.
|
|
302
|
+
* Lazily created when first row format is set.
|
|
303
|
+
*/
|
|
304
|
+
rowFormats: Map<string, CellFormat> | undefined;
|
|
305
|
+
/**
|
|
306
|
+
* Primary column storage: Map<ColId, ColData>
|
|
307
|
+
* Columns are keyed by stable UUID. Position is stored in the value.
|
|
308
|
+
* On insert/delete columns, only position values change - no key changes.
|
|
309
|
+
* Lazily materialized - only columns with custom properties have entries.
|
|
310
|
+
*/
|
|
311
|
+
cols: Map<string, ColData> | undefined;
|
|
312
|
+
/**
|
|
313
|
+
* Column position index: Map<"position", ColId>
|
|
314
|
+
* Enables O(1) lookup of "what ColId is at position X?" for property lookup.
|
|
315
|
+
* Derived state, kept in sync within transactions.
|
|
316
|
+
* Lazily created when first column is materialized.
|
|
317
|
+
*/
|
|
318
|
+
colIndex: Map<string, ColId> | undefined;
|
|
319
|
+
/**
|
|
320
|
+
* Column widths: Map<ColId, number>
|
|
321
|
+
* Keyed by ColId for CRDT stability (no key changes on structure ops).
|
|
322
|
+
* Sparse storage - only columns with custom width have entries.
|
|
323
|
+
*/
|
|
324
|
+
colWidths: Map<string, number>;
|
|
325
|
+
/**
|
|
326
|
+
* Column formats: Map<ColId, CellFormat>
|
|
327
|
+
* Keyed by ColId for CRDT stability (no key changes on structure ops).
|
|
328
|
+
* Sparse storage - only columns with non-default formatting have entries.
|
|
329
|
+
* Used for format inheritance: cell -> row -> column -> default.
|
|
330
|
+
* Lazily created when first column format is set.
|
|
331
|
+
*/
|
|
332
|
+
colFormats: Map<string, CellFormat> | undefined;
|
|
333
|
+
/** Column schemas: Map<colIndex, ColumnSchema> */
|
|
334
|
+
schemas: Map<string, ColumnSchema> | undefined;
|
|
335
|
+
/** Charts: Map<chartId, FloatingObject> — chart-type floating objects */
|
|
336
|
+
charts: Map<string, FloatingObject>;
|
|
337
|
+
/** Range schemas (data validation): Map<schemaId, RangeSchema> */
|
|
338
|
+
rangeSchemas: Map<string, RangeSchema> | undefined;
|
|
339
|
+
/** Hidden row indices (Stream E2): Array of row numbers */
|
|
340
|
+
hiddenRows: Array<number> | undefined;
|
|
341
|
+
/** Hidden column indices (Stream E2): Array of column numbers */
|
|
342
|
+
hiddenCols: Array<number> | undefined;
|
|
343
|
+
/** Excel-style tables (Stream M): Map<tableId, TableConfig> */
|
|
344
|
+
tables: Map<string, TableConfig> | undefined;
|
|
345
|
+
/** Row/column grouping config (Stream O): Map with grouping settings */
|
|
346
|
+
groupingConfig: Map<string, unknown> | undefined;
|
|
347
|
+
/**
|
|
348
|
+
* Merged cell regions: Map<CellId, IdentityMergedRegion>
|
|
349
|
+
* Keyed by topLeftId for O(1) lookup and CRDT-safe concurrent merges.
|
|
350
|
+
* CellId-based storage ensures merges compose correctly under structure changes.
|
|
351
|
+
*/
|
|
352
|
+
merges: Map<string, IdentityMergedRegion>;
|
|
353
|
+
/** Floating objects (Stream N): Map<objectId, FloatingObject> */
|
|
354
|
+
floatingObjects: Map<string, FloatingObject> | undefined;
|
|
355
|
+
/** Floating object groups (Stream N): Map<groupId, FloatingObjectGroup> */
|
|
356
|
+
floatingObjectGroups: Map<string, FloatingObjectGroup> | undefined;
|
|
357
|
+
/** Form controls: Map<controlId, FormControl> */
|
|
358
|
+
formControls: Map<string, FormControl> | undefined;
|
|
359
|
+
/** Filters (Layer 0 - Filter State Foundation): Map<filterId, StoredFilterState> */
|
|
360
|
+
filters: Map<string, StoredFilterState> | undefined;
|
|
361
|
+
/**
|
|
362
|
+
* Cell comments (Stream C3 - Comments & Rich Text): Map<commentId, Comment>
|
|
363
|
+
* Comments reference cells via CellId for CRDT-safe structure changes.
|
|
364
|
+
* Lazily created when first comment is added.
|
|
365
|
+
*/
|
|
366
|
+
comments: Map<string, Comment> | undefined;
|
|
367
|
+
/**
|
|
368
|
+
* Slicers (Stream ES - Slicers): Map<slicerId, StoredSlicerConfig>
|
|
369
|
+
* Slicers are visual filter controls for Tables and Pivot Tables.
|
|
370
|
+
* Uses Cell Identity Model for column references (CellId, not column index).
|
|
371
|
+
* Lazily created when first slicer is added.
|
|
372
|
+
*/
|
|
373
|
+
slicers: Map<string, StoredSlicerConfig> | undefined;
|
|
374
|
+
/**
|
|
375
|
+
* Data bindings for external data connections (Stream DB).
|
|
376
|
+
* Maps binding IDs to data binding configurations.
|
|
377
|
+
* Lazily created when first data binding is added.
|
|
378
|
+
*/
|
|
379
|
+
dataBindings: Map<string, unknown> | undefined;
|
|
380
|
+
}
|
|
381
|
+
//# sourceMappingURL=store-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
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AAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;IACjD;;;;OAIG;IACH,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC;IAC1C,iEAAiE;IACjE,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,GAAG,SAAS,CAAC;IACzD,2EAA2E;IAC3E,oBAAoB,EAAE,GAAG,CAAC,MAAM,EAAE,mBAAmB,CAAC,GAAG,SAAS,CAAC;IACnE,iDAAiD;IACjD,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,GAAG,SAAS,CAAC;IACnD,oFAAoF;IACpF,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,iBAAiB,CAAC,GAAG,SAAS,CAAC;IACpD;;;;OAIG;IACH,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;IAC3C;;;;;OAKG;IACH,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,GAAG,SAAS,CAAC;IACrD;;;;OAIG;IACH,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;CAChD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WordArt Schema - Type Definitions Only
|
|
3
|
+
*
|
|
4
|
+
* Runtime schema objects, defaults, factory functions, and utility functions have been moved to:
|
|
5
|
+
* @see @mog/kernel/defaults/wordart
|
|
6
|
+
*
|
|
7
|
+
* This file retains only the type exports for the contracts layer.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Type for the schema keys - all valid WordArtConfig field names.
|
|
11
|
+
*/
|
|
12
|
+
export type WordArtSchemaField = 'warpPreset' | 'warpAdjustments' | 'fill' | 'outline' | 'effects' | 'followPath' | 'anchor' | 'textDirection' | 'normalizeHeights';
|
|
13
|
+
//# sourceMappingURL=wordart-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wordart-schema.d.ts","sourceRoot":"","sources":["../../src/store/wordart-schema.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC1B,YAAY,GACZ,iBAAiB,GACjB,MAAM,GACN,SAAS,GACT,SAAS,GACT,YAAY,GACZ,QAAQ,GACR,eAAe,GACf,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WorkbookSettings Schema - Type Definitions Only
|
|
3
|
+
*
|
|
4
|
+
* Runtime schema objects, defaults, and utility functions have been moved to:
|
|
5
|
+
* @see @mog/kernel/defaults/workbook
|
|
6
|
+
*
|
|
7
|
+
* This file retains only the type exports for the contracts layer.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Type for the schema keys - all valid WorkbookSettings field names.
|
|
11
|
+
*
|
|
12
|
+
* NOTE: The actual WORKBOOK_SETTINGS_SCHEMA object lives in @mog/kernel/defaults/workbook.
|
|
13
|
+
* This type is kept here for contracts-level type checking.
|
|
14
|
+
*/
|
|
15
|
+
export type WorkbookSettingsField = 'showHorizontalScrollbar' | 'showVerticalScrollbar' | 'autoHideScrollBars' | 'showTabStrip' | 'showFormulaBar' | 'allowSheetReorder' | 'autoFitOnDoubleClick' | 'showCutCopyIndicator' | 'allowDragFill' | 'enterKeyDirection' | 'allowCellDragDrop' | 'themeId' | 'themeFontsId' | 'culture' | 'selectedSheetIds' | 'isWorkbookProtected' | 'workbookProtectionPasswordHash' | 'workbookProtectionOptions' | 'calculationSettings' | 'date1904' | 'defaultTableStyleId' | 'appInstances';
|
|
16
|
+
//# sourceMappingURL=workbook-schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workbook-schema.d.ts","sourceRoot":"","sources":["../../src/store/workbook-schema.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAC7B,yBAAyB,GACzB,uBAAuB,GACvB,oBAAoB,GACpB,cAAc,GACd,gBAAgB,GAChB,mBAAmB,GACnB,sBAAsB,GACtB,sBAAsB,GACtB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,SAAS,GACT,cAAc,GACd,SAAS,GACT,kBAAkB,GAClB,qBAAqB,GACrB,gCAAgC,GAChC,2BAA2B,GAC3B,qBAAqB,GACrB,UAAU,GACV,qBAAqB,GACrB,cAAc,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Built-in Cell Styles - Types Only
|
|
3
|
+
*
|
|
4
|
+
* Runtime code (BUILT_IN_STYLES constant, helper functions, category constants)
|
|
5
|
+
* has been moved to @mog/kernel/domain/cells/built-in-styles.
|
|
6
|
+
*
|
|
7
|
+
* This file is kept empty to avoid breaking any residual imports.
|
|
8
|
+
* All consumers should import from @mog/kernel/domain/cells/built-in-styles.
|
|
9
|
+
*/
|
|
10
|
+
//# sourceMappingURL=built-in-styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"built-in-styles.d.ts","sourceRoot":"","sources":["../../src/styles/built-in-styles.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Styles Module - Types Only
|
|
3
|
+
*
|
|
4
|
+
* Runtime code (BUILT_IN_STYLES, helper functions, category constants)
|
|
5
|
+
* has been moved to @mog/kernel/domain/cells/built-in-styles.
|
|
6
|
+
*
|
|
7
|
+
* This module retains only type exports.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Information about a missing font detected during import.
|
|
11
|
+
*/
|
|
12
|
+
export interface MissingFontInfo {
|
|
13
|
+
/** The font name from the XLSX file that is not available */
|
|
14
|
+
originalFont: string;
|
|
15
|
+
/** The font that will be used as a substitute */
|
|
16
|
+
substituteFont: string;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/styles/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,6DAA6D;IAC7D,YAAY,EAAE,MAAM,CAAC;IACrB,iDAAiD;IACjD,cAAc,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A1 Notation Utility Functions
|
|
3
|
+
*
|
|
4
|
+
* Runtime functions have been moved to @mog/spreadsheet-utils/a1.
|
|
5
|
+
* Import directly from there.
|
|
6
|
+
*
|
|
7
|
+
* Types re-exported for backward compatibility.
|
|
8
|
+
*
|
|
9
|
+
* @see plans/archive/refactor/cleanup-round2/02-CONTRACTS-RUNTIME-EXTRACTION.md
|
|
10
|
+
*/
|
|
11
|
+
export type { ParsedCellAddress, ParsedCellRange } from '@mog/spreadsheet-utils/a1';
|
|
12
|
+
//# sourceMappingURL=a1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"a1.d.ts","sourceRoot":"","sources":["../../src/utils/a1.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datetime.d.ts","sourceRoot":"","sources":["../../src/utils/datetime.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Function Registry -- Lightweight metadata registry for Excel functions.
|
|
3
|
+
*
|
|
4
|
+
* Types remain here in contracts. The FunctionRegistry class and globalRegistry
|
|
5
|
+
* singleton have been moved to @mog/spreadsheet-utils/function-registry.
|
|
6
|
+
*
|
|
7
|
+
* Migrated from @mog/calculator.
|
|
8
|
+
*/
|
|
9
|
+
export type FunctionArgumentType = 'number' | 'text' | 'logical' | 'reference' | 'array' | 'any' | 'date';
|
|
10
|
+
export interface FunctionArgument {
|
|
11
|
+
name: string;
|
|
12
|
+
description: string;
|
|
13
|
+
type: FunctionArgumentType;
|
|
14
|
+
optional: boolean;
|
|
15
|
+
repeating?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface FunctionMetadata {
|
|
18
|
+
name: string;
|
|
19
|
+
category: FunctionCategory;
|
|
20
|
+
description: string;
|
|
21
|
+
minArgs?: number;
|
|
22
|
+
maxArgs?: number;
|
|
23
|
+
isVolatile?: boolean;
|
|
24
|
+
arguments?: FunctionArgument[];
|
|
25
|
+
}
|
|
26
|
+
export declare enum FunctionCategory {
|
|
27
|
+
MATH = "Math",
|
|
28
|
+
STATISTICAL = "Statistical",
|
|
29
|
+
TEXT = "Text",
|
|
30
|
+
LOGICAL = "Logical",
|
|
31
|
+
DATE_TIME = "Date & Time",
|
|
32
|
+
LOOKUP = "Lookup & Reference",
|
|
33
|
+
FINANCIAL = "Financial",
|
|
34
|
+
INFORMATION = "Information",
|
|
35
|
+
DATABASE = "Database",
|
|
36
|
+
ENGINEERING = "Engineering",
|
|
37
|
+
WEB = "Web",
|
|
38
|
+
TESTING = "Testing"
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=function-registry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function-registry.d.ts","sourceRoot":"","sources":["../../src/utils/function-registry.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,MAAM,MAAM,oBAAoB,GAC5B,QAAQ,GACR,MAAM,GACN,SAAS,GACT,WAAW,GACX,OAAO,GACP,KAAK,GACL,MAAM,CAAC;AAEX,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,oBAAoB,CAAC;IAC3B,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAChC;AAED,oBAAY,gBAAgB;IAC1B,IAAI,SAAS;IACb,WAAW,gBAAgB;IAC3B,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,SAAS,gBAAgB;IACzB,MAAM,uBAAuB;IAC7B,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,GAAG,QAAQ;IACX,OAAO,YAAY;CACpB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contract Utility Types
|
|
3
|
+
*
|
|
4
|
+
* Runtime utilities have been moved to @mog/spreadsheet-utils.
|
|
5
|
+
* Only types remain here.
|
|
6
|
+
*/
|
|
7
|
+
export type { ParsedCellAddress, ParsedCellRange } from './a1';
|
|
8
|
+
export { FunctionCategory, type FunctionArgument, type FunctionArgumentType, type FunctionMetadata, } from './function-registry';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAG/D,OAAO,EACL,gBAAgB,EAChB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,GACtB,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Protection Utility Functions
|
|
3
|
+
*
|
|
4
|
+
* Runtime functions have been moved to @mog/spreadsheet-utils/protection.
|
|
5
|
+
* Import directly from there.
|
|
6
|
+
*
|
|
7
|
+
* @see plans/archive/refactor/cleanup-round2/02-CONTRACTS-RUNTIME-EXTRACTION.md
|
|
8
|
+
*/
|
|
9
|
+
//# sourceMappingURL=protection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"protection.d.ts","sourceRoot":"","sources":["../../src/utils/protection.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Range Navigation Functions
|
|
3
|
+
*
|
|
4
|
+
* Runtime functions have been moved to @mog/spreadsheet-utils/range.
|
|
5
|
+
* Import directly from there.
|
|
6
|
+
*
|
|
7
|
+
* @see plans/archive/refactor/cleanup-round2/02-CONTRACTS-RUNTIME-EXTRACTION.md
|
|
8
|
+
*/
|
|
9
|
+
//# sourceMappingURL=range-navigation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"range-navigation.d.ts","sourceRoot":"","sources":["../../src/utils/range-navigation.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Range Utility Functions
|
|
3
|
+
*
|
|
4
|
+
* Runtime functions have been moved to @mog/spreadsheet-utils/range.
|
|
5
|
+
* Import directly from there.
|
|
6
|
+
*
|
|
7
|
+
* @see plans/archive/refactor/cleanup-round2/02-CONTRACTS-RUNTIME-EXTRACTION.md
|
|
8
|
+
*/
|
|
9
|
+
//# sourceMappingURL=range.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../src/utils/range.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Rich Text Utility Functions
|
|
3
|
+
*
|
|
4
|
+
* Runtime functions have been moved to @mog/spreadsheet-utils/rich-text.
|
|
5
|
+
* Import directly from there.
|
|
6
|
+
*
|
|
7
|
+
* @see plans/archive/refactor/cleanup-round2/02-CONTRACTS-RUNTIME-EXTRACTION.md
|
|
8
|
+
*/
|
|
9
|
+
//# sourceMappingURL=rich-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rich-text.d.ts","sourceRoot":"","sources":["../../src/utils/rich-text.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG"}
|