@dxos/plugin-sheet 0.7.5-main.b19bfc8 → 0.7.5-main.d9d2d4e
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-IMHGS7Z4.mjs → SheetContainer-EDJA5L2H.mjs} +3 -3
- package/dist/lib/browser/{chunk-FOO6NGBM.mjs → chunk-DN6QF7VV.mjs} +6 -1
- package/dist/lib/browser/{chunk-FOO6NGBM.mjs.map → chunk-DN6QF7VV.mjs.map} +2 -2
- package/dist/lib/browser/{chunk-AT7F2WDW.mjs → chunk-UGSCCRPW.mjs} +3 -3
- package/dist/lib/browser/index.mjs +3 -13
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{markdown-CFJIWHZX.mjs → markdown-EJU2M7EE.mjs} +2 -2
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-PHKJZYFB.mjs → react-surface-24GOYR7J.mjs} +3 -3
- package/dist/lib/node/{SheetContainer-NNIZN4AK.cjs → SheetContainer-B77HHBOC.cjs} +15 -15
- package/dist/lib/node/{chunk-P4KSGZSS.cjs → chunk-SQZEJPZ7.cjs} +9 -4
- package/dist/lib/node/{chunk-P4KSGZSS.cjs.map → chunk-SQZEJPZ7.cjs.map} +2 -2
- package/dist/lib/node/{chunk-2KCZUH72.cjs → chunk-VMJK5QN4.cjs} +8 -8
- package/dist/lib/node/index.cjs +2 -12
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/{markdown-YTCSW66K.cjs → markdown-SQHC4EGJ.cjs} +6 -6
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{react-surface-HLE6CRA6.cjs → react-surface-6BJQU2XB.cjs} +9 -9
- package/dist/lib/node-esm/{SheetContainer-PGDJKGTZ.mjs → SheetContainer-KXWIQCP4.mjs} +3 -3
- package/dist/lib/node-esm/{chunk-ZM7XLUGL.mjs → chunk-3PA7XGUK.mjs} +3 -3
- package/dist/lib/node-esm/{chunk-PTOI45NK.mjs → chunk-7TL2H7LA.mjs} +6 -1
- package/dist/lib/node-esm/{chunk-PTOI45NK.mjs.map → chunk-7TL2H7LA.mjs.map} +2 -2
- package/dist/lib/node-esm/index.mjs +3 -13
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/{markdown-CGSK44XJ.mjs → markdown-UXKP45S3.mjs} +2 -2
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-PFRJ7V5N.mjs → react-surface-YGNWYLVN.mjs} +3 -3
- package/dist/types/src/SheetPlugin.d.ts.map +1 -1
- package/dist/types/src/extensions/editor/extension.d.ts.map +1 -1
- package/package.json +44 -44
- package/src/SheetPlugin.tsx +1 -9
- package/src/extensions/editor/extension.ts +2 -0
- /package/dist/lib/browser/{SheetContainer-IMHGS7Z4.mjs.map → SheetContainer-EDJA5L2H.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-AT7F2WDW.mjs.map → chunk-UGSCCRPW.mjs.map} +0 -0
- /package/dist/lib/browser/{markdown-CFJIWHZX.mjs.map → markdown-EJU2M7EE.mjs.map} +0 -0
- /package/dist/lib/browser/{react-surface-PHKJZYFB.mjs.map → react-surface-24GOYR7J.mjs.map} +0 -0
- /package/dist/lib/node/{SheetContainer-NNIZN4AK.cjs.map → SheetContainer-B77HHBOC.cjs.map} +0 -0
- /package/dist/lib/node/{chunk-2KCZUH72.cjs.map → chunk-VMJK5QN4.cjs.map} +0 -0
- /package/dist/lib/node/{markdown-YTCSW66K.cjs.map → markdown-SQHC4EGJ.cjs.map} +0 -0
- /package/dist/lib/node/{react-surface-HLE6CRA6.cjs.map → react-surface-6BJQU2XB.cjs.map} +0 -0
- /package/dist/lib/node-esm/{SheetContainer-PGDJKGTZ.mjs.map → SheetContainer-KXWIQCP4.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-ZM7XLUGL.mjs.map → chunk-3PA7XGUK.mjs.map} +0 -0
- /package/dist/lib/node-esm/{markdown-CGSK44XJ.mjs.map → markdown-UXKP45S3.mjs.map} +0 -0
- /package/dist/lib/node-esm/{react-surface-PFRJ7V5N.mjs.map → react-surface-YGNWYLVN.mjs.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/plugins/plugin-sheet/src/meta.ts":{"bytes":2277,"imports":[],"format":"esm"},"packages/plugins/plugin-sheet/src/capabilities/capabilities.ts":{"bytes":1517,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-sheet/src/capabilities/compute-graph-registry.ts":{"bytes":4008,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"@dxos/compute","kind":"dynamic-import","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/types/schema.ts":{"bytes":6747,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/types/sheet-range-types.ts":{"bytes":3809,"imports":[],"format":"esm"},"packages/plugins/plugin-sheet/src/model/sheet-model.ts":{"bytes":58606,"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-schema","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":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/model/useSheetModel.ts":{"bytes":3105,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"../model"}],"format":"esm"},"packages/plugins/plugin-sheet/src/model/index.ts":{"bytes":619,"imports":[{"path":"packages/plugins/plugin-sheet/src/model/sheet-model.ts","kind":"import-statement","original":"./sheet-model"},{"path":"packages/plugins/plugin-sheet/src/model/useSheetModel.ts","kind":"import-statement","original":"./useSheetModel"}],"format":"esm"},"packages/plugins/plugin-sheet/src/types/types.ts":{"bytes":7080,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/types/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"../model"}],"format":"esm"},"packages/plugins/plugin-sheet/src/types/util.ts":{"bytes":16733,"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},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/types/index.ts":{"bytes":779,"imports":[{"path":"packages/plugins/plugin-sheet/src/types/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/plugins/plugin-sheet/src/types/sheet-range-types.ts","kind":"import-statement","original":"./sheet-range-types"},{"path":"packages/plugins/plugin-sheet/src/types/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-sheet/src/types/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"packages/plugins/plugin-sheet/src/capabilities/intent-resolver.ts":{"bytes":5551,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/compute.ts":{"bytes":17942,"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/react-ui-editor","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/editor/extension.ts":{"bytes":28473,"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/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/editor/index.ts":{"bytes":520,"imports":[{"path":"packages/plugins/plugin-sheet/src/extensions/editor/extension.ts","kind":"import-statement","original":"./extension"}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/index.ts":{"bytes":593,"imports":[{"path":"packages/plugins/plugin-sheet/src/extensions/compute.ts","kind":"import-statement","original":"./compute"},{"path":"packages/plugins/plugin-sheet/src/extensions/editor/index.ts","kind":"import-statement","original":"./editor"}],"format":"esm"},"packages/plugins/plugin-sheet/src/capabilities/markdown.ts":{"bytes":3029,"imports":[{"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":"packages/plugins/plugin-sheet/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-sheet/src/extensions/index.ts","kind":"import-statement","original":"../extensions"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytes":4106,"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"},"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts":{"bytes":572,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/ComputeGraphContextProvider.tsx","kind":"import-statement","original":"./ComputeGraphContextProvider"}],"format":"esm"},"packages/plugins/plugin-sheet/src/integrations/thread-ranges.ts":{"bytes":13535,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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":"packages/plugins/plugin-sheet/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-sheet/src/integrations/index.ts":{"bytes":527,"imports":[{"path":"packages/plugins/plugin-sheet/src/integrations/thread-ranges.ts","kind":"import-statement","original":"./thread-ranges"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/GridSheet/util.ts":{"bytes":21564,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","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/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/integrations/index.ts","kind":"import-statement","original":"../../integrations"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContext/SheetContext.tsx":{"bytes":10608,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"../../model"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts":{"bytes":537,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/SheetContext.tsx","kind":"import-statement","original":"./SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/GridSheet/GridSheet.tsx":{"bytes":45094,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/compute","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":"packages/plugins/plugin-sheet/src/components/GridSheet/util.ts","kind":"import-statement","original":"./util"},{"path":"packages/plugins/plugin-sheet/src/extensions/index.ts","kind":"import-statement","original":"../../extensions"},{"path":"packages/plugins/plugin-sheet/src/integrations/index.ts","kind":"import-statement","original":"../../integrations"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts":{"bytes":523,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/GridSheet/GridSheet.tsx","kind":"import-statement","original":"./GridSheet"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/RangeList/RangeList.tsx":{"bytes":6958,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/RangeList/index.ts":{"bytes":523,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/RangeList/RangeList.tsx","kind":"import-statement","original":"./RangeList"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/FunctionEditor/FunctionEditor.tsx":{"bytes":5165,"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":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/FunctionEditor/index.ts":{"bytes":545,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/FunctionEditor/FunctionEditor.tsx","kind":"import-statement","original":"./FunctionEditor"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetToolbar/align.ts":{"bytes":8357,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetToolbar/comment.ts":{"bytes":6680,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetToolbar/style.ts":{"bytes":8473,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetToolbar/useToolbarAction.ts":{"bytes":10989,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/plugin-thread/types","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/integrations/index.ts","kind":"import-statement","original":"../../integrations"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetToolbar/useToolbarState.ts":{"bytes":1507,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetToolbar/SheetToolbar.tsx":{"bytes":5914,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/SheetToolbar/align.ts","kind":"import-statement","original":"./align"},{"path":"packages/plugins/plugin-sheet/src/components/SheetToolbar/comment.ts","kind":"import-statement","original":"./comment"},{"path":"packages/plugins/plugin-sheet/src/components/SheetToolbar/style.ts","kind":"import-statement","original":"./style"},{"path":"packages/plugins/plugin-sheet/src/components/SheetToolbar/useToolbarAction.ts","kind":"import-statement","original":"./useToolbarAction"},{"path":"packages/plugins/plugin-sheet/src/components/SheetToolbar/useToolbarState.ts","kind":"import-statement","original":"./useToolbarState"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetToolbar/index.ts":{"bytes":537,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/SheetToolbar/SheetToolbar.tsx","kind":"import-statement","original":"./SheetToolbar"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContainer/SheetContainer.tsx":{"bytes":4070,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts","kind":"import-statement","original":"../ComputeGraph"},{"path":"packages/plugins/plugin-sheet/src/components/FunctionEditor/index.ts","kind":"import-statement","original":"../FunctionEditor"},{"path":"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts","kind":"import-statement","original":"../GridSheet"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"},{"path":"packages/plugins/plugin-sheet/src/components/SheetToolbar/index.ts","kind":"import-statement","original":"../SheetToolbar"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts":{"bytes":721,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/SheetContainer/SheetContainer.tsx","kind":"import-statement","original":"./SheetContainer"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/index.ts":{"bytes":1188,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts","kind":"import-statement","original":"./ComputeGraph"},{"path":"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts","kind":"import-statement","original":"./GridSheet"},{"path":"packages/plugins/plugin-sheet/src/components/RangeList/index.ts","kind":"import-statement","original":"./RangeList"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"./SheetContext"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts","kind":"dynamic-import","original":"./SheetContainer"}],"format":"esm"},"packages/plugins/plugin-sheet/src/capabilities/react-surface.tsx":{"bytes":5428,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-sheet/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/capabilities/thread.ts":{"bytes":1969,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/capabilities/index.ts":{"bytes":1898,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-sheet/src/capabilities/compute-graph-registry.ts","kind":"dynamic-import","original":"./compute-graph-registry"},{"path":"packages/plugins/plugin-sheet/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-sheet/src/capabilities/markdown.ts","kind":"dynamic-import","original":"./markdown"},{"path":"packages/plugins/plugin-sheet/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"packages/plugins/plugin-sheet/src/capabilities/thread.ts","kind":"dynamic-import","original":"./thread"}],"format":"esm"},"packages/plugins/plugin-sheet/src/serializer.ts":{"bytes":2746,"imports":[{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/translations.ts":{"bytes":5500,"imports":[{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/SheetPlugin.tsx":{"bytes":11599,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","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/plugin-space/types","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-sheet/src/serializer.ts","kind":"import-statement","original":"./serializer"},{"path":"packages/plugins/plugin-sheet/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/index.ts":{"bytes":780,"imports":[{"path":"packages/plugins/plugin-sheet/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-sheet/src/SheetPlugin.tsx","kind":"import-statement","original":"./SheetPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-sheet/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10043},"packages/plugins/plugin-sheet/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-LXHRT3CC.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-OOSRC36N.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/compute-graph-registry-EGPD4HEX.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/intent-resolver-6S2RMLQF.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/markdown-CFJIWHZX.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/react-surface-PHKJZYFB.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/thread-7ZWW5EA7.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/functions","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/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["SHEET_PLUGIN","SheetCapabilities","SheetPlugin","meta"],"entryPoint":"packages/plugins/plugin-sheet/src/index.ts","inputs":{"packages/plugins/plugin-sheet/src/capabilities/index.ts":{"bytesInOutput":398},"packages/plugins/plugin-sheet/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/SheetPlugin.tsx":{"bytesInOutput":2517},"packages/plugins/plugin-sheet/src/serializer.ts":{"bytesInOutput":474},"packages/plugins/plugin-sheet/src/translations.ts":{"bytesInOutput":1599}},"bytes":5558},"packages/plugins/plugin-sheet/dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-sheet/dist/lib/browser/types/index.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-OOSRC36N.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"}],"exports":["ApiError","CellValue","DEFAULT_COLS","DEFAULT_ROWS","MAX_COLS","MAX_ROWS","Range","RangeException","ReadonlyException","RowColumnMeta","SheetAction","SheetType","addressFromIndex","addressToIndex","alignKey","cellClassNameForRange","commentKey","compareIndexPositions","createIndex","createIndices","createSheet","initialize","insertIndices","mapFormulaIndicesToRefs","mapFormulaRefsToIndices","rangeFromIndex","rangeToIndex","styleKey"],"entryPoint":"packages/plugins/plugin-sheet/src/types/index.ts","inputs":{},"bytes":1050},"packages/plugins/plugin-sheet/dist/lib/browser/compute-graph-registry-EGPD4HEX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2017},"packages/plugins/plugin-sheet/dist/lib/browser/compute-graph-registry-EGPD4HEX.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-LXHRT3CC.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"dynamic-import","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-sheet/src/capabilities/compute-graph-registry.ts","inputs":{"packages/plugins/plugin-sheet/src/capabilities/compute-graph-registry.ts":{"bytesInOutput":768}},"bytes":1053},"packages/plugins/plugin-sheet/dist/lib/browser/intent-resolver-6S2RMLQF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2531},"packages/plugins/plugin-sheet/dist/lib/browser/intent-resolver-6S2RMLQF.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-OOSRC36N.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-sheet/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-sheet/src/capabilities/intent-resolver.ts":{"bytesInOutput":1207}},"bytes":1504},"packages/plugins/plugin-sheet/dist/lib/browser/markdown-CFJIWHZX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1535},"packages/plugins/plugin-sheet/dist/lib/browser/markdown-CFJIWHZX.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-LXHRT3CC.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-FOO6NGBM.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"},{"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":"packages/plugins/plugin-sheet/src/capabilities/markdown.ts","inputs":{"packages/plugins/plugin-sheet/src/capabilities/markdown.ts":{"bytesInOutput":555}},"bytes":858},"packages/plugins/plugin-sheet/dist/lib/browser/SheetContainer-IMHGS7Z4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":25813},"packages/plugins/plugin-sheet/dist/lib/browser/SheetContainer-IMHGS7Z4.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-AT7F2WDW.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-FOO6NGBM.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-OOSRC36N.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","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":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/plugin-thread/types","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts","inputs":{"packages/plugins/plugin-sheet/src/components/SheetContainer/SheetContainer.tsx":{"bytesInOutput":765},"packages/plugins/plugin-sheet/src/components/FunctionEditor/FunctionEditor.tsx":{"bytesInOutput":1349},"packages/plugins/plugin-sheet/src/components/FunctionEditor/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/SheetToolbar/SheetToolbar.tsx":{"bytesInOutput":1136},"packages/plugins/plugin-sheet/src/components/SheetToolbar/align.ts":{"bytesInOutput":1671},"packages/plugins/plugin-sheet/src/components/SheetToolbar/comment.ts":{"bytesInOutput":1316},"packages/plugins/plugin-sheet/src/components/SheetToolbar/style.ts":{"bytesInOutput":1815},"packages/plugins/plugin-sheet/src/components/SheetToolbar/useToolbarAction.ts":{"bytesInOutput":2202},"packages/plugins/plugin-sheet/src/components/SheetToolbar/useToolbarState.ts":{"bytesInOutput":190},"packages/plugins/plugin-sheet/src/components/SheetToolbar/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts":{"bytesInOutput":45}},"bytes":11802},"packages/plugins/plugin-sheet/dist/lib/browser/react-surface-PHKJZYFB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2603},"packages/plugins/plugin-sheet/dist/lib/browser/react-surface-PHKJZYFB.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-LXHRT3CC.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-AT7F2WDW.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-FOO6NGBM.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-OOSRC36N.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-sheet/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-sheet/src/capabilities/react-surface.tsx":{"bytesInOutput":1118}},"bytes":1585},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-LXHRT3CC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":739},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-LXHRT3CC.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["SheetCapabilities"],"inputs":{"packages/plugins/plugin-sheet/src/capabilities/capabilities.ts":{"bytesInOutput":277}},"bytes":476},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-AT7F2WDW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":53544},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-AT7F2WDW.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-FOO6NGBM.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-OOSRC36N.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.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":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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/react-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","kind":"import-statement","external":true},{"path":"@dxos/compute","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":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","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/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/SheetContainer-IMHGS7Z4.mjs","kind":"dynamic-import"}],"exports":["ComputeGraphContextProvider","GridSheet","RangeList","SheetContainer","SheetProvider","completeCellRangeToThreadCursor","useComputeGraph","useSheetContext"],"inputs":{"packages/plugins/plugin-sheet/src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytesInOutput":775},"packages/plugins/plugin-sheet/src/components/RangeList/RangeList.tsx":{"bytesInOutput":1549},"packages/plugins/plugin-sheet/src/components/index.ts":{"bytesInOutput":104},"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/GridSheet/GridSheet.tsx":{"bytesInOutput":11040},"packages/plugins/plugin-sheet/src/components/GridSheet/util.ts":{"bytesInOutput":5161},"packages/plugins/plugin-sheet/src/integrations/thread-ranges.ts":{"bytesInOutput":2985},"packages/plugins/plugin-sheet/src/integrations/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/SheetContext/SheetContext.tsx":{"bytesInOutput":2344},"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/RangeList/index.ts":{"bytesInOutput":0}},"bytes":25174},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-FOO6NGBM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":19979},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-FOO6NGBM.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/react-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/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["computeGraphFacet","rangeExtension","sheetExtension"],"inputs":{"packages/plugins/plugin-sheet/src/extensions/compute.ts":{"bytesInOutput":509},"packages/plugins/plugin-sheet/src/extensions/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/extensions/editor/extension.ts":{"bytesInOutput":5989},"packages/plugins/plugin-sheet/src/extensions/editor/index.ts":{"bytesInOutput":0}},"bytes":6739},"packages/plugins/plugin-sheet/dist/lib/browser/thread-7ZWW5EA7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1000},"packages/plugins/plugin-sheet/dist/lib/browser/thread-7ZWW5EA7.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-OOSRC36N.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-sheet/src/capabilities/thread.ts","inputs":{"packages/plugins/plugin-sheet/src/capabilities/thread.ts":{"bytesInOutput":345}},"bytes":599},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-OOSRC36N.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":46096},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-OOSRC36N.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-schema","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":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["ApiError","CellValue","DEFAULT_COLS","DEFAULT_ROWS","MAX_COLS","MAX_ROWS","Range","RangeException","ReadonlyException","RowColumnMeta","SheetAction","SheetType","addressFromIndex","addressToIndex","alignKey","cellClassNameForRange","commentKey","compareIndexPositions","createIndex","createIndices","createSheet","initialize","insertIndices","mapFormulaIndicesToRefs","mapFormulaRefsToIndices","rangeFromIndex","rangeToIndex","styleKey","useSheetModel"],"inputs":{"packages/plugins/plugin-sheet/src/types/schema.ts":{"bytesInOutput":1426},"packages/plugins/plugin-sheet/src/types/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/types/sheet-range-types.ts":{"bytesInOutput":709},"packages/plugins/plugin-sheet/src/types/types.ts":{"bytesInOutput":1484},"packages/plugins/plugin-sheet/src/model/sheet-model.ts":{"bytesInOutput":14328},"packages/plugins/plugin-sheet/src/model/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/model/useSheetModel.ts":{"bytesInOutput":543},"packages/plugins/plugin-sheet/src/types/util.ts":{"bytesInOutput":3636}},"bytes":23117},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1052},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs":{"imports":[],"exports":["SHEET_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-sheet/src/meta.ts":{"bytesInOutput":593}},"bytes":718}}}
|
|
1
|
+
{"inputs":{"packages/plugins/plugin-sheet/src/meta.ts":{"bytes":2277,"imports":[],"format":"esm"},"packages/plugins/plugin-sheet/src/capabilities/capabilities.ts":{"bytes":1517,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-sheet/src/capabilities/compute-graph-registry.ts":{"bytes":4008,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"@dxos/compute","kind":"dynamic-import","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/types/schema.ts":{"bytes":6747,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/types/sheet-range-types.ts":{"bytes":3809,"imports":[],"format":"esm"},"packages/plugins/plugin-sheet/src/model/sheet-model.ts":{"bytes":58606,"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-schema","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":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/model/useSheetModel.ts":{"bytes":3105,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"../model"}],"format":"esm"},"packages/plugins/plugin-sheet/src/model/index.ts":{"bytes":619,"imports":[{"path":"packages/plugins/plugin-sheet/src/model/sheet-model.ts","kind":"import-statement","original":"./sheet-model"},{"path":"packages/plugins/plugin-sheet/src/model/useSheetModel.ts","kind":"import-statement","original":"./useSheetModel"}],"format":"esm"},"packages/plugins/plugin-sheet/src/types/types.ts":{"bytes":7080,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/types/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"../model"}],"format":"esm"},"packages/plugins/plugin-sheet/src/types/util.ts":{"bytes":16733,"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},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/types/index.ts":{"bytes":779,"imports":[{"path":"packages/plugins/plugin-sheet/src/types/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/plugins/plugin-sheet/src/types/sheet-range-types.ts","kind":"import-statement","original":"./sheet-range-types"},{"path":"packages/plugins/plugin-sheet/src/types/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-sheet/src/types/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"packages/plugins/plugin-sheet/src/capabilities/intent-resolver.ts":{"bytes":5551,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/compute.ts":{"bytes":17942,"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/react-ui-editor","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/editor/extension.ts":{"bytes":28902,"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/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/editor/index.ts":{"bytes":520,"imports":[{"path":"packages/plugins/plugin-sheet/src/extensions/editor/extension.ts","kind":"import-statement","original":"./extension"}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/index.ts":{"bytes":593,"imports":[{"path":"packages/plugins/plugin-sheet/src/extensions/compute.ts","kind":"import-statement","original":"./compute"},{"path":"packages/plugins/plugin-sheet/src/extensions/editor/index.ts","kind":"import-statement","original":"./editor"}],"format":"esm"},"packages/plugins/plugin-sheet/src/capabilities/markdown.ts":{"bytes":3029,"imports":[{"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":"packages/plugins/plugin-sheet/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-sheet/src/extensions/index.ts","kind":"import-statement","original":"../extensions"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytes":4106,"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"},"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts":{"bytes":572,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/ComputeGraphContextProvider.tsx","kind":"import-statement","original":"./ComputeGraphContextProvider"}],"format":"esm"},"packages/plugins/plugin-sheet/src/integrations/thread-ranges.ts":{"bytes":13535,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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":"packages/plugins/plugin-sheet/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-sheet/src/integrations/index.ts":{"bytes":527,"imports":[{"path":"packages/plugins/plugin-sheet/src/integrations/thread-ranges.ts","kind":"import-statement","original":"./thread-ranges"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/GridSheet/util.ts":{"bytes":21564,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","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/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/integrations/index.ts","kind":"import-statement","original":"../../integrations"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContext/SheetContext.tsx":{"bytes":10608,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"../../model"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts":{"bytes":537,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/SheetContext.tsx","kind":"import-statement","original":"./SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/GridSheet/GridSheet.tsx":{"bytes":45094,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/compute","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":"packages/plugins/plugin-sheet/src/components/GridSheet/util.ts","kind":"import-statement","original":"./util"},{"path":"packages/plugins/plugin-sheet/src/extensions/index.ts","kind":"import-statement","original":"../../extensions"},{"path":"packages/plugins/plugin-sheet/src/integrations/index.ts","kind":"import-statement","original":"../../integrations"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts":{"bytes":523,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/GridSheet/GridSheet.tsx","kind":"import-statement","original":"./GridSheet"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/RangeList/RangeList.tsx":{"bytes":6958,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/RangeList/index.ts":{"bytes":523,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/RangeList/RangeList.tsx","kind":"import-statement","original":"./RangeList"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/FunctionEditor/FunctionEditor.tsx":{"bytes":5165,"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":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/FunctionEditor/index.ts":{"bytes":545,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/FunctionEditor/FunctionEditor.tsx","kind":"import-statement","original":"./FunctionEditor"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetToolbar/align.ts":{"bytes":8357,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetToolbar/comment.ts":{"bytes":6680,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetToolbar/style.ts":{"bytes":8473,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetToolbar/useToolbarAction.ts":{"bytes":10989,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/plugin-thread/types","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/integrations/index.ts","kind":"import-statement","original":"../../integrations"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetToolbar/useToolbarState.ts":{"bytes":1507,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetToolbar/SheetToolbar.tsx":{"bytes":5914,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/SheetToolbar/align.ts","kind":"import-statement","original":"./align"},{"path":"packages/plugins/plugin-sheet/src/components/SheetToolbar/comment.ts","kind":"import-statement","original":"./comment"},{"path":"packages/plugins/plugin-sheet/src/components/SheetToolbar/style.ts","kind":"import-statement","original":"./style"},{"path":"packages/plugins/plugin-sheet/src/components/SheetToolbar/useToolbarAction.ts","kind":"import-statement","original":"./useToolbarAction"},{"path":"packages/plugins/plugin-sheet/src/components/SheetToolbar/useToolbarState.ts","kind":"import-statement","original":"./useToolbarState"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetToolbar/index.ts":{"bytes":537,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/SheetToolbar/SheetToolbar.tsx","kind":"import-statement","original":"./SheetToolbar"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContainer/SheetContainer.tsx":{"bytes":4070,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts","kind":"import-statement","original":"../ComputeGraph"},{"path":"packages/plugins/plugin-sheet/src/components/FunctionEditor/index.ts","kind":"import-statement","original":"../FunctionEditor"},{"path":"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts","kind":"import-statement","original":"../GridSheet"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"},{"path":"packages/plugins/plugin-sheet/src/components/SheetToolbar/index.ts","kind":"import-statement","original":"../SheetToolbar"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts":{"bytes":721,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/SheetContainer/SheetContainer.tsx","kind":"import-statement","original":"./SheetContainer"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/index.ts":{"bytes":1188,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts","kind":"import-statement","original":"./ComputeGraph"},{"path":"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts","kind":"import-statement","original":"./GridSheet"},{"path":"packages/plugins/plugin-sheet/src/components/RangeList/index.ts","kind":"import-statement","original":"./RangeList"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"./SheetContext"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts","kind":"dynamic-import","original":"./SheetContainer"}],"format":"esm"},"packages/plugins/plugin-sheet/src/capabilities/react-surface.tsx":{"bytes":5428,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-sheet/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/capabilities/thread.ts":{"bytes":1969,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/capabilities/index.ts":{"bytes":1898,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-sheet/src/capabilities/compute-graph-registry.ts","kind":"dynamic-import","original":"./compute-graph-registry"},{"path":"packages/plugins/plugin-sheet/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-sheet/src/capabilities/markdown.ts","kind":"dynamic-import","original":"./markdown"},{"path":"packages/plugins/plugin-sheet/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"packages/plugins/plugin-sheet/src/capabilities/thread.ts","kind":"dynamic-import","original":"./thread"}],"format":"esm"},"packages/plugins/plugin-sheet/src/serializer.ts":{"bytes":2746,"imports":[{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/translations.ts":{"bytes":5500,"imports":[{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/SheetPlugin.tsx":{"bytes":10209,"imports":[{"path":"@dxos/app-framework","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/plugin-space/types","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-sheet/src/serializer.ts","kind":"import-statement","original":"./serializer"},{"path":"packages/plugins/plugin-sheet/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-sheet/src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/index.ts":{"bytes":780,"imports":[{"path":"packages/plugins/plugin-sheet/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-sheet/src/SheetPlugin.tsx","kind":"import-statement","original":"./SheetPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-sheet/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9395},"packages/plugins/plugin-sheet/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-LXHRT3CC.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-OOSRC36N.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/compute-graph-registry-EGPD4HEX.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/intent-resolver-6S2RMLQF.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/markdown-EJU2M7EE.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/react-surface-24GOYR7J.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/thread-7ZWW5EA7.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","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/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["SHEET_PLUGIN","SheetCapabilities","SheetPlugin","meta"],"entryPoint":"packages/plugins/plugin-sheet/src/index.ts","inputs":{"packages/plugins/plugin-sheet/src/capabilities/index.ts":{"bytesInOutput":398},"packages/plugins/plugin-sheet/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/SheetPlugin.tsx":{"bytesInOutput":2115},"packages/plugins/plugin-sheet/src/serializer.ts":{"bytesInOutput":474},"packages/plugins/plugin-sheet/src/translations.ts":{"bytesInOutput":1599}},"bytes":5156},"packages/plugins/plugin-sheet/dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-sheet/dist/lib/browser/types/index.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-OOSRC36N.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"}],"exports":["ApiError","CellValue","DEFAULT_COLS","DEFAULT_ROWS","MAX_COLS","MAX_ROWS","Range","RangeException","ReadonlyException","RowColumnMeta","SheetAction","SheetType","addressFromIndex","addressToIndex","alignKey","cellClassNameForRange","commentKey","compareIndexPositions","createIndex","createIndices","createSheet","initialize","insertIndices","mapFormulaIndicesToRefs","mapFormulaRefsToIndices","rangeFromIndex","rangeToIndex","styleKey"],"entryPoint":"packages/plugins/plugin-sheet/src/types/index.ts","inputs":{},"bytes":1050},"packages/plugins/plugin-sheet/dist/lib/browser/compute-graph-registry-EGPD4HEX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2017},"packages/plugins/plugin-sheet/dist/lib/browser/compute-graph-registry-EGPD4HEX.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-LXHRT3CC.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"dynamic-import","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-sheet/src/capabilities/compute-graph-registry.ts","inputs":{"packages/plugins/plugin-sheet/src/capabilities/compute-graph-registry.ts":{"bytesInOutput":768}},"bytes":1053},"packages/plugins/plugin-sheet/dist/lib/browser/intent-resolver-6S2RMLQF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2531},"packages/plugins/plugin-sheet/dist/lib/browser/intent-resolver-6S2RMLQF.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-OOSRC36N.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-sheet/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-sheet/src/capabilities/intent-resolver.ts":{"bytesInOutput":1207}},"bytes":1504},"packages/plugins/plugin-sheet/dist/lib/browser/markdown-EJU2M7EE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1535},"packages/plugins/plugin-sheet/dist/lib/browser/markdown-EJU2M7EE.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-LXHRT3CC.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-DN6QF7VV.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"},{"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":"packages/plugins/plugin-sheet/src/capabilities/markdown.ts","inputs":{"packages/plugins/plugin-sheet/src/capabilities/markdown.ts":{"bytesInOutput":555}},"bytes":858},"packages/plugins/plugin-sheet/dist/lib/browser/SheetContainer-EDJA5L2H.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":25813},"packages/plugins/plugin-sheet/dist/lib/browser/SheetContainer-EDJA5L2H.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-UGSCCRPW.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-DN6QF7VV.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-OOSRC36N.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","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":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/plugin-thread/types","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts","inputs":{"packages/plugins/plugin-sheet/src/components/SheetContainer/SheetContainer.tsx":{"bytesInOutput":765},"packages/plugins/plugin-sheet/src/components/FunctionEditor/FunctionEditor.tsx":{"bytesInOutput":1349},"packages/plugins/plugin-sheet/src/components/FunctionEditor/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/SheetToolbar/SheetToolbar.tsx":{"bytesInOutput":1136},"packages/plugins/plugin-sheet/src/components/SheetToolbar/align.ts":{"bytesInOutput":1671},"packages/plugins/plugin-sheet/src/components/SheetToolbar/comment.ts":{"bytesInOutput":1316},"packages/plugins/plugin-sheet/src/components/SheetToolbar/style.ts":{"bytesInOutput":1815},"packages/plugins/plugin-sheet/src/components/SheetToolbar/useToolbarAction.ts":{"bytesInOutput":2202},"packages/plugins/plugin-sheet/src/components/SheetToolbar/useToolbarState.ts":{"bytesInOutput":190},"packages/plugins/plugin-sheet/src/components/SheetToolbar/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts":{"bytesInOutput":45}},"bytes":11802},"packages/plugins/plugin-sheet/dist/lib/browser/react-surface-24GOYR7J.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2603},"packages/plugins/plugin-sheet/dist/lib/browser/react-surface-24GOYR7J.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-LXHRT3CC.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-UGSCCRPW.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-DN6QF7VV.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-OOSRC36N.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-sheet/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-sheet/src/capabilities/react-surface.tsx":{"bytesInOutput":1118}},"bytes":1585},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-LXHRT3CC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":739},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-LXHRT3CC.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["SheetCapabilities"],"inputs":{"packages/plugins/plugin-sheet/src/capabilities/capabilities.ts":{"bytesInOutput":277}},"bytes":476},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-UGSCCRPW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":53544},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-UGSCCRPW.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-DN6QF7VV.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-OOSRC36N.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.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":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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/react-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","kind":"import-statement","external":true},{"path":"@dxos/compute","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":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","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/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/SheetContainer-EDJA5L2H.mjs","kind":"dynamic-import"}],"exports":["ComputeGraphContextProvider","GridSheet","RangeList","SheetContainer","SheetProvider","completeCellRangeToThreadCursor","useComputeGraph","useSheetContext"],"inputs":{"packages/plugins/plugin-sheet/src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytesInOutput":775},"packages/plugins/plugin-sheet/src/components/RangeList/RangeList.tsx":{"bytesInOutput":1549},"packages/plugins/plugin-sheet/src/components/index.ts":{"bytesInOutput":104},"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/GridSheet/GridSheet.tsx":{"bytesInOutput":11040},"packages/plugins/plugin-sheet/src/components/GridSheet/util.ts":{"bytesInOutput":5161},"packages/plugins/plugin-sheet/src/integrations/thread-ranges.ts":{"bytesInOutput":2985},"packages/plugins/plugin-sheet/src/integrations/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/SheetContext/SheetContext.tsx":{"bytesInOutput":2344},"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/RangeList/index.ts":{"bytesInOutput":0}},"bytes":25174},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-DN6QF7VV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":20152},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-DN6QF7VV.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/react-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/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["computeGraphFacet","rangeExtension","sheetExtension"],"inputs":{"packages/plugins/plugin-sheet/src/extensions/compute.ts":{"bytesInOutput":509},"packages/plugins/plugin-sheet/src/extensions/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/extensions/editor/extension.ts":{"bytesInOutput":6110},"packages/plugins/plugin-sheet/src/extensions/editor/index.ts":{"bytesInOutput":0}},"bytes":6860},"packages/plugins/plugin-sheet/dist/lib/browser/thread-7ZWW5EA7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1000},"packages/plugins/plugin-sheet/dist/lib/browser/thread-7ZWW5EA7.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-OOSRC36N.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-sheet/src/capabilities/thread.ts","inputs":{"packages/plugins/plugin-sheet/src/capabilities/thread.ts":{"bytesInOutput":345}},"bytes":599},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-OOSRC36N.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":46096},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-OOSRC36N.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs","kind":"import-statement"},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","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-schema","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":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["ApiError","CellValue","DEFAULT_COLS","DEFAULT_ROWS","MAX_COLS","MAX_ROWS","Range","RangeException","ReadonlyException","RowColumnMeta","SheetAction","SheetType","addressFromIndex","addressToIndex","alignKey","cellClassNameForRange","commentKey","compareIndexPositions","createIndex","createIndices","createSheet","initialize","insertIndices","mapFormulaIndicesToRefs","mapFormulaRefsToIndices","rangeFromIndex","rangeToIndex","styleKey","useSheetModel"],"inputs":{"packages/plugins/plugin-sheet/src/types/schema.ts":{"bytesInOutput":1426},"packages/plugins/plugin-sheet/src/types/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/types/sheet-range-types.ts":{"bytesInOutput":709},"packages/plugins/plugin-sheet/src/types/types.ts":{"bytesInOutput":1484},"packages/plugins/plugin-sheet/src/model/sheet-model.ts":{"bytesInOutput":14328},"packages/plugins/plugin-sheet/src/model/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/model/useSheetModel.ts":{"bytesInOutput":543},"packages/plugins/plugin-sheet/src/types/util.ts":{"bytesInOutput":3636}},"bytes":23117},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1052},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-GAFHJBCU.mjs":{"imports":[],"exports":["SHEET_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-sheet/src/meta.ts":{"bytesInOutput":593}},"bytes":718}}}
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
ComputeGraphContextProvider,
|
|
6
6
|
RangeList,
|
|
7
7
|
SheetContainer
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-UGSCCRPW.mjs";
|
|
9
|
+
import "./chunk-DN6QF7VV.mjs";
|
|
10
10
|
import {
|
|
11
11
|
SheetType
|
|
12
12
|
} from "./chunk-OOSRC36N.mjs";
|
|
@@ -49,4 +49,4 @@ var react_surface_default = () => contributes(Capabilities.ReactSurface, [
|
|
|
49
49
|
export {
|
|
50
50
|
react_surface_default as default
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=react-surface-
|
|
52
|
+
//# sourceMappingURL=react-surface-24GOYR7J.mjs.map
|
|
@@ -26,13 +26,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var SheetContainer_B77HHBOC_exports = {};
|
|
30
|
+
__export(SheetContainer_B77HHBOC_exports, {
|
|
31
31
|
default: () => SheetContainer_default
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
34
|
-
var
|
|
35
|
-
var
|
|
33
|
+
module.exports = __toCommonJS(SheetContainer_B77HHBOC_exports);
|
|
34
|
+
var import_chunk_VMJK5QN4 = require("./chunk-VMJK5QN4.cjs");
|
|
35
|
+
var import_chunk_SQZEJPZ7 = require("./chunk-SQZEJPZ7.cjs");
|
|
36
36
|
var import_chunk_4LSYTNS4 = require("./chunk-4LSYTNS4.cjs");
|
|
37
37
|
var import_chunk_MLU6KRQN = require("./chunk-MLU6KRQN.cjs");
|
|
38
38
|
var import_react = __toESM(require("react"));
|
|
@@ -59,7 +59,7 @@ var import_types = require("@dxos/plugin-thread/types");
|
|
|
59
59
|
var import_react8 = require("react");
|
|
60
60
|
var import_live_object2 = require("@dxos/live-object");
|
|
61
61
|
var FunctionEditor = () => {
|
|
62
|
-
const { model, cursor, range } = (0,
|
|
62
|
+
const { model, cursor, range } = (0, import_chunk_VMJK5QN4.useSheetContext)();
|
|
63
63
|
let value;
|
|
64
64
|
let formula = false;
|
|
65
65
|
if (cursor) {
|
|
@@ -95,7 +95,7 @@ var aligns = {
|
|
|
95
95
|
end: "ph--text-align-right--regular"
|
|
96
96
|
};
|
|
97
97
|
var useAlignState = (state) => {
|
|
98
|
-
const { cursor, model } = (0,
|
|
98
|
+
const { cursor, model } = (0, import_chunk_VMJK5QN4.useSheetContext)();
|
|
99
99
|
(0, import_react4.useEffect)(() => {
|
|
100
100
|
state[import_chunk_4LSYTNS4.alignKey] = cursor ? model.sheet.ranges?.findLast(({ range, key }) => key === import_chunk_4LSYTNS4.alignKey && (0, import_compute2.inRange)((0, import_chunk_4LSYTNS4.rangeFromIndex)(model.sheet, range), cursor))?.value : void 0;
|
|
101
101
|
}, [
|
|
@@ -150,7 +150,7 @@ var createAlign = ({ [import_chunk_4LSYTNS4.alignKey]: alignValue }) => {
|
|
|
150
150
|
};
|
|
151
151
|
};
|
|
152
152
|
var useCommentState = (state) => {
|
|
153
|
-
const { cursorFallbackRange, model } = (0,
|
|
153
|
+
const { cursorFallbackRange, model } = (0, import_chunk_VMJK5QN4.useSheetContext)();
|
|
154
154
|
const overlapsCommentAnchor = (0, import_react5.useMemo)(() => import_live_object.RefArray.allResolvedTargets(model.sheet.threads ?? []).filter((thread) => thread.status !== "resolved").some((thread) => {
|
|
155
155
|
if (!cursorFallbackRange) {
|
|
156
156
|
return false;
|
|
@@ -195,7 +195,7 @@ var styles = {
|
|
|
195
195
|
softwrap: "ph--paragraph--regular"
|
|
196
196
|
};
|
|
197
197
|
var useStyleState = (state) => {
|
|
198
|
-
const { cursorFallbackRange, model } = (0,
|
|
198
|
+
const { cursorFallbackRange, model } = (0, import_chunk_VMJK5QN4.useSheetContext)();
|
|
199
199
|
(0, import_react6.useEffect)(() => {
|
|
200
200
|
state.highlight = false;
|
|
201
201
|
state.softwrap = false;
|
|
@@ -251,7 +251,7 @@ var createStyle = (state) => {
|
|
|
251
251
|
};
|
|
252
252
|
};
|
|
253
253
|
var useToolbarAction = (state) => {
|
|
254
|
-
const { model, cursorFallbackRange, cursor } = (0,
|
|
254
|
+
const { model, cursorFallbackRange, cursor } = (0, import_chunk_VMJK5QN4.useSheetContext)();
|
|
255
255
|
const { dispatchPromise: dispatch } = (0, import_app_framework.useIntentDispatcher)();
|
|
256
256
|
return (0, import_react7.useCallback)((action) => {
|
|
257
257
|
const { key, value } = action.properties;
|
|
@@ -289,7 +289,7 @@ var useToolbarAction = (state) => {
|
|
|
289
289
|
case "comment": {
|
|
290
290
|
const cellContent = model.getCellText(cursorFallbackRange.from);
|
|
291
291
|
void dispatch((0, import_app_framework.createIntent)(import_types.ThreadAction.Create, {
|
|
292
|
-
cursor: (0,
|
|
292
|
+
cursor: (0, import_chunk_VMJK5QN4.completeCellRangeToThreadCursor)(cursorFallbackRange),
|
|
293
293
|
name: cellContent,
|
|
294
294
|
subject: model.sheet
|
|
295
295
|
}));
|
|
@@ -345,8 +345,8 @@ var SheetToolbar = ({ attendableId, classNames }) => {
|
|
|
345
345
|
}));
|
|
346
346
|
};
|
|
347
347
|
var SheetContainer = ({ space, sheet, role, ignoreAttention }) => {
|
|
348
|
-
const graph = (0,
|
|
349
|
-
return graph ? /* @__PURE__ */ import_react.default.createElement(
|
|
348
|
+
const graph = (0, import_chunk_VMJK5QN4.useComputeGraph)(space);
|
|
349
|
+
return graph ? /* @__PURE__ */ import_react.default.createElement(import_chunk_VMJK5QN4.SheetProvider, {
|
|
350
350
|
sheet,
|
|
351
351
|
graph,
|
|
352
352
|
ignoreAttention
|
|
@@ -358,7 +358,7 @@ var SheetContainer = ({ space, sheet, role, ignoreAttention }) => {
|
|
|
358
358
|
}
|
|
359
359
|
}, /* @__PURE__ */ import_react.default.createElement(SheetToolbar, {
|
|
360
360
|
attendableId: (0, import_echo.fullyQualifiedId)(sheet)
|
|
361
|
-
}), /* @__PURE__ */ import_react.default.createElement(
|
|
361
|
+
}), /* @__PURE__ */ import_react.default.createElement(import_chunk_VMJK5QN4.GridSheet, null), /* @__PURE__ */ import_react.default.createElement(FunctionEditor, null))) : null;
|
|
362
362
|
};
|
|
363
363
|
var SheetContainer_default = SheetContainer;
|
|
364
|
-
//# sourceMappingURL=SheetContainer-
|
|
364
|
+
//# sourceMappingURL=SheetContainer-B77HHBOC.cjs.map
|
|
@@ -16,13 +16,13 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
19
|
+
var chunk_SQZEJPZ7_exports = {};
|
|
20
|
+
__export(chunk_SQZEJPZ7_exports, {
|
|
21
21
|
computeGraphFacet: () => computeGraphFacet,
|
|
22
22
|
rangeExtension: () => rangeExtension,
|
|
23
23
|
sheetExtension: () => sheetExtension
|
|
24
24
|
});
|
|
25
|
-
module.exports = __toCommonJS(
|
|
25
|
+
module.exports = __toCommonJS(chunk_SQZEJPZ7_exports);
|
|
26
26
|
var import_language = require("@codemirror/language");
|
|
27
27
|
var import_state = require("@codemirror/state");
|
|
28
28
|
var import_view = require("@codemirror/view");
|
|
@@ -223,6 +223,11 @@ var rangeExtension = ({ onInit, onStateChange }) => {
|
|
|
223
223
|
from: 1,
|
|
224
224
|
to: str.length + 1
|
|
225
225
|
};
|
|
226
|
+
} else {
|
|
227
|
+
activeRange = {
|
|
228
|
+
from: str.length + 1,
|
|
229
|
+
to: str.length + 1
|
|
230
|
+
};
|
|
226
231
|
}
|
|
227
232
|
}
|
|
228
233
|
onStateChange?.({
|
|
@@ -248,4 +253,4 @@ var visitTree = (node, callback) => {
|
|
|
248
253
|
rangeExtension,
|
|
249
254
|
sheetExtension
|
|
250
255
|
});
|
|
251
|
-
//# sourceMappingURL=chunk-
|
|
256
|
+
//# sourceMappingURL=chunk-SQZEJPZ7.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/extensions/compute.ts", "../../../src/extensions/editor/extension.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport { syntaxTree } from '@codemirror/language';\nimport {\n type EditorState,\n type Extension,\n type RangeSet,\n RangeSetBuilder,\n StateEffect,\n StateField,\n type Transaction,\n} from '@codemirror/state';\nimport { Decoration, EditorView, ViewPlugin, WidgetType } from '@codemirror/view';\n\nimport { type UnsubscribeCallback, debounce } from '@dxos/async';\nimport {\n createSheetName,\n type CellAddress,\n type CellScalarValue,\n type ComputeGraph,\n type ComputeNode,\n} from '@dxos/compute';\nimport { invariant } from '@dxos/invariant';\nimport { documentId, singleValueFacet } from '@dxos/react-ui-editor';\n\nconst LANGUAGE_TAG = 'dx';\n\n// TODO(burdon): Create marker just for our decorator?\nconst updateAllDecorations = StateEffect.define<void>();\n\nexport const computeGraphFacet = singleValueFacet<ComputeGraph>();\n\nexport type ComputeOptions = {};\n\nexport const compute = (options: ComputeOptions = {}): Extension => {\n let computeNode: ComputeNode | undefined;\n\n const update = (state: EditorState, current?: RangeSet<Decoration>) => {\n const builder = new RangeSetBuilder<Decoration>();\n if (computeNode) {\n computeNode.clear();\n syntaxTree(state).iterate({\n enter: (node) => {\n switch (node.name) {\n case 'FencedCode': {\n const cursor = state.selection.main.head;\n if (state.readOnly || cursor < node.from || cursor > node.to) {\n const info = node.node.getChild('CodeInfo');\n if (info) {\n const type = state.sliceDoc(info.from, info.to);\n const text = node.node.getChild('CodeText');\n if (type === LANGUAGE_TAG && text) {\n const formula = state.sliceDoc(text.from, text.to);\n\n const iter = current?.iter(node.node.from);\n if (iter?.value && iter?.value.spec.formula === formula) {\n // Add existing widget.\n builder.add(node.from, node.to, iter.value);\n } else {\n // TODO(burdon): Create ordered list of cells on each decoration run.\n const cell: CellAddress = { col: node.node.from, row: 0 };\n invariant(computeNode);\n // NOTE: This triggers re-render (below).\n computeNode.setValue(cell, formula);\n const value = computeNode.getValue(cell);\n builder.add(\n node.from,\n node.to,\n Decoration.replace({\n widget: new ComputeWidget(formula, value),\n formula,\n }),\n );\n }\n }\n }\n }\n\n break;\n }\n }\n },\n });\n }\n\n return builder.finish();\n };\n\n return [\n ViewPlugin.fromClass(\n class {\n // Graph subscription.\n private _subscription?: UnsubscribeCallback;\n constructor(view: EditorView) {\n const id = view.state.facet(documentId);\n const computeGraph = view.state.facet(computeGraphFacet);\n if (id && computeGraph) {\n queueMicrotask(async () => {\n computeNode = computeGraph.getOrCreateNode(createSheetName({ type: '', id }));\n await computeNode.open();\n\n // Trigger re-render if values updated.\n // TODO(burdon): Trigger only if formula value updated (currently triggered during render).\n this._subscription = computeNode.update.on(\n debounce(({ type, ...rest }) => {\n if (type === 'valuesUpdated') {\n view.dispatch({\n effects: updateAllDecorations.of(),\n });\n }\n }, 250),\n );\n });\n }\n }\n\n destroy() {\n this._subscription?.();\n void computeNode?.close();\n computeNode = undefined;\n }\n },\n ),\n\n StateField.define<RangeSet<Decoration>>({\n create: (state) => update(state),\n update: (rangeSet: RangeSet<Decoration>, tr: Transaction) => update(tr.state, rangeSet),\n provide: (field) => EditorView.decorations.from(field),\n }),\n ];\n};\n\n// TODO(burdon): Click to edit.\nclass ComputeWidget extends WidgetType {\n constructor(\n private readonly formula: string,\n private readonly value: CellScalarValue,\n ) {\n super();\n }\n\n override toDOM(_view: EditorView) {\n const div = document.createElement('div');\n div.setAttribute('title', this.formula);\n div.innerText = String(this.value);\n return div;\n }\n}\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport {\n type Completion,\n type CompletionContext,\n type CompletionResult,\n acceptCompletion,\n autocompletion,\n completionStatus,\n startCompletion,\n} from '@codemirror/autocomplete';\nimport { HighlightStyle, type Language, syntaxHighlighting } from '@codemirror/language';\nimport { type Extension } from '@codemirror/state';\nimport { type EditorView, ViewPlugin, type ViewUpdate, keymap } from '@codemirror/view';\nimport { type SyntaxNode } from '@lezer/common';\nimport { tags } from '@lezer/highlight';\nimport { spreadsheet } from 'codemirror-lang-spreadsheet';\n\nimport { type FunctionDefinition } from '@dxos/compute';\nimport { RANGE_NOTATION } from '@dxos/compute';\nimport { singleValueFacet } from '@dxos/react-ui-editor';\nimport { mx } from '@dxos/react-ui-theme';\n\n/**\n * https://codemirror.net/examples/styling\n * https://lezer.codemirror.net/docs/ref/#highlight\n * https://github.com/luizzappa/codemirror-lang-spreadsheet/blob/main/src/index.ts#L28 (mapping)\n */\n// TODO(burdon): Define light/dark.\nconst highlightStyles = HighlightStyle.define([\n // Function.\n {\n tag: tags.name,\n class: 'text-accentText',\n },\n // Range.\n {\n tag: tags.tagName,\n class: 'text-pinkText',\n },\n // Values.\n {\n tag: tags.number,\n class: 'text-tealText',\n },\n {\n tag: tags.bool,\n class: 'text-tealText',\n },\n {\n tag: tags.string,\n class: 'text-tealText',\n },\n // Error.\n {\n tag: tags.invalid,\n class: 'text-unAccent',\n },\n]);\n\nconst languageFacet = singleValueFacet<Language>();\n\nexport type SheetExtensionOptions = {\n debug?: boolean;\n functions?: FunctionDefinition[];\n};\n\n/**\n * Spreadsheet formula extension and parser.\n * https://github.com/luizzappa/codemirror-lang-spreadsheet\n * https://github.com/luizzappa/codemirror-app-spreadsheet/blob/master/src/editor.ts\n * https://github.com/codemirror/lang-example\n * https://hyperformula.handsontable.com/guide/key-concepts.html#grammar\n */\nexport const sheetExtension = ({ debug, functions = [] }: SheetExtensionOptions): Extension => {\n const { extension, language } = spreadsheet({ idiom: 'en-US', decimalSeparator: '.' });\n\n const createCompletion = (name: string) => {\n const { section = 'Custom', description, syntax } = functions.find((value) => value.name === name) ?? {};\n\n return {\n section,\n label: name,\n info: () => {\n if (!description && !syntax) {\n return null;\n }\n\n // TODO(burdon): Standardize color styles.\n const root = document.createElement('div');\n root.className = 'flex flex-col gap-2 text-sm';\n\n const title = document.createElement('h2');\n title.innerText = name;\n title.className = 'text-lg font-mono text-accentText';\n root.appendChild(title);\n\n if (description) {\n const info = document.createElement('p');\n info.innerText = description;\n info.className = 'text-subdued';\n root.appendChild(info);\n }\n\n if (syntax) {\n const detail = document.createElement('pre');\n detail.innerText = syntax;\n detail.className = 'whitespace-pre-wrap text-greenText';\n root.appendChild(detail);\n }\n\n return root;\n },\n apply: (view, completion, from, to) => {\n const insertParens = to === view.state.doc.toString().length;\n view.dispatch(\n view.state.update({\n changes: {\n from,\n to,\n insert: completion.label + (insertParens ? '()' : ''),\n },\n selection: {\n anchor: from + completion.label.length + 1,\n },\n }),\n );\n },\n } satisfies Completion;\n };\n\n return [\n extension,\n languageFacet.of(language),\n language.data.of({\n autocomplete: (context: CompletionContext): CompletionResult | null => {\n if (context.state.doc.toString()[0] !== '=') {\n return null;\n }\n const match = context.matchBefore(/\\w*/);\n if (!match || match.from === match.to) {\n return null;\n }\n\n const text = match.text.toUpperCase();\n if (!context.explicit && match.text.length < 2) {\n return null;\n }\n\n return {\n from: match.from,\n options:\n functions?.filter(({ name }) => name.startsWith(text)).map(({ name }) => createCompletion(name)) ?? [],\n };\n },\n }),\n\n syntaxHighlighting(highlightStyles),\n autocompletion({\n aboveCursor: false,\n defaultKeymap: true,\n activateOnTyping: true,\n closeOnBlur: !debug,\n icons: false,\n tooltipClass: () =>\n mx(\n '!-left-[1px] !top-[33px] !-m-0 border !border-t-0 [&>ul]:!min-w-[198px]',\n '[&>ul>li[aria-selected]]:!bg-accentSurface',\n 'border-separator',\n ),\n }),\n keymap.of([\n {\n key: 'Tab',\n run: (view) => {\n return completionStatus(view.state) === 'active' ? acceptCompletion(view) : startCompletion(view);\n },\n },\n ]),\n\n // Parsing.\n // StateField.define({\n // create: (state) => {},\n // update: (value, tr) => {\n // log.info('update');\n // syntaxTree(tr.state).iterate({\n // enter: ({ type, from, to }) => {\n // log.info('node', { type: type.name, from, to });\n // },\n // });\n // },\n // }),\n ];\n};\n\nexport type SelectionRange = { from: number; to: number };\n\nexport interface RangeController {\n setRange(range: string): void;\n}\n\nexport type RangeExtensionOptions = {\n /**\n * Provides controller callback when extension is initialized.\n */\n onInit?: (controller: RangeController) => void;\n /**\n * Called when the active range changes.\n * @param state The current state.\n * @param state.activeRange undefined if no range is active, otherwise a possibly partially defined range.\n */\n onStateChange?: (state: { activeRange: string | undefined }) => void;\n};\n\n/**\n * Tracks the currently active cell within a formula and provides a callback to modify it.\n */\nexport const rangeExtension = ({ onInit, onStateChange }: RangeExtensionOptions): Extension => {\n let view: EditorView;\n let activeRange: SelectionRange | undefined;\n\n // Called externally to provide current range.\n const notifier: RangeController = {\n setRange: (range: string) => {\n if (activeRange) {\n view.dispatch(\n view.state.update({\n changes: { ...activeRange, insert: range.toString() },\n selection: { anchor: activeRange.from + range.length },\n }),\n );\n }\n\n view.focus();\n },\n };\n\n return ViewPlugin.fromClass(\n class {\n constructor(_view: EditorView) {\n view = _view;\n onInit?.(notifier);\n }\n\n update(view: ViewUpdate) {\n const { anchor } = view.state.selection.ranges[0];\n\n // Find first Range or cell at cursor.\n activeRange = undefined;\n const language = view.state.facet(languageFacet);\n const { topNode } = language.parser.parse(view.state.doc.toString());\n visitTree(topNode, ({ type, from, to }) => {\n if (from <= anchor && to >= anchor) {\n switch (type.name) {\n case 'Function':\n // Mark but keep looking.\n activeRange = { from: to, to };\n break;\n\n case 'CloseParen':\n // Mark but keep looking.\n activeRange = { from, to: from };\n break;\n\n case 'RangeToken':\n case 'CellToken':\n activeRange = { from, to };\n return true;\n }\n }\n\n return false;\n });\n\n // Allow start of formula.\n if (!activeRange && view.state.doc.toString()[0] === '=') {\n const str = view.state.doc.sliceString(1);\n if (RANGE_NOTATION.test(str)) {\n activeRange = { from: 1, to: str.length + 1 };\n }\n }\n\n onStateChange?.({\n activeRange: activeRange ? view.state.doc.sliceString(activeRange.from, activeRange.to) : undefined,\n });\n }\n },\n );\n};\n\n/**\n * Lezer parse result visitor.\n */\nconst visitTree = (node: SyntaxNode, callback: (node: SyntaxNode) => boolean): boolean => {\n if (callback(node)) {\n return true;\n }\n\n for (let child = node.firstChild; child !== null; child = child.nextSibling) {\n if (visitTree(child, callback)) {\n return true;\n }\n }\n\n return false;\n};\n"],
|
|
5
|
-
"mappings": "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",
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport { syntaxTree } from '@codemirror/language';\nimport {\n type EditorState,\n type Extension,\n type RangeSet,\n RangeSetBuilder,\n StateEffect,\n StateField,\n type Transaction,\n} from '@codemirror/state';\nimport { Decoration, EditorView, ViewPlugin, WidgetType } from '@codemirror/view';\n\nimport { type UnsubscribeCallback, debounce } from '@dxos/async';\nimport {\n createSheetName,\n type CellAddress,\n type CellScalarValue,\n type ComputeGraph,\n type ComputeNode,\n} from '@dxos/compute';\nimport { invariant } from '@dxos/invariant';\nimport { documentId, singleValueFacet } from '@dxos/react-ui-editor';\n\nconst LANGUAGE_TAG = 'dx';\n\n// TODO(burdon): Create marker just for our decorator?\nconst updateAllDecorations = StateEffect.define<void>();\n\nexport const computeGraphFacet = singleValueFacet<ComputeGraph>();\n\nexport type ComputeOptions = {};\n\nexport const compute = (options: ComputeOptions = {}): Extension => {\n let computeNode: ComputeNode | undefined;\n\n const update = (state: EditorState, current?: RangeSet<Decoration>) => {\n const builder = new RangeSetBuilder<Decoration>();\n if (computeNode) {\n computeNode.clear();\n syntaxTree(state).iterate({\n enter: (node) => {\n switch (node.name) {\n case 'FencedCode': {\n const cursor = state.selection.main.head;\n if (state.readOnly || cursor < node.from || cursor > node.to) {\n const info = node.node.getChild('CodeInfo');\n if (info) {\n const type = state.sliceDoc(info.from, info.to);\n const text = node.node.getChild('CodeText');\n if (type === LANGUAGE_TAG && text) {\n const formula = state.sliceDoc(text.from, text.to);\n\n const iter = current?.iter(node.node.from);\n if (iter?.value && iter?.value.spec.formula === formula) {\n // Add existing widget.\n builder.add(node.from, node.to, iter.value);\n } else {\n // TODO(burdon): Create ordered list of cells on each decoration run.\n const cell: CellAddress = { col: node.node.from, row: 0 };\n invariant(computeNode);\n // NOTE: This triggers re-render (below).\n computeNode.setValue(cell, formula);\n const value = computeNode.getValue(cell);\n builder.add(\n node.from,\n node.to,\n Decoration.replace({\n widget: new ComputeWidget(formula, value),\n formula,\n }),\n );\n }\n }\n }\n }\n\n break;\n }\n }\n },\n });\n }\n\n return builder.finish();\n };\n\n return [\n ViewPlugin.fromClass(\n class {\n // Graph subscription.\n private _subscription?: UnsubscribeCallback;\n constructor(view: EditorView) {\n const id = view.state.facet(documentId);\n const computeGraph = view.state.facet(computeGraphFacet);\n if (id && computeGraph) {\n queueMicrotask(async () => {\n computeNode = computeGraph.getOrCreateNode(createSheetName({ type: '', id }));\n await computeNode.open();\n\n // Trigger re-render if values updated.\n // TODO(burdon): Trigger only if formula value updated (currently triggered during render).\n this._subscription = computeNode.update.on(\n debounce(({ type, ...rest }) => {\n if (type === 'valuesUpdated') {\n view.dispatch({\n effects: updateAllDecorations.of(),\n });\n }\n }, 250),\n );\n });\n }\n }\n\n destroy() {\n this._subscription?.();\n void computeNode?.close();\n computeNode = undefined;\n }\n },\n ),\n\n StateField.define<RangeSet<Decoration>>({\n create: (state) => update(state),\n update: (rangeSet: RangeSet<Decoration>, tr: Transaction) => update(tr.state, rangeSet),\n provide: (field) => EditorView.decorations.from(field),\n }),\n ];\n};\n\n// TODO(burdon): Click to edit.\nclass ComputeWidget extends WidgetType {\n constructor(\n private readonly formula: string,\n private readonly value: CellScalarValue,\n ) {\n super();\n }\n\n override toDOM(_view: EditorView) {\n const div = document.createElement('div');\n div.setAttribute('title', this.formula);\n div.innerText = String(this.value);\n return div;\n }\n}\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport {\n type Completion,\n type CompletionContext,\n type CompletionResult,\n acceptCompletion,\n autocompletion,\n completionStatus,\n startCompletion,\n} from '@codemirror/autocomplete';\nimport { HighlightStyle, type Language, syntaxHighlighting } from '@codemirror/language';\nimport { type Extension } from '@codemirror/state';\nimport { type EditorView, ViewPlugin, type ViewUpdate, keymap } from '@codemirror/view';\nimport { type SyntaxNode } from '@lezer/common';\nimport { tags } from '@lezer/highlight';\nimport { spreadsheet } from 'codemirror-lang-spreadsheet';\n\nimport { type FunctionDefinition } from '@dxos/compute';\nimport { RANGE_NOTATION } from '@dxos/compute';\nimport { singleValueFacet } from '@dxos/react-ui-editor';\nimport { mx } from '@dxos/react-ui-theme';\n\n/**\n * https://codemirror.net/examples/styling\n * https://lezer.codemirror.net/docs/ref/#highlight\n * https://github.com/luizzappa/codemirror-lang-spreadsheet/blob/main/src/index.ts#L28 (mapping)\n */\n// TODO(burdon): Define light/dark.\nconst highlightStyles = HighlightStyle.define([\n // Function.\n {\n tag: tags.name,\n class: 'text-accentText',\n },\n // Range.\n {\n tag: tags.tagName,\n class: 'text-pinkText',\n },\n // Values.\n {\n tag: tags.number,\n class: 'text-tealText',\n },\n {\n tag: tags.bool,\n class: 'text-tealText',\n },\n {\n tag: tags.string,\n class: 'text-tealText',\n },\n // Error.\n {\n tag: tags.invalid,\n class: 'text-unAccent',\n },\n]);\n\nconst languageFacet = singleValueFacet<Language>();\n\nexport type SheetExtensionOptions = {\n debug?: boolean;\n functions?: FunctionDefinition[];\n};\n\n/**\n * Spreadsheet formula extension and parser.\n * https://github.com/luizzappa/codemirror-lang-spreadsheet\n * https://github.com/luizzappa/codemirror-app-spreadsheet/blob/master/src/editor.ts\n * https://github.com/codemirror/lang-example\n * https://hyperformula.handsontable.com/guide/key-concepts.html#grammar\n */\nexport const sheetExtension = ({ debug, functions = [] }: SheetExtensionOptions): Extension => {\n const { extension, language } = spreadsheet({ idiom: 'en-US', decimalSeparator: '.' });\n\n const createCompletion = (name: string) => {\n const { section = 'Custom', description, syntax } = functions.find((value) => value.name === name) ?? {};\n\n return {\n section,\n label: name,\n info: () => {\n if (!description && !syntax) {\n return null;\n }\n\n // TODO(burdon): Standardize color styles.\n const root = document.createElement('div');\n root.className = 'flex flex-col gap-2 text-sm';\n\n const title = document.createElement('h2');\n title.innerText = name;\n title.className = 'text-lg font-mono text-accentText';\n root.appendChild(title);\n\n if (description) {\n const info = document.createElement('p');\n info.innerText = description;\n info.className = 'text-subdued';\n root.appendChild(info);\n }\n\n if (syntax) {\n const detail = document.createElement('pre');\n detail.innerText = syntax;\n detail.className = 'whitespace-pre-wrap text-greenText';\n root.appendChild(detail);\n }\n\n return root;\n },\n apply: (view, completion, from, to) => {\n const insertParens = to === view.state.doc.toString().length;\n view.dispatch(\n view.state.update({\n changes: {\n from,\n to,\n insert: completion.label + (insertParens ? '()' : ''),\n },\n selection: {\n anchor: from + completion.label.length + 1,\n },\n }),\n );\n },\n } satisfies Completion;\n };\n\n return [\n extension,\n languageFacet.of(language),\n language.data.of({\n autocomplete: (context: CompletionContext): CompletionResult | null => {\n if (context.state.doc.toString()[0] !== '=') {\n return null;\n }\n const match = context.matchBefore(/\\w*/);\n if (!match || match.from === match.to) {\n return null;\n }\n\n const text = match.text.toUpperCase();\n if (!context.explicit && match.text.length < 2) {\n return null;\n }\n\n return {\n from: match.from,\n options:\n functions?.filter(({ name }) => name.startsWith(text)).map(({ name }) => createCompletion(name)) ?? [],\n };\n },\n }),\n\n syntaxHighlighting(highlightStyles),\n autocompletion({\n aboveCursor: false,\n defaultKeymap: true,\n activateOnTyping: true,\n closeOnBlur: !debug,\n icons: false,\n tooltipClass: () =>\n mx(\n '!-left-[1px] !top-[33px] !-m-0 border !border-t-0 [&>ul]:!min-w-[198px]',\n '[&>ul>li[aria-selected]]:!bg-accentSurface',\n 'border-separator',\n ),\n }),\n keymap.of([\n {\n key: 'Tab',\n run: (view) => {\n return completionStatus(view.state) === 'active' ? acceptCompletion(view) : startCompletion(view);\n },\n },\n ]),\n\n // Parsing.\n // StateField.define({\n // create: (state) => {},\n // update: (value, tr) => {\n // log.info('update');\n // syntaxTree(tr.state).iterate({\n // enter: ({ type, from, to }) => {\n // log.info('node', { type: type.name, from, to });\n // },\n // });\n // },\n // }),\n ];\n};\n\nexport type SelectionRange = { from: number; to: number };\n\nexport interface RangeController {\n setRange(range: string): void;\n}\n\nexport type RangeExtensionOptions = {\n /**\n * Provides controller callback when extension is initialized.\n */\n onInit?: (controller: RangeController) => void;\n /**\n * Called when the active range changes.\n * @param state The current state.\n * @param state.activeRange undefined if no range is active, otherwise a possibly partially defined range.\n */\n onStateChange?: (state: { activeRange: string | undefined }) => void;\n};\n\n/**\n * Tracks the currently active cell within a formula and provides a callback to modify it.\n */\nexport const rangeExtension = ({ onInit, onStateChange }: RangeExtensionOptions): Extension => {\n let view: EditorView;\n let activeRange: SelectionRange | undefined;\n\n // Called externally to provide current range.\n const notifier: RangeController = {\n setRange: (range: string) => {\n if (activeRange) {\n view.dispatch(\n view.state.update({\n changes: { ...activeRange, insert: range.toString() },\n selection: { anchor: activeRange.from + range.length },\n }),\n );\n }\n\n view.focus();\n },\n };\n\n return ViewPlugin.fromClass(\n class {\n constructor(_view: EditorView) {\n view = _view;\n onInit?.(notifier);\n }\n\n update(view: ViewUpdate) {\n const { anchor } = view.state.selection.ranges[0];\n\n // Find first Range or cell at cursor.\n activeRange = undefined;\n const language = view.state.facet(languageFacet);\n const { topNode } = language.parser.parse(view.state.doc.toString());\n visitTree(topNode, ({ type, from, to }) => {\n if (from <= anchor && to >= anchor) {\n switch (type.name) {\n case 'Function':\n // Mark but keep looking.\n activeRange = { from: to, to };\n break;\n\n case 'CloseParen':\n // Mark but keep looking.\n activeRange = { from, to: from };\n break;\n\n case 'RangeToken':\n case 'CellToken':\n activeRange = { from, to };\n return true;\n }\n }\n\n return false;\n });\n\n // Allow start of formula.\n if (!activeRange && view.state.doc.toString()[0] === '=') {\n const str = view.state.doc.sliceString(1);\n if (RANGE_NOTATION.test(str)) {\n activeRange = { from: 1, to: str.length + 1 };\n } else {\n activeRange = { from: str.length + 1, to: str.length + 1 };\n }\n }\n\n onStateChange?.({\n activeRange: activeRange ? view.state.doc.sliceString(activeRange.from, activeRange.to) : undefined,\n });\n }\n },\n );\n};\n\n/**\n * Lezer parse result visitor.\n */\nconst visitTree = (node: SyntaxNode, callback: (node: SyntaxNode) => boolean): boolean => {\n if (callback(node)) {\n return true;\n }\n\n for (let child = node.firstChild; child !== null; child = child.nextSibling) {\n if (visitTree(child, callback)) {\n return true;\n }\n }\n\n return false;\n};\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
6
|
"names": ["import_language", "import_view", "import_compute", "import_react_ui_editor", "updateAllDecorations", "StateEffect", "define", "computeGraphFacet", "singleValueFacet", "highlightStyles", "HighlightStyle", "tag", "tags", "name", "class", "tagName", "number", "bool", "string", "invalid", "languageFacet", "sheetExtension", "debug", "functions", "extension", "language", "spreadsheet", "idiom", "decimalSeparator", "createCompletion", "section", "description", "syntax", "find", "value", "label", "info", "root", "document", "createElement", "className", "title", "innerText", "appendChild", "detail", "apply", "view", "completion", "from", "to", "insertParens", "state", "doc", "toString", "length", "dispatch", "update", "changes", "insert", "selection", "anchor", "of", "data", "autocomplete", "context", "match", "matchBefore", "text", "toUpperCase", "explicit", "options", "filter", "startsWith", "map", "syntaxHighlighting", "autocompletion", "aboveCursor", "defaultKeymap", "activateOnTyping", "closeOnBlur", "icons", "tooltipClass", "mx", "keymap", "key", "run", "completionStatus", "acceptCompletion", "startCompletion", "rangeExtension", "onInit", "onStateChange", "activeRange", "notifier", "setRange", "range", "focus", "ViewPlugin", "fromClass", "constructor", "_view", "ranges", "undefined", "facet", "topNode", "parser", "parse", "visitTree", "type", "str", "sliceString", "RANGE_NOTATION", "test", "node", "callback", "child", "firstChild", "nextSibling"]
|
|
7
7
|
}
|