@dxos/plugin-sheet 0.8.4-main.c85a9c8dae → 0.8.4-main.dfabb4ec29
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/RangeList-S3SHV7T6.mjs → neutral/RangeList-HYB5S6KQ.mjs} +21 -28
- package/dist/lib/neutral/RangeList-HYB5S6KQ.mjs.map +7 -0
- package/dist/lib/neutral/SheetContainer-ZOVKGHLT.mjs +33 -0
- package/dist/lib/neutral/SheetContainer-ZOVKGHLT.mjs.map +7 -0
- package/dist/lib/neutral/SheetPlugin.mjs +48 -0
- package/dist/lib/neutral/SheetPlugin.mjs.map +7 -0
- package/dist/lib/neutral/SheetPlugin.node.mjs +27 -0
- package/dist/lib/neutral/SheetPlugin.node.mjs.map +7 -0
- package/dist/lib/{browser/anchor-sort-DZ3IHHJJ.mjs → neutral/anchor-sort-TTCKGX7V.mjs} +5 -7
- package/dist/lib/neutral/anchor-sort-TTCKGX7V.mjs.map +7 -0
- package/dist/lib/neutral/capabilities/index.mjs +25 -0
- package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
- package/dist/lib/neutral/chunk-4GWJDLTH.mjs +83 -0
- package/dist/lib/neutral/chunk-4GWJDLTH.mjs.map +7 -0
- package/dist/lib/{browser/chunk-NNWF7EKC.mjs → neutral/chunk-4SBAIU6F.mjs} +3 -3
- package/dist/lib/neutral/chunk-4SBAIU6F.mjs.map +7 -0
- package/dist/lib/neutral/chunk-J5LGTIGS.mjs +10 -0
- package/dist/lib/{browser/chunk-S445OQGW.mjs → neutral/chunk-KC2SMDNF.mjs} +167 -191
- package/dist/lib/neutral/chunk-KC2SMDNF.mjs.map +7 -0
- package/dist/lib/neutral/chunk-YFHTB6MX.mjs +8 -0
- package/dist/lib/neutral/chunk-YFHTB6MX.mjs.map +7 -0
- package/dist/lib/neutral/chunk-ZWOQCLH7.mjs +21 -0
- package/dist/lib/neutral/chunk-ZWOQCLH7.mjs.map +7 -0
- package/dist/lib/neutral/comment-config-ZBWNCJMZ.mjs +20 -0
- package/dist/lib/neutral/comment-config-ZBWNCJMZ.mjs.map +7 -0
- package/dist/lib/{browser/SheetContainer-I3NFVVDQ.mjs → neutral/components/index.mjs} +160 -414
- package/dist/lib/neutral/components/index.mjs.map +7 -0
- package/dist/lib/{browser/compute-graph-registry-W6HO2G3P.mjs → neutral/compute-graph-registry-IEQBF5XZ.mjs} +5 -6
- package/dist/lib/neutral/compute-graph-registry-IEQBF5XZ.mjs.map +7 -0
- package/dist/lib/neutral/containers/index.mjs +11 -0
- package/dist/lib/neutral/containers/index.mjs.map +7 -0
- package/dist/lib/neutral/create-object-OKQAXJCW.mjs +27 -0
- package/dist/lib/neutral/create-object-OKQAXJCW.mjs.map +7 -0
- package/dist/lib/neutral/drop-axis-G6UOXG54.mjs +23 -0
- package/dist/lib/neutral/drop-axis-G6UOXG54.mjs.map +7 -0
- package/dist/lib/{browser/types → neutral}/index.mjs +14 -5
- package/dist/lib/neutral/insert-axis-ZFFNG22G.mjs +16 -0
- package/dist/lib/neutral/insert-axis-ZFFNG22G.mjs.map +7 -0
- package/dist/lib/{browser/markdown-S6GVLHB4.mjs → neutral/markdown-I2AKJYPF.mjs} +5 -6
- package/dist/lib/neutral/markdown-I2AKJYPF.mjs.map +7 -0
- package/dist/lib/neutral/meta.json +1 -0
- package/dist/lib/neutral/meta.mjs +8 -0
- package/dist/lib/neutral/meta.mjs.map +7 -0
- package/dist/lib/neutral/operation-handler-TB6LFV2H.mjs +13 -0
- package/dist/lib/neutral/operation-handler-TB6LFV2H.mjs.map +7 -0
- package/dist/lib/neutral/operations/index.mjs +8 -0
- package/dist/lib/neutral/operations/index.mjs.map +7 -0
- package/dist/lib/neutral/plugin.mjs +16 -0
- package/dist/lib/neutral/plugin.mjs.map +7 -0
- package/dist/lib/{browser/react-surface-KIU6DGKW.mjs → neutral/react-surface-ID4JCAFR.mjs} +12 -19
- package/dist/lib/neutral/react-surface-ID4JCAFR.mjs.map +7 -0
- package/dist/lib/neutral/restore-axis-44DM6N54.mjs +16 -0
- package/dist/lib/neutral/restore-axis-44DM6N54.mjs.map +7 -0
- package/dist/lib/neutral/scroll-to-anchor-WHX3HJC7.mjs +33 -0
- package/dist/lib/neutral/scroll-to-anchor-WHX3HJC7.mjs.map +7 -0
- package/dist/lib/neutral/state-HPA27MX2.mjs +29 -0
- package/dist/lib/neutral/state-HPA27MX2.mjs.map +7 -0
- package/dist/lib/neutral/testing/index.mjs +103 -0
- package/dist/lib/neutral/testing/index.mjs.map +7 -0
- package/dist/lib/neutral/translations.mjs +55 -0
- package/dist/lib/neutral/translations.mjs.map +7 -0
- package/dist/lib/{node-esm → neutral}/types/index.mjs +6 -6
- package/dist/lib/neutral/types/index.mjs.map +7 -0
- package/dist/lib/neutral/undo-mappings-3FQLSTCZ.mjs +31 -0
- package/dist/lib/neutral/undo-mappings-3FQLSTCZ.mjs.map +7 -0
- package/dist/types/src/SheetPlugin.d.ts +1 -0
- package/dist/types/src/SheetPlugin.d.ts.map +1 -1
- package/dist/types/src/SheetPlugin.node.d.ts +4 -0
- package/dist/types/src/SheetPlugin.node.d.ts.map +1 -0
- package/dist/types/src/SheetPlugin.test.d.ts +2 -0
- package/dist/types/src/SheetPlugin.test.d.ts.map +1 -0
- package/dist/types/src/capabilities/anchor-sort.d.ts.map +1 -0
- package/dist/types/src/capabilities/comment-config.d.ts +12 -0
- package/dist/types/src/capabilities/comment-config.d.ts.map +1 -0
- package/dist/types/src/capabilities/compute-graph-registry.d.ts +5 -0
- package/dist/types/src/capabilities/compute-graph-registry.d.ts.map +1 -0
- package/dist/types/src/capabilities/create-object.d.ts +11 -0
- package/dist/types/src/capabilities/create-object.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +23 -5
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/markdown.d.ts.map +1 -0
- package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
- package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
- package/dist/types/src/capabilities/{compute-graph-registry/compute-graph-registry.d.ts → state.d.ts} +3 -2
- package/dist/types/src/capabilities/state.d.ts.map +1 -0
- package/dist/types/src/capabilities/undo-mappings.d.ts +5 -0
- package/dist/types/src/capabilities/undo-mappings.d.ts.map +1 -0
- package/dist/types/src/components/ComputeGraph/ComputeGraphContextProvider.d.ts +1 -1
- package/dist/types/src/components/ComputeGraph/ComputeGraphContextProvider.d.ts.map +1 -1
- package/dist/types/src/components/ComputeGraph/compute-graph.stories.d.ts.map +1 -1
- package/dist/types/src/components/Sheet/Sheet.d.ts +10 -4
- package/dist/types/src/components/Sheet/Sheet.d.ts.map +1 -1
- package/dist/types/src/components/SheetContent/SheetCellEditor.stories.d.ts.map +1 -1
- package/dist/types/src/components/SheetContent/SheetContent.d.ts +4 -3
- package/dist/types/src/components/SheetContent/SheetContent.d.ts.map +1 -1
- package/dist/types/src/components/SheetContent/SheetContent.stories.d.ts +77 -39
- package/dist/types/src/components/SheetContent/SheetContent.stories.d.ts.map +1 -1
- package/dist/types/src/components/SheetContent/util.d.ts +1 -1
- package/dist/types/src/components/SheetContent/util.d.ts.map +1 -1
- package/dist/types/src/components/SheetRoot/SheetRoot.d.ts +5 -3
- package/dist/types/src/components/SheetRoot/SheetRoot.d.ts.map +1 -1
- package/dist/types/src/components/SheetStatusbar/SheetStatusbar.d.ts +4 -3
- package/dist/types/src/components/SheetStatusbar/SheetStatusbar.d.ts.map +1 -1
- package/dist/types/src/components/SheetToolbar/SheetToolbar.d.ts +5 -8
- package/dist/types/src/components/SheetToolbar/SheetToolbar.d.ts.map +1 -1
- package/dist/types/src/components/SheetToolbar/SheetToolbar.stories.d.ts +72 -68
- package/dist/types/src/components/SheetToolbar/SheetToolbar.stories.d.ts.map +1 -1
- package/dist/types/src/components/SheetToolbar/align.d.ts +2 -2
- package/dist/types/src/components/SheetToolbar/align.d.ts.map +1 -1
- package/dist/types/src/components/SheetToolbar/style.d.ts +2 -2
- package/dist/types/src/components/SheetToolbar/style.d.ts.map +1 -1
- package/dist/types/src/components/SheetToolbar/useToolbarState.d.ts.map +1 -1
- package/dist/types/src/containers/RangeList/RangeList.d.ts +2 -2
- package/dist/types/src/containers/RangeList/RangeList.d.ts.map +1 -1
- package/dist/types/src/containers/RangeList/index.d.ts +1 -2
- package/dist/types/src/containers/RangeList/index.d.ts.map +1 -1
- package/dist/types/src/containers/SheetContainer/SheetContainer.d.ts +4 -4
- package/dist/types/src/containers/SheetContainer/SheetContainer.d.ts.map +1 -1
- package/dist/types/src/containers/SheetContainer/SheetContainer.stories.d.ts +74 -38
- package/dist/types/src/containers/SheetContainer/SheetContainer.stories.d.ts.map +1 -1
- package/dist/types/src/containers/SheetContainer/index.d.ts +1 -2
- package/dist/types/src/containers/SheetContainer/index.d.ts.map +1 -1
- package/dist/types/src/extensions/compute.d.ts +1 -1
- package/dist/types/src/extensions/compute.d.ts.map +1 -1
- package/dist/types/src/extensions/compute.stories.d.ts.map +1 -1
- package/dist/types/src/extensions/editor/sheet-extension.d.ts +1 -1
- package/dist/types/src/extensions/editor/sheet-extension.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +2 -2
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/integrations/thread-ranges.d.ts +1 -3
- package/dist/types/src/integrations/thread-ranges.d.ts.map +1 -1
- package/dist/types/src/model/sheet-model.d.ts +2 -2
- package/dist/types/src/model/sheet-model.d.ts.map +1 -1
- package/dist/types/src/model/testing.d.ts +1 -1
- package/dist/types/src/model/testing.d.ts.map +1 -1
- package/dist/types/src/model/useSheetModel.d.ts +2 -2
- package/dist/types/src/model/useSheetModel.d.ts.map +1 -1
- package/dist/types/src/operations/drop-axis.d.ts +5 -0
- package/dist/types/src/operations/drop-axis.d.ts.map +1 -0
- package/dist/types/src/operations/index.d.ts +3 -0
- package/dist/types/src/operations/index.d.ts.map +1 -0
- package/dist/types/src/operations/insert-axis.d.ts +5 -0
- package/dist/types/src/operations/insert-axis.d.ts.map +1 -0
- package/dist/types/src/operations/restore-axis.d.ts +5 -0
- package/dist/types/src/operations/restore-axis.d.ts.map +1 -0
- package/dist/types/src/operations/scroll-to-anchor.d.ts +5 -0
- package/dist/types/src/operations/scroll-to-anchor.d.ts.map +1 -0
- package/dist/types/src/playwright/playwright.config.d.ts.map +1 -1
- package/dist/types/src/playwright/sheet-manager.d.ts.map +1 -1
- package/dist/types/src/plugin.d.ts +4 -0
- package/dist/types/src/plugin.d.ts.map +1 -0
- package/dist/types/src/serializer.d.ts +2 -2
- package/dist/types/src/serializer.d.ts.map +1 -1
- package/dist/types/src/testing/data.d.ts +1 -1
- package/dist/types/src/testing/data.d.ts.map +1 -1
- package/dist/types/src/testing/testing.d.ts +3 -3
- package/dist/types/src/testing/testing.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +74 -39
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/Sheet.d.ts +2 -2
- package/dist/types/src/types/Sheet.d.ts.map +1 -1
- package/dist/types/src/types/SheetCapabilities.d.ts +16 -0
- package/dist/types/src/types/SheetCapabilities.d.ts.map +1 -0
- package/dist/types/src/types/SheetOperation.d.ts +45 -0
- package/dist/types/src/types/SheetOperation.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +3 -2
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/sheet-range-types.d.ts +1 -1
- package/dist/types/src/types/sheet-range-types.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +0 -92
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/dist/types/src/types/util.d.ts +1 -1
- package/dist/types/src/types/util.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +116 -73
- package/src/SheetPlugin.node.ts +21 -0
- package/src/SheetPlugin.test.ts +30 -0
- package/src/SheetPlugin.tsx +25 -35
- package/src/capabilities/{anchor-sort/anchor-sort.ts → anchor-sort.ts} +1 -1
- package/src/capabilities/comment-config.ts +24 -0
- package/src/capabilities/{compute-graph-registry/compute-graph-registry.ts → compute-graph-registry.ts} +4 -2
- package/src/capabilities/create-object.ts +30 -0
- package/src/capabilities/index.ts +17 -5
- package/src/capabilities/{markdown/markdown.ts → markdown.ts} +3 -2
- package/src/capabilities/operation-handler.ts +16 -0
- package/src/capabilities/{react-surface/react-surface.tsx → react-surface.tsx} +12 -9
- package/src/capabilities/state.ts +29 -0
- package/src/capabilities/undo-mappings.ts +30 -0
- package/src/components/ComputeGraph/ComputeGraphContextProvider.tsx +1 -1
- package/src/components/ComputeGraph/compute-graph.stories.tsx +17 -14
- package/src/components/SheetContent/SheetCellEditor.stories.tsx +8 -7
- package/src/components/SheetContent/SheetContent.stories.tsx +10 -10
- package/src/components/SheetContent/SheetContent.tsx +40 -23
- package/src/components/SheetContent/util.ts +3 -2
- package/src/components/SheetRoot/SheetRoot.tsx +18 -7
- package/src/components/SheetStatusbar/SheetStatusbar.tsx +15 -8
- package/src/components/SheetToolbar/SheetToolbar.stories.tsx +1 -1
- package/src/components/SheetToolbar/SheetToolbar.tsx +15 -20
- package/src/components/SheetToolbar/align.ts +9 -9
- package/src/components/SheetToolbar/style.ts +7 -7
- package/src/containers/RangeList/RangeList.tsx +17 -17
- package/src/containers/RangeList/index.ts +1 -3
- package/src/containers/SheetContainer/SheetContainer.stories.tsx +36 -20
- package/src/containers/SheetContainer/SheetContainer.tsx +8 -8
- package/src/containers/SheetContainer/index.ts +1 -3
- package/src/extensions/compute.stories.tsx +9 -9
- package/src/extensions/compute.ts +1 -1
- package/src/extensions/editor/sheet-extension.test.ts +1 -1
- package/src/extensions/editor/sheet-extension.ts +2 -2
- package/src/index.ts +2 -2
- package/src/integrations/thread-ranges.ts +7 -39
- package/src/meta.ts +1 -1
- package/src/model/sheet-model.test.ts +5 -5
- package/src/model/sheet-model.ts +17 -17
- package/src/model/testing.ts +2 -2
- package/src/model/useSheetModel.ts +3 -2
- package/src/operations/drop-axis.ts +26 -0
- package/src/operations/index.ts +12 -0
- package/src/operations/insert-axis.ts +19 -0
- package/src/operations/restore-axis.ts +19 -0
- package/src/operations/scroll-to-anchor.ts +30 -0
- package/src/playwright/sheet.spec.ts +2 -2
- package/src/plugin.ts +11 -0
- package/src/sanity.test.ts +6 -3
- package/src/serializer.ts +2 -2
- package/src/testing/data.ts +1 -1
- package/src/testing/testing.tsx +4 -4
- package/src/translations.ts +41 -36
- package/src/types/Sheet.ts +15 -9
- package/src/types/SheetCapabilities.ts +26 -0
- package/src/types/SheetOperation.ts +75 -0
- package/src/types/index.ts +4 -2
- package/src/types/types.ts +0 -80
- package/src/types/util.ts +1 -1
- package/dist/lib/browser/RangeList-S3SHV7T6.mjs.map +0 -7
- package/dist/lib/browser/SheetContainer-I3NFVVDQ.mjs.map +0 -7
- package/dist/lib/browser/anchor-sort-DZ3IHHJJ.mjs.map +0 -7
- package/dist/lib/browser/chunk-NNWF7EKC.mjs.map +0 -7
- package/dist/lib/browser/chunk-S445OQGW.mjs.map +0 -7
- package/dist/lib/browser/compute-graph-registry-W6HO2G3P.mjs.map +0 -7
- package/dist/lib/browser/index.mjs +0 -145
- package/dist/lib/browser/index.mjs.map +0 -7
- package/dist/lib/browser/markdown-S6GVLHB4.mjs.map +0 -7
- package/dist/lib/browser/meta.json +0 -1
- package/dist/lib/browser/operation-resolver-Z4X4UWNR.mjs +0 -79
- package/dist/lib/browser/operation-resolver-Z4X4UWNR.mjs.map +0 -7
- package/dist/lib/browser/react-surface-KIU6DGKW.mjs.map +0 -7
- package/dist/lib/node-esm/RangeList-IB23OJK2.mjs +0 -54
- package/dist/lib/node-esm/RangeList-IB23OJK2.mjs.map +0 -7
- package/dist/lib/node-esm/SheetContainer-KUXNCSFP.mjs +0 -1806
- package/dist/lib/node-esm/SheetContainer-KUXNCSFP.mjs.map +0 -7
- package/dist/lib/node-esm/anchor-sort-24OXMOSX.mjs +0 -25
- package/dist/lib/node-esm/anchor-sort-24OXMOSX.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-M52YLLWU.mjs +0 -236
- package/dist/lib/node-esm/chunk-M52YLLWU.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-NKZ3O4OR.mjs +0 -398
- package/dist/lib/node-esm/chunk-NKZ3O4OR.mjs.map +0 -7
- package/dist/lib/node-esm/compute-graph-registry-2C3Y2RPQ.mjs +0 -22
- package/dist/lib/node-esm/compute-graph-registry-2C3Y2RPQ.mjs.map +0 -7
- package/dist/lib/node-esm/index.mjs +0 -146
- package/dist/lib/node-esm/index.mjs.map +0 -7
- package/dist/lib/node-esm/markdown-YT5KJTQT.mjs +0 -30
- package/dist/lib/node-esm/markdown-YT5KJTQT.mjs.map +0 -7
- package/dist/lib/node-esm/meta.json +0 -1
- package/dist/lib/node-esm/operation-resolver-7VD2YXSQ.mjs +0 -80
- package/dist/lib/node-esm/operation-resolver-7VD2YXSQ.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-7FZAE3S7.mjs +0 -52
- package/dist/lib/node-esm/react-surface-7FZAE3S7.mjs.map +0 -7
- package/dist/types/src/capabilities/anchor-sort/anchor-sort.d.ts.map +0 -1
- package/dist/types/src/capabilities/anchor-sort/index.d.ts +0 -3
- package/dist/types/src/capabilities/anchor-sort/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/compute-graph-registry/compute-graph-registry.d.ts.map +0 -1
- package/dist/types/src/capabilities/compute-graph-registry/index.d.ts +0 -3
- package/dist/types/src/capabilities/compute-graph-registry/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/markdown/index.d.ts +0 -3
- package/dist/types/src/capabilities/markdown/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/markdown/markdown.d.ts.map +0 -1
- package/dist/types/src/capabilities/operation-resolver/index.d.ts +0 -3
- package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +0 -5
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
- package/dist/types/src/types/capabilities.d.ts +0 -6
- package/dist/types/src/types/capabilities.d.ts.map +0 -1
- package/src/capabilities/anchor-sort/index.ts +0 -7
- package/src/capabilities/compute-graph-registry/index.ts +0 -7
- package/src/capabilities/markdown/index.ts +0 -7
- package/src/capabilities/operation-resolver/index.ts +0 -7
- package/src/capabilities/operation-resolver/operation-resolver.ts +0 -77
- package/src/capabilities/react-surface/index.ts +0 -7
- package/src/types/capabilities.ts +0 -14
- /package/dist/lib/{browser/types/index.mjs.map → neutral/chunk-J5LGTIGS.mjs.map} +0 -0
- /package/dist/lib/{node-esm/types → neutral}/index.mjs.map +0 -0
- /package/dist/types/src/capabilities/{anchor-sort/anchor-sort.d.ts → anchor-sort.d.ts} +0 -0
- /package/dist/types/src/capabilities/{markdown/markdown.d.ts → markdown.d.ts} +0 -0
- /package/dist/types/src/capabilities/{react-surface/react-surface.d.ts → react-surface.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"inputs":{"src/meta.ts":{"bytes":2028,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/types/sheet-range-types.ts":{"bytes":3628,"imports":[],"format":"esm"},"src/types/util.ts":{"bytes":13737,"imports":[{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/types/Sheet.ts":{"bytes":11105,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"src/types/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/types/types.ts":{"bytes":2252,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/types/Sheet.ts","kind":"import-statement","original":"./Sheet"}],"format":"esm"},"src/types/SheetCapabilities.ts":{"bytes":2364,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/types/SheetOperation.ts":{"bytes":10331,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/types/index.ts":{"bytes":1098,"imports":[{"path":"src/types/sheet-range-types.ts","kind":"import-statement","original":"./sheet-range-types"},{"path":"src/types/types.ts","kind":"import-statement","original":"./types"},{"path":"src/types/util.ts","kind":"import-statement","original":"./util"},{"path":"src/types/Sheet.ts","kind":"import-statement","original":"./Sheet"},{"path":"src/types/SheetCapabilities.ts","kind":"import-statement","original":"./SheetCapabilities"},{"path":"src/types/SheetOperation.ts","kind":"import-statement","original":"./SheetOperation"}],"format":"esm"},"src/operations/drop-axis.ts":{"bytes":2502,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/operations/insert-axis.ts":{"bytes":1807,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/operations/restore-axis.ts":{"bytes":1789,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/integrations/thread-ranges.ts":{"bytes":10257,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-thread","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"#components","kind":"import-statement","external":true}],"format":"esm"},"src/operations/scroll-to-anchor.ts":{"bytes":3461,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"src/integrations/thread-ranges.ts","kind":"import-statement","original":"../integrations/thread-ranges"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/operations/index.ts":{"bytes":1167,"imports":[{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"src/operations/drop-axis.ts","kind":"dynamic-import","original":"./drop-axis"},{"path":"src/operations/insert-axis.ts","kind":"dynamic-import","original":"./insert-axis"},{"path":"src/operations/restore-axis.ts","kind":"dynamic-import","original":"./restore-axis"},{"path":"src/operations/scroll-to-anchor.ts","kind":"dynamic-import","original":"./scroll-to-anchor"}],"format":"esm"},"src/index.ts":{"bytes":539,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/operations/index.ts","kind":"import-statement","original":"./operations"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/SheetPlugin.tsx":{"bytes":6492,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#translations","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/SheetPlugin.node.ts":{"bytes":2932,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/anchor-sort.ts":{"bytes":2944,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/comment-config.ts":{"bytes":2415,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/compute-graph-registry.ts":{"bytes":3682,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"dynamic-import","external":true}],"format":"esm"},"src/capabilities/create-object.ts":{"bytes":3330,"imports":[{"path":"effect/Effect","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-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/compute.ts":{"bytes":17284,"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-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/editor/sheet-extension.ts":{"bytes":28489,"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-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/editor/index.ts":{"bytes":395,"imports":[{"path":"src/extensions/editor/sheet-extension.ts","kind":"import-statement","original":"./sheet-extension"}],"format":"esm"},"src/extensions/index.ts":{"bytes":457,"imports":[{"path":"src/extensions/compute.ts","kind":"import-statement","original":"./compute"},{"path":"src/extensions/editor/index.ts","kind":"import-statement","original":"./editor"}],"format":"esm"},"src/capabilities/markdown.ts":{"bytes":3551,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"src/extensions/index.ts","kind":"import-statement","original":"../extensions"}],"format":"esm"},"src/capabilities/operation-handler.ts":{"bytes":1655,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#operations","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":6153,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"#containers","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/state.ts":{"bytes":2957,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/undo-mappings.ts":{"bytes":3365,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/index.ts":{"bytes":3743,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/anchor-sort.ts","kind":"dynamic-import","original":"./anchor-sort"},{"path":"src/capabilities/comment-config.ts","kind":"dynamic-import","original":"./comment-config"},{"path":"src/capabilities/compute-graph-registry.ts","kind":"dynamic-import","original":"./compute-graph-registry"},{"path":"src/capabilities/create-object.ts","kind":"dynamic-import","original":"./create-object"},{"path":"src/capabilities/markdown.ts","kind":"dynamic-import","original":"./markdown"},{"path":"src/capabilities/operation-handler.ts","kind":"dynamic-import","original":"./operation-handler"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"src/capabilities/state.ts","kind":"dynamic-import","original":"./state"},{"path":"src/capabilities/undo-mappings.ts","kind":"dynamic-import","original":"./undo-mappings"}],"format":"esm"},"src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytes":3918,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true}],"format":"esm"},"src/components/ComputeGraph/index.ts":{"bytes":423,"imports":[{"path":"src/components/ComputeGraph/ComputeGraphContextProvider.tsx","kind":"import-statement","original":"./ComputeGraphContextProvider"}],"format":"esm"},"src/integrations/index.ts":{"bytes":389,"imports":[{"path":"src/integrations/thread-ranges.ts","kind":"import-statement","original":"./thread-ranges"}],"format":"esm"},"src/model/sheet-model.ts":{"bytes":58784,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/model/useSheetModel.ts":{"bytes":2946,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/model/index.ts","kind":"import-statement","original":"../model"}],"format":"esm"},"src/model/index.ts":{"bytes":488,"imports":[{"path":"src/model/sheet-model.ts","kind":"import-statement","original":"./sheet-model"},{"path":"src/model/useSheetModel.ts","kind":"import-statement","original":"./useSheetModel"}],"format":"esm"},"src/components/SheetRoot/SheetRoot.tsx":{"bytes":10463,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"src/model/index.ts","kind":"import-statement","original":"../../model"}],"format":"esm"},"src/components/SheetRoot/index.ts":{"bytes":377,"imports":[{"path":"src/components/SheetRoot/SheetRoot.tsx","kind":"import-statement","original":"./SheetRoot"}],"format":"esm"},"src/components/SheetContent/util.ts":{"bytes":21610,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/components/SheetContent/SheetContent.tsx":{"bytes":46744,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/lit-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"src/extensions/index.ts","kind":"import-statement","original":"../../extensions"},{"path":"src/integrations/index.ts","kind":"import-statement","original":"../../integrations"},{"path":"src/components/SheetRoot/index.ts","kind":"import-statement","original":"../SheetRoot"},{"path":"src/components/SheetContent/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/components/SheetContent/index.ts":{"bytes":388,"imports":[{"path":"src/components/SheetContent/SheetContent.tsx","kind":"import-statement","original":"./SheetContent"}],"format":"esm"},"src/components/SheetStatusbar/SheetStatusbar.tsx":{"bytes":5969,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"src/components/SheetRoot/index.ts","kind":"import-statement","original":"../SheetRoot"}],"format":"esm"},"src/components/SheetStatusbar/index.ts":{"bytes":394,"imports":[{"path":"src/components/SheetStatusbar/SheetStatusbar.tsx","kind":"import-statement","original":"./SheetStatusbar"}],"format":"esm"},"src/components/SheetToolbar/align.ts":{"bytes":14996,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"src/components/SheetRoot/index.ts","kind":"import-statement","original":"../SheetRoot"}],"format":"esm"},"src/components/SheetToolbar/style.ts":{"bytes":15539,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"src/components/SheetRoot/index.ts","kind":"import-statement","original":"../SheetRoot"}],"format":"esm"},"src/components/SheetToolbar/useToolbarState.ts":{"bytes":2916,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/SheetToolbar/SheetToolbar.tsx":{"bytes":10611,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/components/SheetRoot/index.ts","kind":"import-statement","original":"../SheetRoot"},{"path":"src/components/SheetToolbar/align.ts","kind":"import-statement","original":"./align"},{"path":"src/components/SheetToolbar/style.ts","kind":"import-statement","original":"./style"},{"path":"src/components/SheetToolbar/useToolbarState.ts","kind":"import-statement","original":"./useToolbarState"}],"format":"esm"},"src/components/SheetToolbar/index.ts":{"bytes":388,"imports":[{"path":"src/components/SheetToolbar/SheetToolbar.tsx","kind":"import-statement","original":"./SheetToolbar"}],"format":"esm"},"src/components/Sheet/Sheet.tsx":{"bytes":1925,"imports":[{"path":"src/components/SheetContent/index.ts","kind":"import-statement","original":"../SheetContent"},{"path":"src/components/SheetRoot/index.ts","kind":"import-statement","original":"../SheetRoot"},{"path":"src/components/SheetStatusbar/index.ts","kind":"import-statement","original":"../SheetStatusbar"},{"path":"src/components/SheetToolbar/index.ts","kind":"import-statement","original":"../SheetToolbar"},{"path":"src/components/SheetRoot/index.ts","kind":"import-statement","original":"../SheetRoot"}],"format":"esm"},"src/components/Sheet/index.ts":{"bytes":369,"imports":[{"path":"src/components/Sheet/Sheet.tsx","kind":"import-statement","original":"./Sheet"}],"format":"esm"},"src/components/index.ts":{"bytes":469,"imports":[{"path":"src/components/ComputeGraph/index.ts","kind":"import-statement","original":"./ComputeGraph"},{"path":"src/components/Sheet/index.ts","kind":"import-statement","original":"./Sheet"}],"format":"esm"},"src/containers/RangeList/RangeList.tsx":{"bytes":7759,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/echo-react","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":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/containers/RangeList/index.ts":{"bytes":484,"imports":[{"path":"src/containers/RangeList/RangeList.tsx","kind":"import-statement","original":"./RangeList"}],"format":"esm"},"src/containers/SheetContainer/SheetContainer.tsx":{"bytes":4916,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"#components","kind":"import-statement","external":true}],"format":"esm"},"src/containers/SheetContainer/index.ts":{"bytes":518,"imports":[{"path":"src/containers/SheetContainer/SheetContainer.tsx","kind":"import-statement","original":"./SheetContainer"}],"format":"esm"},"src/containers/index.ts":{"bytes":964,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/containers/RangeList/index.ts","kind":"dynamic-import","original":"./RangeList"},{"path":"src/containers/SheetContainer/index.ts","kind":"dynamic-import","original":"./SheetContainer"}],"format":"esm"},"src/plugin.ts":{"bytes":1063,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/operations/index.ts","kind":"import-statement","original":"./operations"},{"path":"#plugin","kind":"dynamic-import","external":true}],"format":"esm"},"src/testing/data.ts":{"bytes":3547,"imports":[],"format":"esm"},"src/testing/testing.tsx":{"bytes":4284,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula/testing","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"#components","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/testing/index.ts":{"bytes":451,"imports":[{"path":"src/testing/data.ts","kind":"import-statement","original":"./data"},{"path":"src/testing/testing.tsx","kind":"import-statement","original":"./testing"}],"format":"esm"},"src/translations.ts":{"bytes":6323,"imports":[{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/lib/neutral/undo-mappings-3FQLSTCZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1689},"dist/lib/neutral/undo-mappings-3FQLSTCZ.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/undo-mappings.ts","inputs":{"src/capabilities/undo-mappings.ts":{"bytesInOutput":732}},"bytes":900},"dist/lib/neutral/RangeList-HYB5S6KQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4168},"dist/lib/neutral/RangeList-HYB5S6KQ.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/echo-react","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":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/containers/RangeList/index.ts","inputs":{"src/containers/RangeList/RangeList.tsx":{"bytesInOutput":1930},"src/containers/RangeList/index.ts":{"bytesInOutput":0}},"bytes":2087},"dist/lib/neutral/SheetContainer-ZOVKGHLT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2728},"dist/lib/neutral/SheetContainer-ZOVKGHLT.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"#components","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/containers/SheetContainer/index.ts","inputs":{"src/containers/SheetContainer/SheetContainer.tsx":{"bytesInOutput":1166},"src/containers/SheetContainer/index.ts":{"bytesInOutput":0}},"bytes":1343},"dist/lib/neutral/anchor-sort-TTCKGX7V.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1569},"dist/lib/neutral/anchor-sort-TTCKGX7V.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/anchor-sort.ts","inputs":{"src/capabilities/anchor-sort.ts":{"bytesInOutput":663}},"bytes":825},"dist/lib/neutral/comment-config-ZBWNCJMZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1334},"dist/lib/neutral/comment-config-ZBWNCJMZ.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/comment-config.ts","inputs":{"src/capabilities/comment-config.ts":{"bytesInOutput":508}},"bytes":679},"dist/lib/neutral/compute-graph-registry-IEQBF5XZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1884},"dist/lib/neutral/compute-graph-registry-IEQBF5XZ.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"dynamic-import","external":true}],"exports":["default"],"entryPoint":"src/capabilities/compute-graph-registry.ts","inputs":{"src/capabilities/compute-graph-registry.ts":{"bytesInOutput":745}},"bytes":940},"dist/lib/neutral/create-object-OKQAXJCW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1740},"dist/lib/neutral/create-object-OKQAXJCW.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","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-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/create-object.ts","inputs":{"src/capabilities/create-object.ts":{"bytesInOutput":769}},"bytes":937},"dist/lib/neutral/markdown-I2AKJYPF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1917},"dist/lib/neutral/markdown-I2AKJYPF.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-4SBAIU6F.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/markdown.ts","inputs":{"src/capabilities/markdown.ts":{"bytesInOutput":765}},"bytes":978},"dist/lib/neutral/operation-handler-TB6LFV2H.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":925},"dist/lib/neutral/operation-handler-TB6LFV2H.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#operations","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/operation-handler.ts","inputs":{"src/capabilities/operation-handler.ts":{"bytesInOutput":343}},"bytes":523},"dist/lib/neutral/react-surface-ID4JCAFR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3118},"dist/lib/neutral/react-surface-ID4JCAFR.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"#containers","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":1520}},"bytes":1689},"dist/lib/neutral/state-HPA27MX2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1639},"dist/lib/neutral/state-HPA27MX2.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/state.ts","inputs":{"src/capabilities/state.ts":{"bytesInOutput":705}},"bytes":849},"dist/lib/neutral/plugin.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":501},"dist/lib/neutral/plugin.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-ZWOQCLH7.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-YFHTB6MX.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#plugin","kind":"dynamic-import","external":true}],"exports":["SheetOperationHandlerSet","SheetPlugin"],"entryPoint":"src/plugin.ts","inputs":{"src/plugin.ts":{"bytesInOutput":108}},"bytes":361},"dist/lib/neutral/testing/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3959},"dist/lib/neutral/testing/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula/testing","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"#components","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["createTestCells","useTestSheet","withComputeGraphDecorator"],"entryPoint":"src/testing/index.ts","inputs":{"src/testing/data.ts":{"bytesInOutput":737},"src/testing/index.ts":{"bytesInOutput":0},"src/testing/testing.tsx":{"bytesInOutput":989}},"bytes":1920},"dist/lib/neutral/translations.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2920},"dist/lib/neutral/translations.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["translations"],"entryPoint":"src/translations.ts","inputs":{"src/translations.ts":{"bytesInOutput":1913}},"bytes":2037},"dist/lib/neutral/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/types/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-KC2SMDNF.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["ApiError","DEFAULT_COLS","DEFAULT_ROWS","MAX_COLS","MAX_ROWS","RangeException","ReadonlyException","Sheet","SheetAction","SheetCapabilities","SheetOperation","addressFromIndex","addressToIndex","alignKey","cellClassNameForRange","commentKey","compareIndexPositions","createIndex","createIndices","initialize","insertIndices","mapFormulaIndicesToRefs","mapFormulaRefsToIndices","rangeFromIndex","rangeToIndex","styleKey"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":1108},"dist/lib/neutral/drop-axis-G6UOXG54.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1339},"dist/lib/neutral/drop-axis-G6UOXG54.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-KC2SMDNF.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/drop-axis.ts","inputs":{"src/operations/drop-axis.ts":{"bytesInOutput":492}},"bytes":711},"dist/lib/neutral/insert-axis-ZFFNG22G.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":998},"dist/lib/neutral/insert-axis-ZFFNG22G.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-KC2SMDNF.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/insert-axis.ts","inputs":{"src/operations/insert-axis.ts":{"bytesInOutput":327}},"bytes":552},"dist/lib/neutral/restore-axis-44DM6N54.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":994},"dist/lib/neutral/restore-axis-44DM6N54.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-KC2SMDNF.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/restore-axis.ts","inputs":{"src/operations/restore-axis.ts":{"bytesInOutput":330}},"bytes":558},"dist/lib/neutral/scroll-to-anchor-WHX3HJC7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1874},"dist/lib/neutral/scroll-to-anchor-WHX3HJC7.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-KC2SMDNF.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-4GWJDLTH.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/scroll-to-anchor.ts","inputs":{"src/operations/scroll-to-anchor.ts":{"bytesInOutput":660}},"bytes":1000},"dist/lib/neutral/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-KC2SMDNF.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-ZWOQCLH7.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-YFHTB6MX.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["ApiError","DEFAULT_COLS","DEFAULT_ROWS","MAX_COLS","MAX_ROWS","RangeException","ReadonlyException","Sheet","SheetAction","SheetCapabilities","SheetOperation","SheetOperationHandlerSet","addressFromIndex","addressToIndex","alignKey","cellClassNameForRange","commentKey","compareIndexPositions","createIndex","createIndices","initialize","insertIndices","mapFormulaIndicesToRefs","mapFormulaRefsToIndices","meta","rangeFromIndex","rangeToIndex","styleKey"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":1256},"dist/lib/neutral/chunk-KC2SMDNF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":21436},"dist/lib/neutral/chunk-KC2SMDNF.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["ApiError","DEFAULT_COLS","DEFAULT_ROWS","MAX_COLS","MAX_ROWS","RangeException","ReadonlyException","SheetAction","SheetCapabilities_exports","SheetOperation_exports","Sheet_exports","addressFromIndex","addressToIndex","alignKey","cellClassNameForRange","commentKey","compareIndexPositions","createIndex","createIndices","initialize","insertIndices","mapFormulaIndicesToRefs","mapFormulaRefsToIndices","rangeFromIndex","rangeToIndex","styleKey"],"inputs":{"src/types/sheet-range-types.ts":{"bytesInOutput":711},"src/types/index.ts":{"bytesInOutput":0},"src/types/types.ts":{"bytesInOutput":404},"src/types/Sheet.ts":{"bytesInOutput":2602},"src/types/util.ts":{"bytesInOutput":2913},"src/types/SheetCapabilities.ts":{"bytesInOutput":416},"src/types/SheetOperation.ts":{"bytesInOutput":2869}},"bytes":10709},"dist/lib/neutral/SheetPlugin.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3425},"dist/lib/neutral/SheetPlugin.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#translations","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["SheetPlugin","default"],"entryPoint":"src/SheetPlugin.tsx","inputs":{"src/SheetPlugin.tsx":{"bytesInOutput":1588}},"bytes":1744},"dist/lib/neutral/SheetPlugin.node.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1557},"dist/lib/neutral/SheetPlugin.node.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["SheetPlugin","default"],"entryPoint":"src/SheetPlugin.node.ts","inputs":{"src/SheetPlugin.node.ts":{"bytesInOutput":675}},"bytes":845},"dist/lib/neutral/capabilities/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2007},"dist/lib/neutral/capabilities/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/neutral/anchor-sort-TTCKGX7V.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/comment-config-ZBWNCJMZ.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/compute-graph-registry-IEQBF5XZ.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/create-object-OKQAXJCW.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/markdown-I2AKJYPF.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/operation-handler-TB6LFV2H.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/react-surface-ID4JCAFR.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/state-HPA27MX2.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/undo-mappings-3FQLSTCZ.mjs","kind":"dynamic-import"}],"exports":["AnchorSort","CommentConfig","ComputeGraphRegistry","CreateObject","Markdown","OperationHandler","ReactSurface","SheetState","UndoMappings"],"entryPoint":"src/capabilities/index.ts","inputs":{"src/capabilities/index.ts":{"bytesInOutput":950}},"bytes":1207},"dist/lib/neutral/components/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":100275},"dist/lib/neutral/components/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-4SBAIU6F.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-4GWJDLTH.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.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/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/lit-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["ComputeGraphContext","ComputeGraphContextProvider","Sheet","useComputeGraph","useSheetContext"],"entryPoint":"src/components/index.ts","inputs":{"src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytesInOutput":775},"src/components/ComputeGraph/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0},"src/components/SheetContent/SheetContent.tsx":{"bytesInOutput":11667},"src/integrations/index.ts":{"bytesInOutput":0},"src/components/SheetRoot/SheetRoot.tsx":{"bytesInOutput":2086},"src/model/sheet-model.ts":{"bytesInOutput":14738},"src/model/index.ts":{"bytesInOutput":0},"src/model/useSheetModel.ts":{"bytesInOutput":543},"src/components/SheetRoot/index.ts":{"bytesInOutput":0},"src/components/SheetContent/util.ts":{"bytesInOutput":5117},"src/components/SheetContent/index.ts":{"bytesInOutput":0},"src/components/SheetStatusbar/SheetStatusbar.tsx":{"bytesInOutput":1780},"src/components/SheetStatusbar/index.ts":{"bytesInOutput":0},"src/components/SheetToolbar/SheetToolbar.tsx":{"bytesInOutput":2509},"src/components/SheetToolbar/align.ts":{"bytesInOutput":3420},"src/components/SheetToolbar/style.ts":{"bytesInOutput":3651},"src/components/SheetToolbar/useToolbarState.ts":{"bytesInOutput":296},"src/components/SheetToolbar/index.ts":{"bytesInOutput":0},"src/components/Sheet/Sheet.tsx":{"bytesInOutput":114},"src/components/Sheet/index.ts":{"bytesInOutput":0}},"bytes":47688},"dist/lib/neutral/chunk-4SBAIU6F.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":19909},"dist/lib/neutral/chunk-4SBAIU6F.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-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"codemirror-lang-spreadsheet","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/ui-editor","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"exports":["computeGraphFacet","rangeExtension","sheetExtension"],"inputs":{"src/extensions/compute.ts":{"bytesInOutput":516},"src/extensions/index.ts":{"bytesInOutput":0},"src/extensions/editor/sheet-extension.ts":{"bytesInOutput":6120},"src/extensions/editor/index.ts":{"bytesInOutput":0}},"bytes":6823},"dist/lib/neutral/chunk-4GWJDLTH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5465},"dist/lib/neutral/chunk-4GWJDLTH.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute-hyperformula","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-thread","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"#components","kind":"import-statement","external":true}],"exports":["parseThreadAnchorAsCellRange","useSelectThreadOnCellFocus"],"inputs":{"src/integrations/thread-ranges.ts":{"bytesInOutput":2376}},"bytes":2531},"dist/lib/neutral/containers/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":543},"dist/lib/neutral/containers/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"dist/lib/neutral/RangeList-HYB5S6KQ.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/SheetContainer-ZOVKGHLT.mjs","kind":"dynamic-import"}],"exports":["RangeList","SheetContainer"],"entryPoint":"src/containers/index.ts","inputs":{"src/containers/index.ts":{"bytesInOutput":170}},"bytes":307},"dist/lib/neutral/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/meta.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-ZWOQCLH7.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["meta"],"entryPoint":"src/meta.ts","inputs":{},"bytes":131},"dist/lib/neutral/chunk-ZWOQCLH7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":995},"dist/lib/neutral/chunk-ZWOQCLH7.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["meta"],"inputs":{"src/meta.ts":{"bytesInOutput":543}},"bytes":622},"dist/lib/neutral/operations/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/operations/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-YFHTB6MX.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["SheetOperationHandlerSet"],"entryPoint":"src/operations/index.ts","inputs":{},"bytes":174},"dist/lib/neutral/chunk-YFHTB6MX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":628},"dist/lib/neutral/chunk-YFHTB6MX.mjs":{"imports":[{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"dist/lib/neutral/drop-axis-G6UOXG54.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/insert-axis-ZFFNG22G.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/restore-axis-44DM6N54.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/scroll-to-anchor-WHX3HJC7.mjs","kind":"dynamic-import"}],"exports":["SheetOperationHandlerSet"],"inputs":{"src/operations/index.ts":{"bytesInOutput":290}},"bytes":401},"dist/lib/neutral/chunk-J5LGTIGS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/chunk-J5LGTIGS.mjs":{"imports":[],"exports":["__export"],"inputs":{},"bytes":235}}}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./chunk-J5LGTIGS.mjs";
|
|
2
|
+
|
|
3
|
+
// src/capabilities/operation-handler.ts
|
|
4
|
+
import * as Effect from "effect/Effect";
|
|
5
|
+
import { Capabilities, Capability } from "@dxos/app-framework";
|
|
6
|
+
import { SheetOperationHandlerSet } from "#operations";
|
|
7
|
+
var operation_handler_default = Capability.makeModule(Effect.fnUntraced(function* () {
|
|
8
|
+
return Capability.contributes(Capabilities.OperationHandler, SheetOperationHandlerSet);
|
|
9
|
+
}));
|
|
10
|
+
export {
|
|
11
|
+
operation_handler_default as default
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=operation-handler-TB6LFV2H.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/operation-handler.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport type { OperationHandlerSet } from '@dxos/compute';\n\nimport { SheetOperationHandlerSet } from '#operations';\n\nexport default Capability.makeModule<OperationHandlerSet.OperationHandlerSet>(\n Effect.fnUntraced(function* () {\n return Capability.contributes(Capabilities.OperationHandler, SheetOperationHandlerSet);\n }),\n);\n"],
|
|
5
|
+
"mappings": ";;;AAIA,YAAYA,YAAY;AAExB,SAASC,cAAcC,kBAAkB;AAGzC,SAASC,gCAAgC;AAEzC,IAAA,4BAAeD,WAAWE,WACjBC,kBAAW,aAAA;AAChB,SAAOH,WAAWI,YAAYL,aAAaM,kBAAkBJ,wBAAAA;AAC/D,CAAA,CAAA;",
|
|
6
|
+
"names": ["Effect", "Capabilities", "Capability", "SheetOperationHandlerSet", "makeModule", "fnUntraced", "contributes", "OperationHandler"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
meta
|
|
3
|
+
} from "./chunk-ZWOQCLH7.mjs";
|
|
4
|
+
import {
|
|
5
|
+
SheetOperationHandlerSet
|
|
6
|
+
} from "./chunk-YFHTB6MX.mjs";
|
|
7
|
+
import "./chunk-J5LGTIGS.mjs";
|
|
8
|
+
|
|
9
|
+
// src/plugin.ts
|
|
10
|
+
import { Plugin } from "@dxos/app-framework";
|
|
11
|
+
var SheetPlugin = Plugin.lazy(meta, () => import("#plugin"));
|
|
12
|
+
export {
|
|
13
|
+
SheetOperationHandlerSet,
|
|
14
|
+
SheetPlugin
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=plugin.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/plugin.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\n\nimport { meta } from './meta';\n\nexport const SheetPlugin = Plugin.lazy(meta, () => import('#plugin'));\n\nexport { SheetOperationHandlerSet } from './operations';\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;AAIA,SAASA,cAAc;AAIhB,IAAMC,cAAcC,OAAOC,KAAKC,MAAM,MAAM,OAAO,SAAA,CAAA;",
|
|
6
|
+
"names": ["Plugin", "SheetPlugin", "Plugin", "lazy", "meta"]
|
|
7
|
+
}
|
|
@@ -1,45 +1,38 @@
|
|
|
1
|
-
import
|
|
2
|
-
SheetCapabilities,
|
|
3
|
-
Sheet_exports,
|
|
4
|
-
meta
|
|
5
|
-
} from "./chunk-S445OQGW.mjs";
|
|
1
|
+
import "./chunk-J5LGTIGS.mjs";
|
|
6
2
|
|
|
7
|
-
// src/capabilities/react-surface
|
|
3
|
+
// src/capabilities/react-surface.tsx
|
|
8
4
|
import * as Effect from "effect/Effect";
|
|
9
5
|
import React from "react";
|
|
10
6
|
import { Capabilities, Capability } from "@dxos/app-framework";
|
|
11
7
|
import { Surface, useCapability } from "@dxos/app-framework/ui";
|
|
8
|
+
import { AppSurface } from "@dxos/app-toolkit/ui";
|
|
12
9
|
import { Obj } from "@dxos/echo";
|
|
13
10
|
import { getSpace } from "@dxos/react-client/echo";
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import { lazy } from "react";
|
|
17
|
-
var RangeList = lazy(() => import("./RangeList-S3SHV7T6.mjs"));
|
|
18
|
-
var SheetContainer = lazy(() => import("./SheetContainer-I3NFVVDQ.mjs"));
|
|
19
|
-
|
|
20
|
-
// src/capabilities/react-surface/react-surface.tsx
|
|
11
|
+
import { RangeList, SheetContainer } from "#containers";
|
|
12
|
+
import { Sheet, SheetCapabilities } from "#types";
|
|
21
13
|
var react_surface_default = Capability.makeModule(() => Effect.succeed(Capability.contributes(Capabilities.ReactSurface, [
|
|
22
14
|
Surface.create({
|
|
23
|
-
id:
|
|
15
|
+
id: "sheet",
|
|
16
|
+
// TODO(wittjosiah): Split into multiple surfaces if this filter proves too strict for non-article roles.
|
|
24
17
|
role: [
|
|
25
18
|
"article",
|
|
26
19
|
"section"
|
|
27
20
|
],
|
|
28
|
-
filter: (data) => Obj.instanceOf(
|
|
21
|
+
filter: (data) => typeof data.attendableId === "string" && Obj.instanceOf(Sheet.Sheet, data.subject) && !!getSpace(data.subject),
|
|
29
22
|
component: ({ data, role }) => {
|
|
30
23
|
const computeGraphRegistry = useCapability(SheetCapabilities.ComputeGraphRegistry);
|
|
31
24
|
return /* @__PURE__ */ React.createElement(SheetContainer, {
|
|
32
25
|
role,
|
|
33
26
|
subject: data.subject,
|
|
27
|
+
attendableId: data.attendableId,
|
|
34
28
|
space: getSpace(data.subject),
|
|
35
29
|
registry: computeGraphRegistry
|
|
36
30
|
});
|
|
37
31
|
}
|
|
38
32
|
}),
|
|
39
33
|
Surface.create({
|
|
40
|
-
id:
|
|
41
|
-
|
|
42
|
-
filter: (data) => Obj.instanceOf(Sheet_exports.Sheet, data.subject),
|
|
34
|
+
id: "object-properties",
|
|
35
|
+
filter: AppSurface.object(AppSurface.ObjectProperties, Sheet.Sheet),
|
|
43
36
|
component: ({ data }) => /* @__PURE__ */ React.createElement(RangeList, {
|
|
44
37
|
sheet: data.subject
|
|
45
38
|
})
|
|
@@ -48,4 +41,4 @@ var react_surface_default = Capability.makeModule(() => Effect.succeed(Capabilit
|
|
|
48
41
|
export {
|
|
49
42
|
react_surface_default as default
|
|
50
43
|
};
|
|
51
|
-
//# sourceMappingURL=react-surface-
|
|
44
|
+
//# sourceMappingURL=react-surface-ID4JCAFR.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/react-surface.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport React from 'react';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { Surface, useCapability } from '@dxos/app-framework/ui';\nimport { AppSurface } from '@dxos/app-toolkit/ui';\nimport { Obj } from '@dxos/echo';\nimport { getSpace } from '@dxos/react-client/echo';\n\nimport { RangeList, SheetContainer } from '#containers';\nimport { Sheet, SheetCapabilities } from '#types';\n\nexport default Capability.makeModule(() =>\n Effect.succeed(\n Capability.contributes(Capabilities.ReactSurface, [\n Surface.create({\n id: 'sheet',\n // TODO(wittjosiah): Split into multiple surfaces if this filter proves too strict for non-article roles.\n role: ['article', 'section'],\n filter: (data): data is { attendableId: string; subject: Sheet.Sheet } =>\n typeof data.attendableId === 'string' &&\n Obj.instanceOf(Sheet.Sheet, data.subject) &&\n !!getSpace(data.subject),\n component: ({ data, role }) => {\n const computeGraphRegistry = useCapability(SheetCapabilities.ComputeGraphRegistry);\n\n return (\n <SheetContainer\n role={role}\n subject={data.subject}\n attendableId={data.attendableId}\n space={getSpace(data.subject)!}\n registry={computeGraphRegistry}\n />\n );\n },\n }),\n Surface.create({\n id: 'object-properties',\n filter: AppSurface.object(AppSurface.ObjectProperties, Sheet.Sheet),\n component: ({ data }) => <RangeList sheet={data.subject} />,\n }),\n ]),\n ),\n);\n"],
|
|
5
|
+
"mappings": ";;;AAIA,YAAYA,YAAY;AACxB,OAAOC,WAAW;AAElB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,SAASC,qBAAqB;AACvC,SAASC,kBAAkB;AAC3B,SAASC,WAAW;AACpB,SAASC,gBAAgB;AAEzB,SAASC,WAAWC,sBAAsB;AAC1C,SAASC,OAAOC,yBAAyB;AAEzC,IAAA,wBAAeT,WAAWU,WAAW,MAC5BC,eACLX,WAAWY,YAAYb,aAAac,cAAc;EAChDZ,QAAQa,OAAO;IACbC,IAAI;;IAEJC,MAAM;MAAC;MAAW;;IAClBC,QAAQ,CAACC,SACP,OAAOA,KAAKC,iBAAiB,YAC7Bf,IAAIgB,WAAWZ,MAAMA,OAAOU,KAAKG,OAAO,KACxC,CAAC,CAAChB,SAASa,KAAKG,OAAO;IACzBC,WAAW,CAAC,EAAEJ,MAAMF,KAAI,MAAE;AACxB,YAAMO,uBAAuBrB,cAAcO,kBAAkBe,oBAAoB;AAEjF,aACE,sBAAA,cAACjB,gBAAAA;QACCS;QACAK,SAASH,KAAKG;QACdF,cAAcD,KAAKC;QACnBM,OAAOpB,SAASa,KAAKG,OAAO;QAC5BK,UAAUH;;IAGhB;EACF,CAAA;EACAtB,QAAQa,OAAO;IACbC,IAAI;IACJE,QAAQd,WAAWwB,OAAOxB,WAAWyB,kBAAkBpB,MAAMA,KAAK;IAClEc,WAAW,CAAC,EAAEJ,KAAI,MAAO,sBAAA,cAACZ,WAAAA;MAAUuB,OAAOX,KAAKG;;EAClD,CAAA;CACD,CAAA,CAAA;",
|
|
6
|
+
"names": ["Effect", "React", "Capabilities", "Capability", "Surface", "useCapability", "AppSurface", "Obj", "getSpace", "RangeList", "SheetContainer", "Sheet", "SheetCapabilities", "makeModule", "succeed", "contributes", "ReactSurface", "create", "id", "role", "filter", "data", "attendableId", "instanceOf", "subject", "component", "computeGraphRegistry", "ComputeGraphRegistry", "space", "registry", "object", "ObjectProperties", "sheet"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SheetOperation_exports
|
|
3
|
+
} from "./chunk-KC2SMDNF.mjs";
|
|
4
|
+
import "./chunk-J5LGTIGS.mjs";
|
|
5
|
+
|
|
6
|
+
// src/operations/restore-axis.ts
|
|
7
|
+
import * as Effect from "effect/Effect";
|
|
8
|
+
import { Operation } from "@dxos/compute";
|
|
9
|
+
var handler = SheetOperation_exports.RestoreAxis.pipe(Operation.withHandler(({ model, axis, ...restoreData }) => Effect.sync(() => {
|
|
10
|
+
model[axis === "col" ? "restoreColumn" : "restoreRow"](restoreData);
|
|
11
|
+
})));
|
|
12
|
+
var restore_axis_default = handler;
|
|
13
|
+
export {
|
|
14
|
+
restore_axis_default as default
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=restore-axis-44DM6N54.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/operations/restore-axis.ts"],
|
|
4
|
+
"sourcesContent": ["//\n\nimport * as Effect from 'effect/Effect';\n// Copyright 2025 DXOS.org\n//\n\nimport { Operation } from '@dxos/compute';\n\nimport { SheetOperation } from '../types';\n\nconst handler: Operation.WithHandler<typeof SheetOperation.RestoreAxis> = SheetOperation.RestoreAxis.pipe(\n Operation.withHandler(({ model, axis, ...restoreData }) =>\n Effect.sync(() => {\n model[axis === 'col' ? 'restoreColumn' : 'restoreRow'](restoreData);\n }),\n ),\n);\n\nexport default handler;\n"],
|
|
5
|
+
"mappings": ";;;;;;AAEA,YAAYA,YAAY;AAIxB,SAASC,iBAAiB;AAI1B,IAAMC,UAAoEC,uBAAeC,YAAYC,KACnGC,UAAUC,YAAY,CAAC,EAAEC,OAAOC,MAAM,GAAGC,YAAAA,MAChCC,YAAK,MAAA;AACVH,QAAMC,SAAS,QAAQ,kBAAkB,YAAA,EAAcC,WAAAA;AACzD,CAAA,CAAA,CAAA;AAIJ,IAAA,uBAAeR;",
|
|
6
|
+
"names": ["Effect", "Operation", "handler", "SheetOperation", "RestoreAxis", "pipe", "Operation", "withHandler", "model", "axis", "restoreData", "sync"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SheetCapabilities_exports,
|
|
3
|
+
SheetOperation_exports
|
|
4
|
+
} from "./chunk-KC2SMDNF.mjs";
|
|
5
|
+
import {
|
|
6
|
+
parseThreadAnchorAsCellRange
|
|
7
|
+
} from "./chunk-4GWJDLTH.mjs";
|
|
8
|
+
import "./chunk-J5LGTIGS.mjs";
|
|
9
|
+
|
|
10
|
+
// src/operations/scroll-to-anchor.ts
|
|
11
|
+
import * as Effect from "effect/Effect";
|
|
12
|
+
import { Capability } from "@dxos/app-framework";
|
|
13
|
+
import { Operation } from "@dxos/compute";
|
|
14
|
+
var handler = SheetOperation_exports.ScrollToAnchor.pipe(Operation.withHandler(Effect.fnUntraced(function* ({ subject, cursor, ref }) {
|
|
15
|
+
const gridInstances = yield* Capability.get(SheetCapabilities_exports.GridInstances);
|
|
16
|
+
const entry = gridInstances.get(subject);
|
|
17
|
+
if (!entry) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
entry.setActiveRefs(ref);
|
|
21
|
+
const range = parseThreadAnchorAsCellRange(cursor);
|
|
22
|
+
if (range) {
|
|
23
|
+
entry.grid.setFocus({
|
|
24
|
+
...range.to,
|
|
25
|
+
plane: "grid"
|
|
26
|
+
}, true);
|
|
27
|
+
}
|
|
28
|
+
})));
|
|
29
|
+
var scroll_to_anchor_default = handler;
|
|
30
|
+
export {
|
|
31
|
+
scroll_to_anchor_default as default
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=scroll-to-anchor-WHX3HJC7.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/operations/scroll-to-anchor.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capability } from '@dxos/app-framework';\nimport { Operation } from '@dxos/compute';\n\nimport { parseThreadAnchorAsCellRange } from '../integrations/thread-ranges';\nimport { SheetCapabilities, SheetOperation } from '../types';\n\nconst handler: Operation.WithHandler<typeof SheetOperation.ScrollToAnchor> = SheetOperation.ScrollToAnchor.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* ({ subject, cursor, ref }) {\n const gridInstances = yield* Capability.get(SheetCapabilities.GridInstances);\n const entry = gridInstances.get(subject);\n if (!entry) {\n return;\n }\n entry.setActiveRefs(ref);\n const range = parseThreadAnchorAsCellRange(cursor);\n if (range) {\n entry.grid.setFocus({ ...range.to, plane: 'grid' }, true);\n }\n }),\n ),\n);\n\nexport default handler;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,kBAAkB;AAC3B,SAASC,iBAAiB;AAK1B,IAAMC,UAAuEC,uBAAeC,eAAeC,KACzGC,UAAUC,YACDC,kBAAW,WAAW,EAAEC,SAASC,QAAQC,IAAG,GAAE;AACnD,QAAMC,gBAAgB,OAAOC,WAAWC,IAAIC,0BAAkBC,aAAa;AAC3E,QAAMC,QAAQL,cAAcE,IAAIL,OAAAA;AAChC,MAAI,CAACQ,OAAO;AACV;EACF;AACAA,QAAMC,cAAcP,GAAAA;AACpB,QAAMQ,QAAQC,6BAA6BV,MAAAA;AAC3C,MAAIS,OAAO;AACTF,UAAMI,KAAKC,SAAS;MAAE,GAAGH,MAAMI;MAAIC,OAAO;IAAO,GAAG,IAAA;EACtD;AACF,CAAA,CAAA,CAAA;AAIJ,IAAA,2BAAetB;",
|
|
6
|
+
"names": ["Effect", "Capability", "Operation", "handler", "SheetOperation", "ScrollToAnchor", "pipe", "Operation", "withHandler", "fnUntraced", "subject", "cursor", "ref", "gridInstances", "Capability", "get", "SheetCapabilities", "GridInstances", "entry", "setActiveRefs", "range", "parseThreadAnchorAsCellRange", "grid", "setFocus", "to", "plane"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import "./chunk-J5LGTIGS.mjs";
|
|
2
|
+
|
|
3
|
+
// src/capabilities/state.ts
|
|
4
|
+
import * as Effect from "effect/Effect";
|
|
5
|
+
import { Capability } from "@dxos/app-framework";
|
|
6
|
+
import { SheetCapabilities } from "#types";
|
|
7
|
+
var createGridRegistry = () => {
|
|
8
|
+
const grids = /* @__PURE__ */ new Map();
|
|
9
|
+
return {
|
|
10
|
+
register: (attendableId, grid, setActiveRefs) => {
|
|
11
|
+
grids.set(attendableId, {
|
|
12
|
+
grid,
|
|
13
|
+
setActiveRefs
|
|
14
|
+
});
|
|
15
|
+
},
|
|
16
|
+
unregister: (attendableId) => {
|
|
17
|
+
grids.delete(attendableId);
|
|
18
|
+
},
|
|
19
|
+
get: (attendableId) => grids.get(attendableId)
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
var state_default = Capability.makeModule(Effect.fnUntraced(function* () {
|
|
23
|
+
const gridInstances = createGridRegistry();
|
|
24
|
+
return Capability.contributes(SheetCapabilities.GridInstances, gridInstances);
|
|
25
|
+
}));
|
|
26
|
+
export {
|
|
27
|
+
state_default as default
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=state-HPA27MX2.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/state.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capability } from '@dxos/app-framework';\n\nimport { SheetCapabilities } from '#types';\n\nconst createGridRegistry = (): SheetCapabilities.GridRegistry => {\n const grids = new Map<string, SheetCapabilities.GridEntry>();\n return {\n register: (attendableId, grid, setActiveRefs) => {\n grids.set(attendableId, { grid, setActiveRefs });\n },\n unregister: (attendableId) => {\n grids.delete(attendableId);\n },\n get: (attendableId) => grids.get(attendableId),\n };\n};\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n const gridInstances = createGridRegistry();\n return Capability.contributes(SheetCapabilities.GridInstances, gridInstances);\n }),\n);\n"],
|
|
5
|
+
"mappings": ";;;AAIA,YAAYA,YAAY;AAExB,SAASC,kBAAkB;AAE3B,SAASC,yBAAyB;AAElC,IAAMC,qBAAqB,MAAA;AACzB,QAAMC,QAAQ,oBAAIC,IAAAA;AAClB,SAAO;IACLC,UAAU,CAACC,cAAcC,MAAMC,kBAAAA;AAC7BL,YAAMM,IAAIH,cAAc;QAAEC;QAAMC;MAAc,CAAA;IAChD;IACAE,YAAY,CAACJ,iBAAAA;AACXH,YAAMQ,OAAOL,YAAAA;IACf;IACAM,KAAK,CAACN,iBAAiBH,MAAMS,IAAIN,YAAAA;EACnC;AACF;AAEA,IAAA,gBAAeN,WAAWa,WACjBC,kBAAW,aAAA;AAChB,QAAMC,gBAAgBb,mBAAAA;AACtB,SAAOF,WAAWgB,YAAYf,kBAAkBgB,eAAeF,aAAAA;AACjE,CAAA,CAAA;",
|
|
6
|
+
"names": ["Effect", "Capability", "SheetCapabilities", "createGridRegistry", "grids", "Map", "register", "attendableId", "grid", "setActiveRefs", "set", "unregister", "delete", "get", "makeModule", "fnUntraced", "gridInstances", "contributes", "GridInstances"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import "../chunk-J5LGTIGS.mjs";
|
|
2
|
+
|
|
3
|
+
// src/testing/data.ts
|
|
4
|
+
var createTestCells = (testSheetName = "test") => ({
|
|
5
|
+
B1: {
|
|
6
|
+
value: "Qty2"
|
|
7
|
+
},
|
|
8
|
+
B3: {
|
|
9
|
+
value: 1
|
|
10
|
+
},
|
|
11
|
+
B4: {
|
|
12
|
+
value: 2
|
|
13
|
+
},
|
|
14
|
+
B5: {
|
|
15
|
+
value: 3
|
|
16
|
+
},
|
|
17
|
+
B7: {
|
|
18
|
+
value: "Total"
|
|
19
|
+
},
|
|
20
|
+
C1: {
|
|
21
|
+
value: "Price"
|
|
22
|
+
},
|
|
23
|
+
C3: {
|
|
24
|
+
value: 2e3
|
|
25
|
+
},
|
|
26
|
+
C4: {
|
|
27
|
+
value: 2500
|
|
28
|
+
},
|
|
29
|
+
C5: {
|
|
30
|
+
value: 3e3
|
|
31
|
+
},
|
|
32
|
+
C7: {
|
|
33
|
+
value: "=SUMPRODUCT(B2:B6, C2:C6)"
|
|
34
|
+
},
|
|
35
|
+
// C8: { value: '=C7*CRYPTO(D7)' },
|
|
36
|
+
C8: {
|
|
37
|
+
value: "=C7*TEST()"
|
|
38
|
+
},
|
|
39
|
+
D7: {
|
|
40
|
+
value: "USD"
|
|
41
|
+
},
|
|
42
|
+
D8: {
|
|
43
|
+
value: "BTC"
|
|
44
|
+
},
|
|
45
|
+
E3: {
|
|
46
|
+
value: "=TODAY()"
|
|
47
|
+
},
|
|
48
|
+
E4: {
|
|
49
|
+
value: "=NOW()"
|
|
50
|
+
},
|
|
51
|
+
F1: {
|
|
52
|
+
value: `=${testSheetName}!A1`
|
|
53
|
+
},
|
|
54
|
+
F3: {
|
|
55
|
+
value: true
|
|
56
|
+
},
|
|
57
|
+
F4: {
|
|
58
|
+
value: false
|
|
59
|
+
},
|
|
60
|
+
F5: {
|
|
61
|
+
value: "8%"
|
|
62
|
+
},
|
|
63
|
+
F6: {
|
|
64
|
+
value: "$10000"
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
// src/testing/testing.tsx
|
|
69
|
+
import React, { useState } from "react";
|
|
70
|
+
import { ComputeGraphRegistry } from "@dxos/compute-hyperformula";
|
|
71
|
+
import { createMockedComputeRuntimeProvider } from "@dxos/compute-hyperformula/testing";
|
|
72
|
+
import { useAsyncState } from "@dxos/react-hooks";
|
|
73
|
+
import { ComputeGraphContextProvider } from "#components";
|
|
74
|
+
import { Sheet } from "#types";
|
|
75
|
+
var useTestSheet = (space, graph, options) => {
|
|
76
|
+
const [sheet] = useAsyncState(async () => {
|
|
77
|
+
if (!space || !graph) {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
const sheet2 = Sheet.make(options);
|
|
81
|
+
space.db.add(sheet2);
|
|
82
|
+
return sheet2;
|
|
83
|
+
}, [
|
|
84
|
+
space,
|
|
85
|
+
graph
|
|
86
|
+
]);
|
|
87
|
+
return sheet;
|
|
88
|
+
};
|
|
89
|
+
var withComputeGraphDecorator = (options) => (Story) => {
|
|
90
|
+
const [registry] = useState(new ComputeGraphRegistry({
|
|
91
|
+
...options,
|
|
92
|
+
computeRuntime: options?.computeRuntime ?? createMockedComputeRuntimeProvider()
|
|
93
|
+
}));
|
|
94
|
+
return /* @__PURE__ */ React.createElement(ComputeGraphContextProvider, {
|
|
95
|
+
registry
|
|
96
|
+
}, /* @__PURE__ */ React.createElement(Story, null));
|
|
97
|
+
};
|
|
98
|
+
export {
|
|
99
|
+
createTestCells,
|
|
100
|
+
useTestSheet,
|
|
101
|
+
withComputeGraphDecorator
|
|
102
|
+
};
|
|
103
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/testing/data.ts", "../../../../src/testing/testing.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport type { Sheet } from '#types';\n\nexport const createTestCells = (testSheetName = 'test'): Record<string, Sheet.CellValue> => ({\n B1: { value: 'Qty2' },\n B3: { value: 1 },\n B4: { value: 2 },\n B5: { value: 3 },\n B7: { value: 'Total' },\n\n C1: { value: 'Price' },\n C3: { value: 2_000 },\n C4: { value: 2_500 },\n C5: { value: 3_000 },\n C7: { value: '=SUMPRODUCT(B2:B6, C2:C6)' },\n // C8: { value: '=C7*CRYPTO(D7)' },\n C8: { value: '=C7*TEST()' },\n\n D7: { value: 'USD' },\n D8: { value: 'BTC' },\n\n E3: { value: '=TODAY()' },\n E4: { value: '=NOW()' },\n\n F1: { value: `=${testSheetName}!A1` }, // Ref test sheet.\n F3: { value: true },\n F4: { value: false },\n F5: { value: '8%' },\n F6: { value: '$10000' },\n});\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport { type Decorator } from '@storybook/react';\nimport React, { useState } from 'react';\n\nimport { type ComputeGraph, type ComputeGraphOptions, ComputeGraphRegistry } from '@dxos/compute-hyperformula';\nimport { createMockedComputeRuntimeProvider } from '@dxos/compute-hyperformula/testing';\nimport { type Space } from '@dxos/react-client/echo';\nimport { useAsyncState } from '@dxos/react-hooks';\n\nimport { ComputeGraphContextProvider } from '#components';\nimport { Sheet } from '#types';\n\nexport const useTestSheet = (space?: Space, graph?: ComputeGraph, options?: Sheet.SheetProps) => {\n const [sheet] = useAsyncState(async () => {\n if (!space || !graph) {\n return;\n }\n\n const sheet = Sheet.make(options);\n space.db.add(sheet);\n return sheet;\n }, [space, graph]);\n return sheet;\n};\n\nexport const withComputeGraphDecorator =\n (options?: Partial<ComputeGraphOptions>): Decorator =>\n (Story) => {\n const [registry] = useState(\n new ComputeGraphRegistry({\n ...options,\n computeRuntime: options?.computeRuntime ?? createMockedComputeRuntimeProvider(),\n }),\n );\n return (\n <ComputeGraphContextProvider registry={registry}>\n <Story />\n </ComputeGraphContextProvider>\n );\n };\n"],
|
|
5
|
+
"mappings": ";;;AAMO,IAAMA,kBAAkB,CAACC,gBAAgB,YAA6C;EAC3FC,IAAI;IAAEC,OAAO;EAAO;EACpBC,IAAI;IAAED,OAAO;EAAE;EACfE,IAAI;IAAEF,OAAO;EAAE;EACfG,IAAI;IAAEH,OAAO;EAAE;EACfI,IAAI;IAAEJ,OAAO;EAAQ;EAErBK,IAAI;IAAEL,OAAO;EAAQ;EACrBM,IAAI;IAAEN,OAAO;EAAM;EACnBO,IAAI;IAAEP,OAAO;EAAM;EACnBQ,IAAI;IAAER,OAAO;EAAM;EACnBS,IAAI;IAAET,OAAO;EAA4B;;EAEzCU,IAAI;IAAEV,OAAO;EAAa;EAE1BW,IAAI;IAAEX,OAAO;EAAM;EACnBY,IAAI;IAAEZ,OAAO;EAAM;EAEnBa,IAAI;IAAEb,OAAO;EAAW;EACxBc,IAAI;IAAEd,OAAO;EAAS;EAEtBe,IAAI;IAAEf,OAAO,IAAIF,aAAAA;EAAmB;EACpCkB,IAAI;IAAEhB,OAAO;EAAK;EAClBiB,IAAI;IAAEjB,OAAO;EAAM;EACnBkB,IAAI;IAAElB,OAAO;EAAK;EAClBmB,IAAI;IAAEnB,OAAO;EAAS;AACxB;;;AC3BA,OAAOoB,SAASC,gBAAgB;AAEhC,SAAsDC,4BAA4B;AAClF,SAASC,0CAA0C;AAEnD,SAASC,qBAAqB;AAE9B,SAASC,mCAAmC;AAC5C,SAASC,aAAa;AAEf,IAAMC,eAAe,CAACC,OAAeC,OAAsBC,YAAAA;AAChE,QAAM,CAACC,KAAAA,IAASP,cAAc,YAAA;AAC5B,QAAI,CAACI,SAAS,CAACC,OAAO;AACpB;IACF;AAEA,UAAME,SAAQL,MAAMM,KAAKF,OAAAA;AACzBF,UAAMK,GAAGC,IAAIH,MAAAA;AACb,WAAOA;EACT,GAAG;IAACH;IAAOC;GAAM;AACjB,SAAOE;AACT;AAEO,IAAMI,4BACX,CAACL,YACD,CAACM,UAAAA;AACC,QAAM,CAACC,QAAAA,IAAYhB,SACjB,IAAIC,qBAAqB;IACvB,GAAGQ;IACHQ,gBAAgBR,SAASQ,kBAAkBf,mCAAAA;EAC7C,CAAA,CAAA;AAEF,SACE,sBAAA,cAACE,6BAAAA;IAA4BY;KAC3B,sBAAA,cAACD,OAAAA,IAAAA,CAAAA;AAGP;",
|
|
6
|
+
"names": ["createTestCells", "testSheetName", "B1", "value", "B3", "B4", "B5", "B7", "C1", "C3", "C4", "C5", "C7", "C8", "D7", "D8", "E3", "E4", "F1", "F3", "F4", "F5", "F6", "React", "useState", "ComputeGraphRegistry", "createMockedComputeRuntimeProvider", "useAsyncState", "ComputeGraphContextProvider", "Sheet", "useTestSheet", "space", "graph", "options", "sheet", "make", "db", "add", "withComputeGraphDecorator", "Story", "registry", "computeRuntime"]
|
|
7
|
+
}
|