@dxos/plugin-sheet 0.8.4-main.937b3ca → 0.8.4-main.9735255
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/lib/browser/{SheetContainer-ESCXPI7Y.mjs → SheetContainer-J72HS2FI.mjs} +3 -3
- package/dist/lib/browser/{anchor-sort-JBRMW6OY.mjs → anchor-sort-LLO7PZKF.mjs} +2 -2
- package/dist/lib/browser/{chunk-2SAGT3BB.mjs → chunk-KE3AKN5W.mjs} +17 -17
- package/dist/lib/browser/chunk-KE3AKN5W.mjs.map +7 -0
- package/dist/lib/browser/{chunk-W6N44ONZ.mjs → chunk-S27QJYTN.mjs} +15 -12
- package/dist/lib/browser/chunk-S27QJYTN.mjs.map +7 -0
- package/dist/lib/browser/{compute-graph-registry-DL2PX7TF.mjs → compute-graph-registry-RC5L7RE4.mjs} +2 -2
- package/dist/lib/browser/index.mjs +6 -6
- package/dist/lib/browser/{markdown-BC4KBDUO.mjs → markdown-D2T2DOVX.mjs} +2 -2
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{operation-resolver-FJ4UWZUM.mjs → operation-resolver-YDOW72CN.mjs} +2 -2
- package/dist/lib/browser/{react-surface-5BXM6TJ3.mjs → react-surface-JIYVFH42.mjs} +3 -3
- package/dist/lib/browser/types/index.mjs +1 -1
- package/dist/lib/node-esm/{SheetContainer-YVIDJKP4.mjs → SheetContainer-OGSSDOZU.mjs} +3 -3
- package/dist/lib/node-esm/{anchor-sort-C3XFPI6S.mjs → anchor-sort-OX5I2YOW.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-IMWGSIDG.mjs → chunk-6J5L47IB.mjs} +17 -17
- package/dist/lib/node-esm/chunk-6J5L47IB.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-S7RYX7DG.mjs → chunk-Y4V6HVHO.mjs} +15 -12
- package/dist/lib/node-esm/chunk-Y4V6HVHO.mjs.map +7 -0
- package/dist/lib/node-esm/{compute-graph-registry-VXH55GDI.mjs → compute-graph-registry-ZGXVLVGD.mjs} +2 -2
- package/dist/lib/node-esm/index.mjs +6 -6
- package/dist/lib/node-esm/{markdown-6DGZCJRM.mjs → markdown-PTV72DLO.mjs} +2 -2
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{operation-resolver-OGXEUWHA.mjs → operation-resolver-Q63VQBVA.mjs} +2 -2
- package/dist/lib/node-esm/{react-surface-RLHC6B77.mjs → react-surface-SWRZSZVR.mjs} +3 -3
- package/dist/lib/node-esm/types/index.mjs +1 -1
- package/dist/types/src/components/GridSheet/GridSheet.d.ts.map +1 -1
- package/dist/types/src/testing/testing.d.ts +9 -9
- package/dist/types/src/types/Sheet.d.ts +18 -18
- package/dist/types/src/types/Sheet.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +1 -1
- package/dist/types/src/types/util.d.ts +2 -1
- package/dist/types/src/types/util.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +52 -52
- package/src/components/GridSheet/GridSheet.tsx +12 -9
- package/src/types/Sheet.ts +11 -20
- package/src/types/util.ts +2 -1
- package/dist/lib/browser/chunk-2SAGT3BB.mjs.map +0 -7
- package/dist/lib/browser/chunk-W6N44ONZ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-IMWGSIDG.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-S7RYX7DG.mjs.map +0 -7
- /package/dist/lib/browser/{SheetContainer-ESCXPI7Y.mjs.map → SheetContainer-J72HS2FI.mjs.map} +0 -0
- /package/dist/lib/browser/{anchor-sort-JBRMW6OY.mjs.map → anchor-sort-LLO7PZKF.mjs.map} +0 -0
- /package/dist/lib/browser/{compute-graph-registry-DL2PX7TF.mjs.map → compute-graph-registry-RC5L7RE4.mjs.map} +0 -0
- /package/dist/lib/browser/{markdown-BC4KBDUO.mjs.map → markdown-D2T2DOVX.mjs.map} +0 -0
- /package/dist/lib/browser/{operation-resolver-FJ4UWZUM.mjs.map → operation-resolver-YDOW72CN.mjs.map} +0 -0
- /package/dist/lib/browser/{react-surface-5BXM6TJ3.mjs.map → react-surface-JIYVFH42.mjs.map} +0 -0
- /package/dist/lib/node-esm/{SheetContainer-YVIDJKP4.mjs.map → SheetContainer-OGSSDOZU.mjs.map} +0 -0
- /package/dist/lib/node-esm/{anchor-sort-C3XFPI6S.mjs.map → anchor-sort-OX5I2YOW.mjs.map} +0 -0
- /package/dist/lib/node-esm/{compute-graph-registry-VXH55GDI.mjs.map → compute-graph-registry-ZGXVLVGD.mjs.map} +0 -0
- /package/dist/lib/node-esm/{markdown-6DGZCJRM.mjs.map → markdown-PTV72DLO.mjs.map} +0 -0
- /package/dist/lib/node-esm/{operation-resolver-OGXEUWHA.mjs.map → operation-resolver-Q63VQBVA.mjs.map} +0 -0
- /package/dist/lib/node-esm/{react-surface-RLHC6B77.mjs.map → react-surface-SWRZSZVR.mjs.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/meta.ts":{"bytes":2111,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/types/capabilities.ts":{"bytes":1425,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/util.ts":{"bytes":13782,"imports":[{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/types/Sheet.ts":{"bytes":11287,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"src/types/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/types/sheet-range-types.ts":{"bytes":3720,"imports":[],"format":"esm"},"src/types/types.ts":{"bytes":12996,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/Sheet.ts","kind":"import-statement","original":"./Sheet"}],"format":"esm"},"src/types/index.ts":{"bytes":878,"imports":[{"path":"src/types/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/types/Sheet.ts","kind":"import-statement","original":"./Sheet"},{"path":"src/types/sheet-range-types.ts","kind":"import-statement","original":"./sheet-range-types"},{"path":"src/types/types.ts","kind":"import-statement","original":"./types"},{"path":"src/types/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/capabilities/anchor-sort/anchor-sort.ts":{"bytes":2945,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/anchor-sort/index.ts":{"bytes":889,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/anchor-sort/anchor-sort.ts","kind":"dynamic-import","original":"./anchor-sort"}],"format":"esm"},"src/capabilities/compute-graph-registry/compute-graph-registry.ts":{"bytes":3775,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"@dxos/compute","kind":"dynamic-import","external":true}],"format":"esm"},"src/capabilities/compute-graph-registry/index.ts":{"bytes":991,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/compute-graph-registry/compute-graph-registry.ts","kind":"dynamic-import","original":"./compute-graph-registry"}],"format":"esm"},"src/extensions/compute.ts":{"bytes":17680,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/editor/sheet-extension.ts":{"bytes":28532,"imports":[{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"codemirror-lang-spreadsheet","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/editor/index.ts":{"bytes":493,"imports":[{"path":"src/extensions/editor/sheet-extension.ts","kind":"import-statement","original":"./sheet-extension"}],"format":"esm"},"src/extensions/index.ts":{"bytes":548,"imports":[{"path":"src/extensions/compute.ts","kind":"import-statement","original":"./compute"},{"path":"src/extensions/editor/index.ts","kind":"import-statement","original":"./editor"}],"format":"esm"},"src/capabilities/markdown/markdown.ts":{"bytes":3676,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"src/extensions/index.ts","kind":"import-statement","original":"../../extensions"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/markdown/index.ts":{"bytes":863,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/markdown/markdown.ts","kind":"dynamic-import","original":"./markdown"}],"format":"esm"},"src/capabilities/operation-resolver/operation-resolver.ts":{"bytes":10139,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/operation-resolver/index.ts":{"bytes":961,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/operation-resolver/operation-resolver.ts","kind":"dynamic-import","original":"./operation-resolver"}],"format":"esm"},"src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytes":4029,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true}],"format":"esm"},"src/components/ComputeGraph/index.ts":{"bytes":527,"imports":[{"path":"src/components/ComputeGraph/ComputeGraphContextProvider.tsx","kind":"import-statement","original":"./ComputeGraphContextProvider"}],"format":"esm"},"src/integrations/thread-ranges.ts":{"bytes":15188,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-thread/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/integrations/index.ts":{"bytes":486,"imports":[{"path":"src/integrations/thread-ranges.ts","kind":"import-statement","original":"./thread-ranges"}],"format":"esm"},"src/model/sheet-model.ts":{"bytes":60319,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/model/useSheetModel.ts":{"bytes":3024,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/model/index.ts","kind":"import-statement","original":"../model"}],"format":"esm"},"src/model/index.ts":{"bytes":574,"imports":[{"path":"src/model/sheet-model.ts","kind":"import-statement","original":"./sheet-model"},{"path":"src/model/useSheetModel.ts","kind":"import-statement","original":"./useSheetModel"}],"format":"esm"},"src/components/SheetContext/SheetContext.tsx":{"bytes":10446,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"src/model/index.ts","kind":"import-statement","original":"../../model"}],"format":"esm"},"src/components/SheetContext/index.ts":{"bytes":492,"imports":[{"path":"src/components/SheetContext/SheetContext.tsx","kind":"import-statement","original":"./SheetContext"}],"format":"esm"},"src/components/GridSheet/util.ts":{"bytes":21688,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/components/GridSheet/GridSheet.tsx":{"bytes":45228,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/lit-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"src/extensions/index.ts","kind":"import-statement","original":"../../extensions"},{"path":"src/integrations/index.ts","kind":"import-statement","original":"../../integrations"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"},{"path":"src/components/GridSheet/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/components/GridSheet/index.ts":{"bytes":482,"imports":[{"path":"src/components/GridSheet/GridSheet.tsx","kind":"import-statement","original":"./GridSheet"}],"format":"esm"},"src/components/RangeList/RangeList.tsx":{"bytes":7928,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/components/RangeList/index.ts":{"bytes":482,"imports":[{"path":"src/components/RangeList/RangeList.tsx","kind":"import-statement","original":"./RangeList"}],"format":"esm"},"src/components/FunctionEditor/FunctionEditor.tsx":{"bytes":5098,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"src/components/FunctionEditor/index.ts":{"bytes":500,"imports":[{"path":"src/components/FunctionEditor/FunctionEditor.tsx","kind":"import-statement","original":"./FunctionEditor"}],"format":"esm"},"src/components/SheetToolbar/align.ts":{"bytes":14902,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"src/components/SheetToolbar/style.ts":{"bytes":15453,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"src/components/SheetToolbar/useToolbarState.ts":{"bytes":3034,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/SheetToolbar/SheetToolbar.tsx":{"bytes":9919,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"},{"path":"src/components/SheetToolbar/align.ts","kind":"import-statement","original":"./align"},{"path":"src/components/SheetToolbar/style.ts","kind":"import-statement","original":"./style"},{"path":"src/components/SheetToolbar/useToolbarState.ts","kind":"import-statement","original":"./useToolbarState"}],"format":"esm"},"src/components/SheetToolbar/index.ts":{"bytes":492,"imports":[{"path":"src/components/SheetToolbar/SheetToolbar.tsx","kind":"import-statement","original":"./SheetToolbar"}],"format":"esm"},"src/components/SheetContainer/SheetContainer.tsx":{"bytes":4871,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"src/components/ComputeGraph/index.ts","kind":"import-statement","original":"../ComputeGraph"},{"path":"src/components/FunctionEditor/index.ts","kind":"import-statement","original":"../FunctionEditor"},{"path":"src/components/GridSheet/index.ts","kind":"import-statement","original":"../GridSheet"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"},{"path":"src/components/SheetToolbar/index.ts","kind":"import-statement","original":"../SheetToolbar"}],"format":"esm"},"src/components/SheetContainer/index.ts":{"bytes":676,"imports":[{"path":"src/components/SheetContainer/SheetContainer.tsx","kind":"import-statement","original":"./SheetContainer"}],"format":"esm"},"src/components/index.ts":{"bytes":1135,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/ComputeGraph/index.ts","kind":"import-statement","original":"./ComputeGraph"},{"path":"src/components/GridSheet/index.ts","kind":"import-statement","original":"./GridSheet"},{"path":"src/components/RangeList/index.ts","kind":"import-statement","original":"./RangeList"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"./SheetContext"},{"path":"src/components/SheetContainer/index.ts","kind":"dynamic-import","original":"./SheetContainer"}],"format":"esm"},"src/capabilities/react-surface/react-surface.tsx":{"bytes":6084,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/react-surface/index.ts":{"bytes":909,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-surface/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":909,"imports":[{"path":"src/capabilities/anchor-sort/index.ts","kind":"import-statement","original":"./anchor-sort"},{"path":"src/capabilities/compute-graph-registry/index.ts","kind":"import-statement","original":"./compute-graph-registry"},{"path":"src/capabilities/markdown/index.ts","kind":"import-statement","original":"./markdown"},{"path":"src/capabilities/operation-resolver/index.ts","kind":"import-statement","original":"./operation-resolver"},{"path":"src/capabilities/react-surface/index.ts","kind":"import-statement","original":"./react-surface"}],"format":"esm"},"src/serializer.ts":{"bytes":2554,"imports":[{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/translations.ts":{"bytes":6176,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/SheetPlugin.tsx":{"bytes":8402,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/serializer.ts","kind":"import-statement","original":"./serializer"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/index.ts":{"bytes":716,"imports":[{"path":"src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/SheetPlugin.tsx","kind":"import-statement","original":"./SheetPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10312},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-2SAGT3BB.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/anchor-sort-JBRMW6OY.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/compute-graph-registry-DL2PX7TF.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/markdown-BC4KBDUO.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/operation-resolver-FJ4UWZUM.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/react-surface-5BXM6TJ3.mjs","kind":"dynamic-import"},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true}],"exports":["SheetCapabilities","SheetPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/SheetPlugin.tsx":{"bytesInOutput":1730},"src/capabilities/anchor-sort/index.ts":{"bytesInOutput":142},"src/capabilities/index.ts":{"bytesInOutput":0},"src/capabilities/compute-graph-registry/index.ts":{"bytesInOutput":189},"src/capabilities/markdown/index.ts":{"bytesInOutput":151},"src/capabilities/operation-resolver/index.ts":{"bytesInOutput":179},"src/capabilities/react-surface/index.ts":{"bytesInOutput":164},"src/serializer.ts":{"bytesInOutput":451},"src/translations.ts":{"bytesInOutput":1803}},"bytes":5323},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-2SAGT3BB.mjs","kind":"import-statement"}],"exports":["ApiError","DEFAULT_COLS","DEFAULT_ROWS","MAX_COLS","MAX_ROWS","RangeException","ReadonlyException","Sheet","SheetAction","SheetCapabilities","SheetOperation","addressFromIndex","addressToIndex","alignKey","cellClassNameForRange","commentKey","compareIndexPositions","createIndex","createIndices","initialize","insertIndices","mapFormulaIndicesToRefs","mapFormulaRefsToIndices","rangeFromIndex","rangeToIndex","styleKey"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":1005},"dist/lib/browser/anchor-sort-JBRMW6OY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1536},"dist/lib/browser/anchor-sort-JBRMW6OY.mjs":{"imports":[{"path":"dist/lib/browser/chunk-2SAGT3BB.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/anchor-sort/anchor-sort.ts","inputs":{"src/capabilities/anchor-sort/anchor-sort.ts":{"bytesInOutput":573}},"bytes":797},"dist/lib/browser/compute-graph-registry-DL2PX7TF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1906},"dist/lib/browser/compute-graph-registry-DL2PX7TF.mjs":{"imports":[{"path":"dist/lib/browser/chunk-2SAGT3BB.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"dynamic-import","external":true}],"exports":["default"],"entryPoint":"src/capabilities/compute-graph-registry/compute-graph-registry.ts","inputs":{"src/capabilities/compute-graph-registry/compute-graph-registry.ts":{"bytesInOutput":688}},"bytes":935},"dist/lib/browser/markdown-BC4KBDUO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1894},"dist/lib/browser/markdown-BC4KBDUO.mjs":{"imports":[{"path":"dist/lib/browser/chunk-IFLWVS2V.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-2SAGT3BB.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/markdown/markdown.ts","inputs":{"src/capabilities/markdown/markdown.ts":{"bytesInOutput":721}},"bytes":972},"dist/lib/browser/operation-resolver-FJ4UWZUM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4881},"dist/lib/browser/operation-resolver-FJ4UWZUM.mjs":{"imports":[{"path":"dist/lib/browser/chunk-2SAGT3BB.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/operation-resolver/operation-resolver.ts","inputs":{"src/capabilities/operation-resolver/operation-resolver.ts":{"bytesInOutput":2279}},"bytes":2532},"dist/lib/browser/SheetContainer-ESCXPI7Y.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":27801},"dist/lib/browser/SheetContainer-ESCXPI7Y.mjs":{"imports":[{"path":"dist/lib/browser/chunk-W6N44ONZ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-IFLWVS2V.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-2SAGT3BB.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/components/SheetContainer/index.ts","inputs":{"src/components/SheetContainer/SheetContainer.tsx":{"bytesInOutput":942},"src/components/FunctionEditor/FunctionEditor.tsx":{"bytesInOutput":1359},"src/components/FunctionEditor/index.ts":{"bytesInOutput":0},"src/components/SheetToolbar/SheetToolbar.tsx":{"bytesInOutput":2243},"src/components/SheetToolbar/align.ts":{"bytesInOutput":3158},"src/components/SheetToolbar/style.ts":{"bytesInOutput":3441},"src/components/SheetToolbar/useToolbarState.ts":{"bytesInOutput":283},"src/components/SheetToolbar/index.ts":{"bytesInOutput":0},"src/components/SheetContainer/index.ts":{"bytesInOutput":45}},"bytes":12263},"dist/lib/browser/react-surface-5BXM6TJ3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3002},"dist/lib/browser/react-surface-5BXM6TJ3.mjs":{"imports":[{"path":"dist/lib/browser/chunk-W6N44ONZ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-IFLWVS2V.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-2SAGT3BB.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface/react-surface.tsx","inputs":{"src/capabilities/react-surface/react-surface.tsx":{"bytesInOutput":1307}},"bytes":1676},"dist/lib/browser/chunk-W6N44ONZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":85552},"dist/lib/browser/chunk-W6N44ONZ.mjs":{"imports":[{"path":"dist/lib/browser/chunk-IFLWVS2V.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-2SAGT3BB.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/lit-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-thread/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"dist/lib/browser/SheetContainer-ESCXPI7Y.mjs","kind":"dynamic-import"}],"exports":["ComputeGraphContextProvider","GridSheet","RangeList","SheetContainer","SheetProvider","useComputeGraph","useSheetContext"],"inputs":{"src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytesInOutput":775},"src/components/RangeList/RangeList.tsx":{"bytesInOutput":1846},"src/components/index.ts":{"bytesInOutput":104},"src/components/ComputeGraph/index.ts":{"bytesInOutput":0},"src/components/GridSheet/GridSheet.tsx":{"bytesInOutput":11352},"src/integrations/thread-ranges.ts":{"bytesInOutput":3386},"src/integrations/index.ts":{"bytesInOutput":0},"src/components/SheetContext/SheetContext.tsx":{"bytesInOutput":2314},"src/model/sheet-model.ts":{"bytesInOutput":15000},"src/model/index.ts":{"bytesInOutput":0},"src/model/useSheetModel.ts":{"bytesInOutput":558},"src/components/SheetContext/index.ts":{"bytesInOutput":0},"src/components/GridSheet/util.ts":{"bytesInOutput":5051},"src/components/GridSheet/index.ts":{"bytesInOutput":0},"src/components/RangeList/index.ts":{"bytesInOutput":0}},"bytes":41454},"dist/lib/browser/chunk-IFLWVS2V.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":20135},"dist/lib/browser/chunk-IFLWVS2V.mjs":{"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"codemirror-lang-spreadsheet","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"exports":["computeGraphFacet","rangeExtension","sheetExtension"],"inputs":{"src/extensions/compute.ts":{"bytesInOutput":503},"src/extensions/index.ts":{"bytesInOutput":0},"src/extensions/editor/sheet-extension.ts":{"bytesInOutput":6099},"src/extensions/editor/index.ts":{"bytesInOutput":0}},"bytes":6789},"dist/lib/browser/chunk-2SAGT3BB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":22078},"dist/lib/browser/chunk-2SAGT3BB.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["ApiError","DEFAULT_COLS","DEFAULT_ROWS","MAX_COLS","MAX_ROWS","RangeException","ReadonlyException","SheetAction","SheetCapabilities","SheetOperation","Sheet_exports","addressFromIndex","addressToIndex","alignKey","cellClassNameForRange","commentKey","compareIndexPositions","createIndex","createIndices","initialize","insertIndices","mapFormulaIndicesToRefs","mapFormulaRefsToIndices","meta","rangeFromIndex","rangeToIndex","styleKey"],"inputs":{"src/types/capabilities.ts":{"bytesInOutput":265},"src/meta.ts":{"bytesInOutput":543},"src/types/index.ts":{"bytesInOutput":0},"src/types/Sheet.ts":{"bytesInOutput":2625},"src/types/util.ts":{"bytesInOutput":2925},"src/types/sheet-range-types.ts":{"bytesInOutput":709},"src/types/types.ts":{"bytesInOutput":3353}},"bytes":11308}}}
|
|
1
|
+
{"inputs":{"src/meta.ts":{"bytes":2111,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/types/capabilities.ts":{"bytes":1425,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/util.ts":{"bytes":13850,"imports":[{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/types/Sheet.ts":{"bytes":10620,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"src/types/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/types/sheet-range-types.ts":{"bytes":3720,"imports":[],"format":"esm"},"src/types/types.ts":{"bytes":12996,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/Sheet.ts","kind":"import-statement","original":"./Sheet"}],"format":"esm"},"src/types/index.ts":{"bytes":878,"imports":[{"path":"src/types/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/types/Sheet.ts","kind":"import-statement","original":"./Sheet"},{"path":"src/types/sheet-range-types.ts","kind":"import-statement","original":"./sheet-range-types"},{"path":"src/types/types.ts","kind":"import-statement","original":"./types"},{"path":"src/types/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/capabilities/anchor-sort/anchor-sort.ts":{"bytes":2945,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/anchor-sort/index.ts":{"bytes":889,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/anchor-sort/anchor-sort.ts","kind":"dynamic-import","original":"./anchor-sort"}],"format":"esm"},"src/capabilities/compute-graph-registry/compute-graph-registry.ts":{"bytes":3775,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"@dxos/compute","kind":"dynamic-import","external":true}],"format":"esm"},"src/capabilities/compute-graph-registry/index.ts":{"bytes":991,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/compute-graph-registry/compute-graph-registry.ts","kind":"dynamic-import","original":"./compute-graph-registry"}],"format":"esm"},"src/extensions/compute.ts":{"bytes":17680,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/editor/sheet-extension.ts":{"bytes":28532,"imports":[{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"codemirror-lang-spreadsheet","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/editor/index.ts":{"bytes":493,"imports":[{"path":"src/extensions/editor/sheet-extension.ts","kind":"import-statement","original":"./sheet-extension"}],"format":"esm"},"src/extensions/index.ts":{"bytes":548,"imports":[{"path":"src/extensions/compute.ts","kind":"import-statement","original":"./compute"},{"path":"src/extensions/editor/index.ts","kind":"import-statement","original":"./editor"}],"format":"esm"},"src/capabilities/markdown/markdown.ts":{"bytes":3676,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"src/extensions/index.ts","kind":"import-statement","original":"../../extensions"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/markdown/index.ts":{"bytes":863,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/markdown/markdown.ts","kind":"dynamic-import","original":"./markdown"}],"format":"esm"},"src/capabilities/operation-resolver/operation-resolver.ts":{"bytes":10139,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/operation-resolver/index.ts":{"bytes":961,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/operation-resolver/operation-resolver.ts","kind":"dynamic-import","original":"./operation-resolver"}],"format":"esm"},"src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytes":4029,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true}],"format":"esm"},"src/components/ComputeGraph/index.ts":{"bytes":527,"imports":[{"path":"src/components/ComputeGraph/ComputeGraphContextProvider.tsx","kind":"import-statement","original":"./ComputeGraphContextProvider"}],"format":"esm"},"src/integrations/thread-ranges.ts":{"bytes":15188,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-thread/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/integrations/index.ts":{"bytes":486,"imports":[{"path":"src/integrations/thread-ranges.ts","kind":"import-statement","original":"./thread-ranges"}],"format":"esm"},"src/model/sheet-model.ts":{"bytes":60319,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/model/useSheetModel.ts":{"bytes":3024,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/model/index.ts","kind":"import-statement","original":"../model"}],"format":"esm"},"src/model/index.ts":{"bytes":574,"imports":[{"path":"src/model/sheet-model.ts","kind":"import-statement","original":"./sheet-model"},{"path":"src/model/useSheetModel.ts","kind":"import-statement","original":"./useSheetModel"}],"format":"esm"},"src/components/SheetContext/SheetContext.tsx":{"bytes":10446,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"src/model/index.ts","kind":"import-statement","original":"../../model"}],"format":"esm"},"src/components/SheetContext/index.ts":{"bytes":492,"imports":[{"path":"src/components/SheetContext/SheetContext.tsx","kind":"import-statement","original":"./SheetContext"}],"format":"esm"},"src/components/GridSheet/util.ts":{"bytes":21688,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/components/GridSheet/GridSheet.tsx":{"bytes":45445,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/lit-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"src/extensions/index.ts","kind":"import-statement","original":"../../extensions"},{"path":"src/integrations/index.ts","kind":"import-statement","original":"../../integrations"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"},{"path":"src/components/GridSheet/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/components/GridSheet/index.ts":{"bytes":482,"imports":[{"path":"src/components/GridSheet/GridSheet.tsx","kind":"import-statement","original":"./GridSheet"}],"format":"esm"},"src/components/RangeList/RangeList.tsx":{"bytes":7928,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/components/RangeList/index.ts":{"bytes":482,"imports":[{"path":"src/components/RangeList/RangeList.tsx","kind":"import-statement","original":"./RangeList"}],"format":"esm"},"src/components/FunctionEditor/FunctionEditor.tsx":{"bytes":5098,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"src/components/FunctionEditor/index.ts":{"bytes":500,"imports":[{"path":"src/components/FunctionEditor/FunctionEditor.tsx","kind":"import-statement","original":"./FunctionEditor"}],"format":"esm"},"src/components/SheetToolbar/align.ts":{"bytes":14902,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"src/components/SheetToolbar/style.ts":{"bytes":15453,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"src/components/SheetToolbar/useToolbarState.ts":{"bytes":3034,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/SheetToolbar/SheetToolbar.tsx":{"bytes":9919,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"},{"path":"src/components/SheetToolbar/align.ts","kind":"import-statement","original":"./align"},{"path":"src/components/SheetToolbar/style.ts","kind":"import-statement","original":"./style"},{"path":"src/components/SheetToolbar/useToolbarState.ts","kind":"import-statement","original":"./useToolbarState"}],"format":"esm"},"src/components/SheetToolbar/index.ts":{"bytes":492,"imports":[{"path":"src/components/SheetToolbar/SheetToolbar.tsx","kind":"import-statement","original":"./SheetToolbar"}],"format":"esm"},"src/components/SheetContainer/SheetContainer.tsx":{"bytes":4871,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"src/components/ComputeGraph/index.ts","kind":"import-statement","original":"../ComputeGraph"},{"path":"src/components/FunctionEditor/index.ts","kind":"import-statement","original":"../FunctionEditor"},{"path":"src/components/GridSheet/index.ts","kind":"import-statement","original":"../GridSheet"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"},{"path":"src/components/SheetToolbar/index.ts","kind":"import-statement","original":"../SheetToolbar"}],"format":"esm"},"src/components/SheetContainer/index.ts":{"bytes":676,"imports":[{"path":"src/components/SheetContainer/SheetContainer.tsx","kind":"import-statement","original":"./SheetContainer"}],"format":"esm"},"src/components/index.ts":{"bytes":1135,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/ComputeGraph/index.ts","kind":"import-statement","original":"./ComputeGraph"},{"path":"src/components/GridSheet/index.ts","kind":"import-statement","original":"./GridSheet"},{"path":"src/components/RangeList/index.ts","kind":"import-statement","original":"./RangeList"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"./SheetContext"},{"path":"src/components/SheetContainer/index.ts","kind":"dynamic-import","original":"./SheetContainer"}],"format":"esm"},"src/capabilities/react-surface/react-surface.tsx":{"bytes":6084,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/react-surface/index.ts":{"bytes":909,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-surface/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":909,"imports":[{"path":"src/capabilities/anchor-sort/index.ts","kind":"import-statement","original":"./anchor-sort"},{"path":"src/capabilities/compute-graph-registry/index.ts","kind":"import-statement","original":"./compute-graph-registry"},{"path":"src/capabilities/markdown/index.ts","kind":"import-statement","original":"./markdown"},{"path":"src/capabilities/operation-resolver/index.ts","kind":"import-statement","original":"./operation-resolver"},{"path":"src/capabilities/react-surface/index.ts","kind":"import-statement","original":"./react-surface"}],"format":"esm"},"src/serializer.ts":{"bytes":2554,"imports":[{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/translations.ts":{"bytes":6176,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/SheetPlugin.tsx":{"bytes":8402,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/serializer.ts","kind":"import-statement","original":"./serializer"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/index.ts":{"bytes":716,"imports":[{"path":"src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/SheetPlugin.tsx","kind":"import-statement","original":"./SheetPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10312},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-KE3AKN5W.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/anchor-sort-LLO7PZKF.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/compute-graph-registry-RC5L7RE4.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/markdown-D2T2DOVX.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/operation-resolver-YDOW72CN.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/react-surface-JIYVFH42.mjs","kind":"dynamic-import"},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true}],"exports":["SheetCapabilities","SheetPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/SheetPlugin.tsx":{"bytesInOutput":1730},"src/capabilities/anchor-sort/index.ts":{"bytesInOutput":142},"src/capabilities/index.ts":{"bytesInOutput":0},"src/capabilities/compute-graph-registry/index.ts":{"bytesInOutput":189},"src/capabilities/markdown/index.ts":{"bytesInOutput":151},"src/capabilities/operation-resolver/index.ts":{"bytesInOutput":179},"src/capabilities/react-surface/index.ts":{"bytesInOutput":164},"src/serializer.ts":{"bytesInOutput":451},"src/translations.ts":{"bytesInOutput":1803}},"bytes":5323},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-KE3AKN5W.mjs","kind":"import-statement"}],"exports":["ApiError","DEFAULT_COLS","DEFAULT_ROWS","MAX_COLS","MAX_ROWS","RangeException","ReadonlyException","Sheet","SheetAction","SheetCapabilities","SheetOperation","addressFromIndex","addressToIndex","alignKey","cellClassNameForRange","commentKey","compareIndexPositions","createIndex","createIndices","initialize","insertIndices","mapFormulaIndicesToRefs","mapFormulaRefsToIndices","rangeFromIndex","rangeToIndex","styleKey"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":1005},"dist/lib/browser/anchor-sort-LLO7PZKF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1536},"dist/lib/browser/anchor-sort-LLO7PZKF.mjs":{"imports":[{"path":"dist/lib/browser/chunk-KE3AKN5W.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/anchor-sort/anchor-sort.ts","inputs":{"src/capabilities/anchor-sort/anchor-sort.ts":{"bytesInOutput":573}},"bytes":797},"dist/lib/browser/compute-graph-registry-RC5L7RE4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1906},"dist/lib/browser/compute-graph-registry-RC5L7RE4.mjs":{"imports":[{"path":"dist/lib/browser/chunk-KE3AKN5W.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"dynamic-import","external":true}],"exports":["default"],"entryPoint":"src/capabilities/compute-graph-registry/compute-graph-registry.ts","inputs":{"src/capabilities/compute-graph-registry/compute-graph-registry.ts":{"bytesInOutput":688}},"bytes":935},"dist/lib/browser/markdown-D2T2DOVX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1894},"dist/lib/browser/markdown-D2T2DOVX.mjs":{"imports":[{"path":"dist/lib/browser/chunk-IFLWVS2V.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-KE3AKN5W.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/markdown/markdown.ts","inputs":{"src/capabilities/markdown/markdown.ts":{"bytesInOutput":721}},"bytes":972},"dist/lib/browser/operation-resolver-YDOW72CN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4881},"dist/lib/browser/operation-resolver-YDOW72CN.mjs":{"imports":[{"path":"dist/lib/browser/chunk-KE3AKN5W.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/operation-resolver/operation-resolver.ts","inputs":{"src/capabilities/operation-resolver/operation-resolver.ts":{"bytesInOutput":2279}},"bytes":2532},"dist/lib/browser/SheetContainer-J72HS2FI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":27801},"dist/lib/browser/SheetContainer-J72HS2FI.mjs":{"imports":[{"path":"dist/lib/browser/chunk-S27QJYTN.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-IFLWVS2V.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-KE3AKN5W.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/components/SheetContainer/index.ts","inputs":{"src/components/SheetContainer/SheetContainer.tsx":{"bytesInOutput":942},"src/components/FunctionEditor/FunctionEditor.tsx":{"bytesInOutput":1359},"src/components/FunctionEditor/index.ts":{"bytesInOutput":0},"src/components/SheetToolbar/SheetToolbar.tsx":{"bytesInOutput":2243},"src/components/SheetToolbar/align.ts":{"bytesInOutput":3158},"src/components/SheetToolbar/style.ts":{"bytesInOutput":3441},"src/components/SheetToolbar/useToolbarState.ts":{"bytesInOutput":283},"src/components/SheetToolbar/index.ts":{"bytesInOutput":0},"src/components/SheetContainer/index.ts":{"bytesInOutput":45}},"bytes":12263},"dist/lib/browser/react-surface-JIYVFH42.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3002},"dist/lib/browser/react-surface-JIYVFH42.mjs":{"imports":[{"path":"dist/lib/browser/chunk-S27QJYTN.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-IFLWVS2V.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-KE3AKN5W.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface/react-surface.tsx","inputs":{"src/capabilities/react-surface/react-surface.tsx":{"bytesInOutput":1307}},"bytes":1676},"dist/lib/browser/chunk-S27QJYTN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":85684},"dist/lib/browser/chunk-S27QJYTN.mjs":{"imports":[{"path":"dist/lib/browser/chunk-IFLWVS2V.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-KE3AKN5W.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/lit-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-thread/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"dist/lib/browser/SheetContainer-J72HS2FI.mjs","kind":"dynamic-import"}],"exports":["ComputeGraphContextProvider","GridSheet","RangeList","SheetContainer","SheetProvider","useComputeGraph","useSheetContext"],"inputs":{"src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytesInOutput":775},"src/components/RangeList/RangeList.tsx":{"bytesInOutput":1846},"src/components/index.ts":{"bytesInOutput":104},"src/components/ComputeGraph/index.ts":{"bytesInOutput":0},"src/components/GridSheet/GridSheet.tsx":{"bytesInOutput":11426},"src/integrations/thread-ranges.ts":{"bytesInOutput":3386},"src/integrations/index.ts":{"bytesInOutput":0},"src/components/SheetContext/SheetContext.tsx":{"bytesInOutput":2314},"src/model/sheet-model.ts":{"bytesInOutput":15000},"src/model/index.ts":{"bytesInOutput":0},"src/model/useSheetModel.ts":{"bytesInOutput":558},"src/components/SheetContext/index.ts":{"bytesInOutput":0},"src/components/GridSheet/util.ts":{"bytesInOutput":5051},"src/components/GridSheet/index.ts":{"bytesInOutput":0},"src/components/RangeList/index.ts":{"bytesInOutput":0}},"bytes":41528},"dist/lib/browser/chunk-IFLWVS2V.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":20135},"dist/lib/browser/chunk-IFLWVS2V.mjs":{"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"codemirror-lang-spreadsheet","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"exports":["computeGraphFacet","rangeExtension","sheetExtension"],"inputs":{"src/extensions/compute.ts":{"bytesInOutput":503},"src/extensions/index.ts":{"bytesInOutput":0},"src/extensions/editor/sheet-extension.ts":{"bytesInOutput":6099},"src/extensions/editor/index.ts":{"bytesInOutput":0}},"bytes":6789},"dist/lib/browser/chunk-KE3AKN5W.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":21842},"dist/lib/browser/chunk-KE3AKN5W.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["ApiError","DEFAULT_COLS","DEFAULT_ROWS","MAX_COLS","MAX_ROWS","RangeException","ReadonlyException","SheetAction","SheetCapabilities","SheetOperation","Sheet_exports","addressFromIndex","addressToIndex","alignKey","cellClassNameForRange","commentKey","compareIndexPositions","createIndex","createIndices","initialize","insertIndices","mapFormulaIndicesToRefs","mapFormulaRefsToIndices","meta","rangeFromIndex","rangeToIndex","styleKey"],"inputs":{"src/types/capabilities.ts":{"bytesInOutput":265},"src/meta.ts":{"bytesInOutput":543},"src/types/index.ts":{"bytesInOutput":0},"src/types/Sheet.ts":{"bytesInOutput":2466},"src/types/util.ts":{"bytesInOutput":2925},"src/types/sheet-range-types.ts":{"bytesInOutput":709},"src/types/types.ts":{"bytesInOutput":3353}},"bytes":11149}}}
|
package/dist/lib/browser/{operation-resolver-FJ4UWZUM.mjs → operation-resolver-YDOW72CN.mjs}
RENAMED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
SheetOperation,
|
|
3
3
|
Sheet_exports,
|
|
4
4
|
meta
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KE3AKN5W.mjs";
|
|
6
6
|
|
|
7
7
|
// src/capabilities/operation-resolver/operation-resolver.ts
|
|
8
8
|
import * as Effect from "effect/Effect";
|
|
@@ -76,4 +76,4 @@ var operation_resolver_default = Capability.makeModule(() => Effect.succeed([
|
|
|
76
76
|
export {
|
|
77
77
|
operation_resolver_default as default
|
|
78
78
|
};
|
|
79
|
-
//# sourceMappingURL=operation-resolver-
|
|
79
|
+
//# sourceMappingURL=operation-resolver-YDOW72CN.mjs.map
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
ComputeGraphContextProvider,
|
|
3
3
|
RangeList,
|
|
4
4
|
SheetContainer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-S27QJYTN.mjs";
|
|
6
6
|
import "./chunk-IFLWVS2V.mjs";
|
|
7
7
|
import {
|
|
8
8
|
SheetCapabilities,
|
|
9
9
|
Sheet_exports,
|
|
10
10
|
meta
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KE3AKN5W.mjs";
|
|
12
12
|
|
|
13
13
|
// src/capabilities/react-surface/react-surface.tsx
|
|
14
14
|
import * as Effect from "effect/Effect";
|
|
@@ -48,4 +48,4 @@ var react_surface_default = Capability.makeModule(() => Effect.succeed(Capabilit
|
|
|
48
48
|
export {
|
|
49
49
|
react_surface_default as default
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=react-surface-
|
|
51
|
+
//# sourceMappingURL=react-surface-JIYVFH42.mjs.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
SheetProvider,
|
|
5
5
|
useComputeGraph,
|
|
6
6
|
useSheetContext
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y4V6HVHO.mjs";
|
|
8
8
|
import "./chunk-PPOYR7DK.mjs";
|
|
9
9
|
import {
|
|
10
10
|
alignKey,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
meta,
|
|
13
13
|
rangeFromIndex,
|
|
14
14
|
rangeToIndex
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6J5L47IB.mjs";
|
|
16
16
|
|
|
17
17
|
// src/components/SheetContainer/SheetContainer.tsx
|
|
18
18
|
import React3, { Fragment } from "react";
|
|
@@ -395,4 +395,4 @@ var SheetContainer_default = SheetContainer;
|
|
|
395
395
|
export {
|
|
396
396
|
SheetContainer_default as default
|
|
397
397
|
};
|
|
398
|
-
//# sourceMappingURL=SheetContainer-
|
|
398
|
+
//# sourceMappingURL=SheetContainer-OGSSDOZU.mjs.map
|
|
@@ -2,7 +2,7 @@ import { createRequire } from 'node:module';const require = createRequire(import
|
|
|
2
2
|
import {
|
|
3
3
|
Sheet_exports,
|
|
4
4
|
compareIndexPositions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6J5L47IB.mjs";
|
|
6
6
|
|
|
7
7
|
// src/capabilities/anchor-sort/anchor-sort.ts
|
|
8
8
|
import * as Effect from "effect/Effect";
|
|
@@ -21,4 +21,4 @@ var anchor_sort_default = Capability.makeModule(() => Effect.succeed(Capability.
|
|
|
21
21
|
export {
|
|
22
22
|
anchor_sort_default as default
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=anchor-sort-
|
|
24
|
+
//# sourceMappingURL=anchor-sort-OX5I2YOW.mjs.map
|
|
@@ -123,7 +123,7 @@ var compareIndexPositions = (sheet, indexA, indexB) => {
|
|
|
123
123
|
var mapFormulaRefsToIndices = (sheet, formula) => {
|
|
124
124
|
invariant(isFormula(formula), void 0, {
|
|
125
125
|
F: __dxlog_file,
|
|
126
|
-
L:
|
|
126
|
+
L: 125,
|
|
127
127
|
S: void 0,
|
|
128
128
|
A: [
|
|
129
129
|
"isFormula(formula)",
|
|
@@ -137,7 +137,7 @@ var mapFormulaRefsToIndices = (sheet, formula) => {
|
|
|
137
137
|
var mapFormulaIndicesToRefs = (sheet, formula) => {
|
|
138
138
|
invariant(isFormula(formula), void 0, {
|
|
139
139
|
F: __dxlog_file,
|
|
140
|
-
L:
|
|
140
|
+
L: 135,
|
|
141
141
|
S: void 0,
|
|
142
142
|
A: [
|
|
143
143
|
"isFormula(formula)",
|
|
@@ -169,24 +169,24 @@ var Sheet = Schema.Struct({
|
|
|
169
169
|
// Sparse map of cells referenced by index.
|
|
170
170
|
cells: Schema.Record({
|
|
171
171
|
key: Schema.String,
|
|
172
|
-
value:
|
|
173
|
-
}).pipe(
|
|
172
|
+
value: CellValue
|
|
173
|
+
}).pipe(FormInputAnnotation.set(false)),
|
|
174
174
|
// Ordered row indices.
|
|
175
|
-
rows: Schema.Array(Schema.String).pipe(
|
|
175
|
+
rows: Schema.Array(Schema.String).pipe(FormInputAnnotation.set(false)),
|
|
176
176
|
// Ordered column indices.
|
|
177
|
-
columns: Schema.Array(Schema.String).pipe(
|
|
177
|
+
columns: Schema.Array(Schema.String).pipe(FormInputAnnotation.set(false)),
|
|
178
178
|
// Row metadata referenced by index.
|
|
179
179
|
rowMeta: Schema.Record({
|
|
180
180
|
key: Schema.String,
|
|
181
|
-
value:
|
|
182
|
-
}).pipe(
|
|
181
|
+
value: RowColumnMeta
|
|
182
|
+
}).pipe(FormInputAnnotation.set(false)),
|
|
183
183
|
// Column metadata referenced by index.
|
|
184
184
|
columnMeta: Schema.Record({
|
|
185
185
|
key: Schema.String,
|
|
186
|
-
value:
|
|
187
|
-
}).pipe(
|
|
186
|
+
value: RowColumnMeta
|
|
187
|
+
}).pipe(FormInputAnnotation.set(false)),
|
|
188
188
|
// Cell formatting referenced by indexed range.
|
|
189
|
-
ranges: Schema.Array(Range).pipe(
|
|
189
|
+
ranges: Schema.Array(Range).pipe(FormInputAnnotation.set(false))
|
|
190
190
|
}).pipe(Type.object({
|
|
191
191
|
typename: "dxos.org/type/Sheet",
|
|
192
192
|
version: "0.1.0"
|
|
@@ -201,15 +201,15 @@ var make = ({ name, cells = {}, ...size } = {}) => {
|
|
|
201
201
|
columnMeta: {},
|
|
202
202
|
ranges: []
|
|
203
203
|
});
|
|
204
|
-
Obj.change(sheet, () => {
|
|
205
|
-
initialize(
|
|
204
|
+
Obj.change(sheet, (s) => {
|
|
205
|
+
initialize(s, size);
|
|
206
206
|
if (cells) {
|
|
207
207
|
Object.entries(cells).forEach(([key, { value }]) => {
|
|
208
|
-
const idx = addressToIndex(
|
|
208
|
+
const idx = addressToIndex(s, addressFromA1Notation2(key));
|
|
209
209
|
if (isFormula2(value)) {
|
|
210
|
-
value = mapFormulaRefsToIndices(
|
|
210
|
+
value = mapFormulaRefsToIndices(s, value);
|
|
211
211
|
}
|
|
212
|
-
|
|
212
|
+
s.cells[idx] = {
|
|
213
213
|
value
|
|
214
214
|
};
|
|
215
215
|
});
|
|
@@ -395,4 +395,4 @@ export {
|
|
|
395
395
|
SheetAction,
|
|
396
396
|
SheetOperation
|
|
397
397
|
};
|
|
398
|
-
//# sourceMappingURL=chunk-
|
|
398
|
+
//# sourceMappingURL=chunk-6J5L47IB.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/types/capabilities.ts", "../../../src/meta.ts", "../../../src/types/Sheet.ts", "../../../src/types/util.ts", "../../../src/types/sheet-range-types.ts", "../../../src/types/types.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\nimport { type ComputeGraphRegistry } from '@dxos/compute';\n\nimport { meta } from '../meta';\n\nexport namespace SheetCapabilities {\n export const ComputeGraphRegistry = Capability.make<ComputeGraphRegistry>(\n `${meta.id}/capability/compute-graph-registry`,\n );\n}\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { trim } from '@dxos/util';\n\nexport const meta: Plugin.Meta = {\n id: 'dxos.org/plugin/sheet',\n name: 'Sheet',\n description: trim`\n Full-featured spreadsheet application with over 400 built-in formulas for calculations and data analysis.\n Create custom JavaScript functions and integrate with AI agents for advanced automation.\n `,\n icon: 'ph--grid-nine--regular',\n iconHue: 'indigo',\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-sheet',\n screenshots: ['https://dxos.network/plugin-details-sheet-dark.png'],\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { addressFromA1Notation, isFormula } from '@dxos/compute';\nimport { Obj, Type } from '@dxos/echo';\nimport { FormInputAnnotation } from '@dxos/echo/internal';\n\nimport { addressToIndex, initialize, mapFormulaRefsToIndices } from './util';\n\nexport type SheetSize = {\n rows: number;\n columns: number;\n};\n\nexport const CellValue = Schema.Struct({\n // TODO(burdon): How to store dates (datetime, date, time), percentages, etc.\n // Consider import/export; natural access for other plugins. Special handling for currency (precision).\n // TODO(burdon): Automerge (long string) or short string or number.\n value: Schema.Any,\n});\n\nexport type CellValue = Schema.Schema.Type<typeof CellValue>;\n\n// TODO(burdon): IMPORTANT: Reconcile with Field definition.\nexport const Range = Schema.Struct({\n range: Schema.String,\n key: Schema.String,\n value: Schema.String,\n});\n\nexport type Range = Schema.Schema.Type<typeof Range>;\n\n// TODO(burdon): Visibility, locked, frozen, etc.\nexport const RowColumnMeta = Schema.Struct({\n size: Schema.optional(Schema.Number),\n});\n\n// TODO(burdon): Reconcile col/column (across packages).\n// TODO(burdon): Index to all updates when rows/columns are inserted/deleted.\nexport const Sheet = Schema.Struct({\n name: Schema.optional(Schema.String),\n\n // Sparse map of cells referenced by index.\n cells: Schema.Record({ key: Schema.String, value: CellValue }).pipe(FormInputAnnotation.set(false)),\n\n // Ordered row indices.\n rows: Schema.Array(Schema.String).pipe(FormInputAnnotation.set(false)),\n\n // Ordered column indices.\n columns: Schema.Array(Schema.String).pipe(FormInputAnnotation.set(false)),\n\n // Row metadata referenced by index.\n rowMeta: Schema.Record({ key: Schema.String, value: RowColumnMeta }).pipe(FormInputAnnotation.set(false)),\n\n // Column metadata referenced by index.\n columnMeta: Schema.Record({ key: Schema.String, value: RowColumnMeta }).pipe(FormInputAnnotation.set(false)),\n\n // Cell formatting referenced by indexed range.\n ranges: Schema.Array(Range).pipe(FormInputAnnotation.set(false)),\n}).pipe(\n Type.object({\n typename: 'dxos.org/type/Sheet',\n version: '0.1.0',\n }),\n);\n\nexport interface Sheet extends Schema.Schema.Type<typeof Sheet> {}\n\nexport type SheetProps = {\n name?: string;\n cells?: Record<string, CellValue>;\n} & Partial<SheetSize>;\n\nexport const make = ({ name, cells = {}, ...size }: SheetProps = {}) => {\n const sheet = Obj.make(Sheet, { name, cells: {}, rows: [], columns: [], rowMeta: {}, columnMeta: {}, ranges: [] });\n\n // Initialize and set cells within Obj.change to satisfy change context requirements.\n Obj.change(sheet, (s) => {\n initialize(s, size);\n\n if (cells) {\n Object.entries(cells).forEach(([key, { value }]) => {\n const idx = addressToIndex(s, addressFromA1Notation(key));\n if (isFormula(value)) {\n value = mapFormulaRefsToIndices(s, value);\n }\n\n s.cells[idx] = { value };\n });\n }\n });\n\n return sheet;\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport {\n type CellAddress,\n type CellRange,\n type CompleteCellRange,\n addressFromA1Notation,\n addressToA1Notation,\n isFormula,\n} from '@dxos/compute';\nimport { randomBytes } from '@dxos/crypto';\nimport { type Obj } from '@dxos/echo';\nimport { invariant } from '@dxos/invariant';\n\nimport { type Sheet } from '../types';\n\nexport const MAX_ROWS = 500;\nexport const MAX_COLS = 676; // 26^2;\n\nexport const DEFAULT_ROWS = 50;\nexport const DEFAULT_COLS = 26;\n\n// TODO(burdon): Factor out from dxos/protocols to new common package.\nexport class ApiError extends Error {}\n\nexport class ReadonlyException extends ApiError {}\n\nexport class RangeException extends ApiError {\n constructor(n: number) {\n super();\n }\n}\n\n/**\n * With a string length of 8, the chance of a collision is 0.02% for a sheet with 10,000 strings.\n */\nexport const createIndex = (length = 8): string => {\n const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n const charactersLength = characters.length;\n const randomBuffer = randomBytes(length);\n return Array.from(randomBuffer, (byte) => characters[byte % charactersLength]).join('');\n};\n\nexport const createIndices = (length: number): string[] => Array.from({ length }).map(() => createIndex());\n\nexport const insertIndices = (indices: string[], i: number, n: number, max: number) => {\n if (i + n > max) {\n throw new RangeException(i + n);\n }\n\n const idx = createIndices(n);\n indices.splice(i, 0, ...idx);\n return idx;\n};\n\nexport const initialize = (\n sheet: Obj.Mutable<Sheet.Sheet>,\n { rows = DEFAULT_ROWS, columns = DEFAULT_COLS }: Partial<Sheet.SheetSize> = {},\n) => {\n if (!sheet.rows.length) {\n insertIndices(sheet.rows, 0, rows, MAX_ROWS);\n }\n if (!sheet.columns.length) {\n insertIndices(sheet.columns, 0, columns, MAX_COLS);\n }\n};\n\n/**\n * E.g., \"A1\" => \"CA2@CB3\".\n */\nexport const addressToIndex = (sheet: Sheet.Sheet, cell: CellAddress): string => {\n return `${sheet.columns[cell.col]}@${sheet.rows[cell.row]}`;\n};\n\n/**\n * E.g., \"CA2@CB3\" => \"A1\".\n */\nexport const addressFromIndex = (sheet: Sheet.Sheet, idx: string): CellAddress => {\n const [column, row] = idx.split('@');\n return {\n col: sheet.columns.indexOf(column),\n row: sheet.rows.indexOf(row),\n };\n};\n\n/**\n * E.g., \"A1:B2\" => \"CA2@CB3:CC4@CD5\".\n */\nexport const rangeToIndex = (sheet: Sheet.Sheet, range: CellRange): string => {\n return [range.from, range.to ?? range.from].map((cell) => addressToIndex(sheet, cell)).join(':');\n};\n\n/**\n * E.g., \"CA2@CB3:CC4@CD5\" => \"A1:B2\".\n */\nexport const rangeFromIndex = (sheet: Sheet.Sheet, idx: string): CompleteCellRange => {\n const [from, to] = idx.split(':').map((index) => addressFromIndex(sheet, index));\n return { from, to };\n};\n\n/**\n * Compares the positions of two cell indexes in a sheet.\n * Sorts primarily by row, then by column if rows are equal.\n */\nexport const compareIndexPositions = (sheet: Sheet.Sheet, indexA: string, indexB: string): number => {\n const { row: rowA, col: columnA } = addressFromIndex(sheet, indexA);\n const { row: rowB, col: columnB } = addressFromIndex(sheet, indexB);\n\n // Sort by row first, then by column.\n if (rowA !== rowB) {\n return rowA - rowB;\n } else {\n return columnA - columnB;\n }\n};\n\n// TODO(burdon): Tests.\n\n/**\n * Map from A1 notation to indices.\n */\nexport const mapFormulaRefsToIndices = (sheet: Sheet.Sheet, formula: string): string => {\n invariant(isFormula(formula));\n return formula.replace(/([a-zA-Z]+)([0-9]+)/g, (match) => {\n return addressToIndex(sheet, addressFromA1Notation(match));\n });\n};\n\n/**\n * Map from indices to A1 notation.\n */\nexport const mapFormulaIndicesToRefs = (sheet: Sheet.Sheet, formula: string): string => {\n invariant(isFormula(formula));\n return formula.replace(/([a-zA-Z0-9]+)@([a-zA-Z0-9]+)/g, (idx) => {\n return addressToA1Notation(addressFromIndex(sheet, idx));\n });\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport { type ClassNameValue } from '@dxos/react-ui';\n\nimport { type Sheet } from '../types';\n\nexport const alignKey = 'alignment';\nexport type AlignKey = typeof alignKey;\nexport type AlignValue = 'start' | 'center' | 'end';\n\nexport const commentKey = 'comment';\nexport type CommentKey = typeof commentKey;\nexport type CommentValue = string;\n\nexport const styleKey = 'style';\nexport type StyleKey = typeof styleKey;\nexport type StyleValue = 'highlight' | 'softwrap';\n\n// TODO(burdon): Reconcile with plugin-table.\nexport const cellClassNameForRange = ({ key, value }: Sheet.Sheet['ranges'][number]): ClassNameValue => {\n switch (key) {\n case alignKey:\n switch (value) {\n case 'start':\n return 'text-start';\n case 'center':\n return 'text-center';\n case 'end':\n return 'text-end';\n default:\n return undefined;\n }\n\n case commentKey:\n return 'bg-gridComment';\n\n case styleKey:\n switch (value) {\n case 'highlight':\n return '!bg-gridHighlight';\n case 'softwrap':\n return '!whitespace-normal';\n default:\n return undefined;\n }\n\n default:\n return undefined;\n }\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { Capability } from '@dxos/app-framework';\nimport { Operation } from '@dxos/operation';\nimport { SpaceSchema } from '@dxos/react-client/echo';\nimport { Collection } from '@dxos/schema';\n\nimport { meta } from '../meta';\n\nimport * as Sheet from './Sheet';\n\n// TODO(wittjosiah): Factor out. This is `DxGridAxis` from `@dxos/react-ui-grid`.\nconst ActionAxis = Schema.Union(Schema.Literal('row'), Schema.Literal('col'));\n\nexport namespace SheetAction {\n export const RestoreAxis = Schema.Struct({\n axis: ActionAxis,\n axisIndex: Schema.String,\n index: Schema.Number,\n axisMeta: Sheet.RowColumnMeta,\n values: Schema.Array(Schema.Any),\n });\n\n export type RestoreAxis = Schema.Schema.Type<typeof RestoreAxis>;\n}\n\nconst SHEET_OPERATION = `${meta.id}/operation`;\n\n// TODO(wittjosiah): Factor out. This is `DxGridAxis` from `@dxos/react-ui-grid`.\nconst Axis = Schema.Union(Schema.Literal('row'), Schema.Literal('col'));\n\nexport namespace SheetOperation {\n export const OnCreateSpace = Operation.make({\n meta: { key: `${SHEET_OPERATION}/on-create-space`, name: 'On Create Space' },\n services: [Capability.Service],\n schema: {\n input: Schema.Struct({\n space: SpaceSchema,\n rootCollection: Collection.Collection,\n isDefault: Schema.optional(Schema.Boolean),\n }),\n output: Schema.Void,\n },\n });\n\n export const InsertAxis = Operation.make({\n meta: { key: `${SHEET_OPERATION}/axis-insert`, name: 'Insert Axis' },\n schema: {\n input: Schema.Struct({\n model: Schema.Any,\n axis: Axis,\n index: Schema.Number,\n count: Schema.optional(Schema.Number),\n }),\n output: Schema.Void,\n },\n });\n\n export const DropAxisOutput = Schema.Struct({\n axis: Axis.annotations({ description: 'The axis type (row or col).' }),\n axisIndex: Schema.String.annotations({ description: 'The dropped axis index.' }),\n index: Schema.Number.annotations({ description: 'The position the axis was at.' }),\n axisMeta: Schema.Any.annotations({ description: 'The row/column metadata.' }),\n values: Schema.Array(Schema.Any).annotations({ description: 'The cell values that were dropped.' }),\n });\n\n export type DropAxisOutput = Schema.Schema.Type<typeof DropAxisOutput>;\n\n export const DropAxis = Operation.make({\n meta: { key: `${SHEET_OPERATION}/axis-drop`, name: 'Drop Axis' },\n schema: {\n input: Schema.Struct({\n model: Schema.Any,\n axis: Axis,\n axisIndex: Schema.String,\n }),\n output: DropAxisOutput,\n },\n });\n\n /**\n * Restore a dropped axis (inverse of DropAxis).\n */\n export const RestoreAxis = Operation.make({\n meta: { key: `${SHEET_OPERATION}/restore-axis`, name: 'Restore Axis' },\n schema: {\n input: Schema.Struct({\n model: Schema.Any.annotations({ description: 'The sheet model.' }),\n axis: Axis.annotations({ description: 'The axis type (row or col).' }),\n axisIndex: Schema.String.annotations({ description: 'The axis index to restore.' }),\n index: Schema.Number.annotations({ description: 'The position to restore at.' }),\n axisMeta: Schema.Any.annotations({ description: 'The row/column metadata.' }),\n values: Schema.Array(Schema.Any).annotations({ description: 'The cell values to restore.' }),\n }),\n output: Schema.Void,\n },\n });\n}\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
|
+
"names": ["Capability", "trim", "meta", "id", "name", "description", "trim", "icon", "iconHue", "source", "screenshots", "SheetCapabilities", "ComputeGraphRegistry", "Capability", "make", "meta", "id", "Schema", "addressFromA1Notation", "isFormula", "Obj", "Type", "FormInputAnnotation", "addressFromA1Notation", "addressToA1Notation", "isFormula", "randomBytes", "invariant", "MAX_ROWS", "MAX_COLS", "DEFAULT_ROWS", "DEFAULT_COLS", "ApiError", "Error", "ReadonlyException", "RangeException", "n", "createIndex", "length", "characters", "charactersLength", "randomBuffer", "Array", "from", "byte", "join", "createIndices", "map", "insertIndices", "indices", "i", "max", "idx", "splice", "initialize", "sheet", "rows", "columns", "addressToIndex", "cell", "col", "row", "addressFromIndex", "column", "split", "indexOf", "rangeToIndex", "range", "to", "rangeFromIndex", "index", "compareIndexPositions", "indexA", "indexB", "rowA", "columnA", "rowB", "columnB", "mapFormulaRefsToIndices", "formula", "replace", "match", "mapFormulaIndicesToRefs", "CellValue", "Struct", "value", "Any", "Range", "range", "String", "key", "RowColumnMeta", "size", "optional", "Number", "Sheet", "name", "cells", "Record", "pipe", "FormInputAnnotation", "set", "rows", "Array", "columns", "rowMeta", "columnMeta", "ranges", "Type", "object", "typename", "version", "make", "sheet", "Obj", "change", "s", "initialize", "Object", "entries", "forEach", "idx", "addressToIndex", "addressFromA1Notation", "isFormula", "mapFormulaRefsToIndices", "alignKey", "commentKey", "styleKey", "cellClassNameForRange", "key", "value", "undefined", "Schema", "Capability", "Operation", "SpaceSchema", "Collection", "ActionAxis", "Union", "Literal", "SheetAction", "RestoreAxis", "Struct", "axis", "axisIndex", "String", "index", "Number", "axisMeta", "RowColumnMeta", "values", "Array", "Any", "SHEET_OPERATION", "meta", "id", "Axis", "SheetOperation", "OnCreateSpace", "Operation", "make", "key", "name", "services", "Capability", "Service", "schema", "input", "space", "SpaceSchema", "rootCollection", "Collection", "isDefault", "optional", "Boolean", "output", "Void", "InsertAxis", "model", "count", "DropAxisOutput", "annotations", "description", "DropAxis"]
|
|
7
|
+
}
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
mapFormulaRefsToIndices,
|
|
21
21
|
meta,
|
|
22
22
|
rangeFromIndex
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-6J5L47IB.mjs";
|
|
24
24
|
|
|
25
25
|
// src/components/ComputeGraph/ComputeGraphContextProvider.tsx
|
|
26
26
|
import React, { createContext, useContext } from "react";
|
|
@@ -99,6 +99,7 @@ import { lazy } from "react";
|
|
|
99
99
|
import React4, { useCallback as useCallback4, useMemo as useMemo2, useRef, useState as useState4 } from "react";
|
|
100
100
|
import { useOperationInvoker as useOperationInvoker2 } from "@dxos/app-framework/react";
|
|
101
101
|
import { rangeToA1Notation as rangeToA1Notation2 } from "@dxos/compute";
|
|
102
|
+
import { Obj as Obj5 } from "@dxos/echo";
|
|
102
103
|
import { defaultColSize, defaultRowSize } from "@dxos/lit-grid";
|
|
103
104
|
import { DropdownMenu, Icon, useTranslation as useTranslation2 } from "@dxos/react-ui";
|
|
104
105
|
import { useAttention } from "@dxos/react-ui-attention";
|
|
@@ -1201,15 +1202,17 @@ var GridSheet = () => {
|
|
|
1201
1202
|
editing
|
|
1202
1203
|
]);
|
|
1203
1204
|
const handleAxisResize = useCallback4(({ axis, size, index: numericIndex }) => {
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1205
|
+
Obj5.change(model.sheet, (sheet) => {
|
|
1206
|
+
if (axis === "row") {
|
|
1207
|
+
const rowId = sheet.rows[parseInt(numericIndex)];
|
|
1208
|
+
sheet.rowMeta[rowId] ??= {};
|
|
1209
|
+
sheet.rowMeta[rowId].size = size;
|
|
1210
|
+
} else {
|
|
1211
|
+
const columnId = sheet.columns[parseInt(numericIndex)];
|
|
1212
|
+
sheet.columnMeta[columnId] ??= {};
|
|
1213
|
+
sheet.columnMeta[columnId].size = size;
|
|
1214
|
+
}
|
|
1215
|
+
});
|
|
1213
1216
|
}, [
|
|
1214
1217
|
model
|
|
1215
1218
|
]);
|
|
@@ -1457,7 +1460,7 @@ var GridSheet = () => {
|
|
|
1457
1460
|
};
|
|
1458
1461
|
|
|
1459
1462
|
// src/components/index.ts
|
|
1460
|
-
var SheetContainer = lazy(() => import("./SheetContainer-
|
|
1463
|
+
var SheetContainer = lazy(() => import("./SheetContainer-OGSSDOZU.mjs"));
|
|
1461
1464
|
|
|
1462
1465
|
export {
|
|
1463
1466
|
ComputeGraphContextProvider,
|
|
@@ -1468,4 +1471,4 @@ export {
|
|
|
1468
1471
|
RangeList,
|
|
1469
1472
|
SheetContainer
|
|
1470
1473
|
};
|
|
1471
|
-
//# sourceMappingURL=chunk-
|
|
1474
|
+
//# sourceMappingURL=chunk-Y4V6HVHO.mjs.map
|