@dxos/plugin-sheet 0.8.4-main.c1de068 → 0.8.4-main.c85a9c8dae
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 +53 -0
- package/dist/lib/browser/RangeList-S3SHV7T6.mjs.map +7 -0
- package/dist/lib/browser/SheetContainer-I3NFVVDQ.mjs +1805 -0
- package/dist/lib/browser/SheetContainer-I3NFVVDQ.mjs.map +7 -0
- package/dist/lib/browser/anchor-sort-DZ3IHHJJ.mjs +24 -0
- package/dist/lib/browser/anchor-sort-DZ3IHHJJ.mjs.map +7 -0
- package/dist/lib/browser/{chunk-7HQX4NQP.mjs → chunk-NNWF7EKC.mjs} +14 -14
- package/dist/lib/browser/chunk-NNWF7EKC.mjs.map +7 -0
- package/dist/lib/browser/chunk-S445OQGW.mjs +397 -0
- package/dist/lib/browser/chunk-S445OQGW.mjs.map +7 -0
- package/dist/lib/browser/compute-graph-registry-W6HO2G3P.mjs +21 -0
- package/dist/lib/browser/compute-graph-registry-W6HO2G3P.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +72 -82
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/markdown-S6GVLHB4.mjs +29 -0
- package/dist/lib/browser/markdown-S6GVLHB4.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/operation-resolver-Z4X4UWNR.mjs +79 -0
- package/dist/lib/browser/operation-resolver-Z4X4UWNR.mjs.map +7 -0
- package/dist/lib/browser/react-surface-KIU6DGKW.mjs +51 -0
- package/dist/lib/browser/react-surface-KIU6DGKW.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +7 -12
- package/dist/lib/node-esm/RangeList-IB23OJK2.mjs +54 -0
- package/dist/lib/node-esm/RangeList-IB23OJK2.mjs.map +7 -0
- package/dist/lib/node-esm/SheetContainer-KUXNCSFP.mjs +1806 -0
- package/dist/lib/node-esm/SheetContainer-KUXNCSFP.mjs.map +7 -0
- package/dist/lib/node-esm/anchor-sort-24OXMOSX.mjs +25 -0
- package/dist/lib/node-esm/anchor-sort-24OXMOSX.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-Q6UYC4G5.mjs → chunk-M52YLLWU.mjs} +14 -14
- package/dist/lib/node-esm/chunk-M52YLLWU.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-NKZ3O4OR.mjs +398 -0
- package/dist/lib/node-esm/chunk-NKZ3O4OR.mjs.map +7 -0
- package/dist/lib/node-esm/compute-graph-registry-2C3Y2RPQ.mjs +22 -0
- package/dist/lib/node-esm/compute-graph-registry-2C3Y2RPQ.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +72 -82
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/markdown-YT5KJTQT.mjs +30 -0
- package/dist/lib/node-esm/markdown-YT5KJTQT.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/operation-resolver-7VD2YXSQ.mjs +80 -0
- package/dist/lib/node-esm/operation-resolver-7VD2YXSQ.mjs.map +7 -0
- package/dist/lib/node-esm/react-surface-7FZAE3S7.mjs +52 -0
- package/dist/lib/node-esm/react-surface-7FZAE3S7.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +7 -12
- package/dist/types/src/SheetPlugin.d.ts +2 -1
- package/dist/types/src/SheetPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/anchor-sort/anchor-sort.d.ts +6 -0
- package/dist/types/src/capabilities/anchor-sort/anchor-sort.d.ts.map +1 -0
- package/dist/types/src/capabilities/anchor-sort/index.d.ts +3 -0
- package/dist/types/src/capabilities/anchor-sort/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/compute-graph-registry/compute-graph-registry.d.ts +5 -0
- package/dist/types/src/capabilities/compute-graph-registry/compute-graph-registry.d.ts.map +1 -0
- package/dist/types/src/capabilities/compute-graph-registry/index.d.ts +3 -0
- package/dist/types/src/capabilities/compute-graph-registry/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +5 -11
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/markdown/index.d.ts +3 -0
- package/dist/types/src/capabilities/markdown/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/markdown/markdown.d.ts +5 -0
- package/dist/types/src/capabilities/markdown/markdown.d.ts.map +1 -0
- package/dist/types/src/capabilities/operation-resolver/index.d.ts +3 -0
- package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +5 -0
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface/index.d.ts +3 -0
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts +5 -0
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -0
- package/dist/types/src/components/ComputeGraph/ComputeGraphContextProvider.d.ts.map +1 -1
- package/dist/types/src/components/ComputeGraph/compute-graph.stories.d.ts +9 -4
- package/dist/types/src/components/ComputeGraph/compute-graph.stories.d.ts.map +1 -1
- package/dist/types/src/components/Sheet/Sheet.d.ts +11 -0
- package/dist/types/src/components/Sheet/Sheet.d.ts.map +1 -0
- package/dist/types/src/components/Sheet/index.d.ts +2 -0
- package/dist/types/src/components/Sheet/index.d.ts.map +1 -0
- package/dist/types/src/components/SheetContent/SheetCellEditor.stories.d.ts +16 -0
- package/dist/types/src/components/SheetContent/SheetCellEditor.stories.d.ts.map +1 -0
- package/dist/types/src/components/SheetContent/SheetContent.d.ts +5 -0
- package/dist/types/src/components/SheetContent/SheetContent.d.ts.map +1 -0
- package/dist/types/src/components/SheetContent/SheetContent.stories.d.ts +55 -0
- package/dist/types/src/components/SheetContent/SheetContent.stories.d.ts.map +1 -0
- package/dist/types/src/components/SheetContent/index.d.ts +2 -0
- package/dist/types/src/components/SheetContent/index.d.ts.map +1 -0
- package/dist/types/src/components/{GridSheet → SheetContent}/util.d.ts +1 -1
- package/dist/types/src/components/SheetContent/util.d.ts.map +1 -0
- package/dist/types/src/components/{SheetContext/SheetContext.d.ts → SheetRoot/SheetRoot.d.ts} +7 -7
- package/dist/types/src/components/SheetRoot/SheetRoot.d.ts.map +1 -0
- package/dist/types/src/components/SheetRoot/index.d.ts +2 -0
- package/dist/types/src/components/SheetRoot/index.d.ts.map +1 -0
- package/dist/types/src/components/SheetStatusbar/SheetStatusbar.d.ts +5 -0
- package/dist/types/src/components/SheetStatusbar/SheetStatusbar.d.ts.map +1 -0
- package/dist/types/src/components/SheetStatusbar/index.d.ts +2 -0
- package/dist/types/src/components/SheetStatusbar/index.d.ts.map +1 -0
- package/dist/types/src/components/SheetToolbar/SheetToolbar.d.ts +6 -4
- package/dist/types/src/components/SheetToolbar/SheetToolbar.d.ts.map +1 -1
- package/dist/types/src/components/SheetToolbar/SheetToolbar.stories.d.ts +88 -4
- package/dist/types/src/components/SheetToolbar/SheetToolbar.stories.d.ts.map +1 -1
- package/dist/types/src/components/SheetToolbar/align.d.ts +13 -20
- package/dist/types/src/components/SheetToolbar/align.d.ts.map +1 -1
- package/dist/types/src/components/SheetToolbar/style.d.ts +12 -18
- package/dist/types/src/components/SheetToolbar/style.d.ts.map +1 -1
- package/dist/types/src/components/SheetToolbar/useToolbarState.d.ts +14 -1
- package/dist/types/src/components/SheetToolbar/useToolbarState.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +1 -4
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/{components → containers}/RangeList/RangeList.d.ts +2 -2
- package/dist/types/src/containers/RangeList/RangeList.d.ts.map +1 -0
- package/dist/types/src/containers/RangeList/index.d.ts +3 -0
- package/dist/types/src/containers/RangeList/index.d.ts.map +1 -0
- package/dist/types/src/containers/SheetContainer/SheetContainer.d.ts +12 -0
- package/dist/types/src/containers/SheetContainer/SheetContainer.d.ts.map +1 -0
- package/dist/types/src/containers/SheetContainer/SheetContainer.stories.d.ts +56 -0
- package/dist/types/src/containers/SheetContainer/SheetContainer.stories.d.ts.map +1 -0
- package/dist/types/src/{components → containers}/SheetContainer/index.d.ts.map +1 -1
- package/dist/types/src/containers/index.d.ts +4 -0
- package/dist/types/src/containers/index.d.ts.map +1 -0
- 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 +10 -13
- package/dist/types/src/extensions/compute.stories.d.ts.map +1 -1
- package/dist/types/src/extensions/editor/index.d.ts +1 -1
- package/dist/types/src/extensions/editor/index.d.ts.map +1 -1
- package/dist/types/src/extensions/editor/{extension.d.ts → sheet-extension.d.ts} +1 -1
- package/dist/types/src/extensions/editor/sheet-extension.d.ts.map +1 -0
- package/dist/types/src/extensions/editor/sheet-extension.test.d.ts +2 -0
- package/dist/types/src/extensions/editor/sheet-extension.test.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +1 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/integrations/thread-ranges.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +2 -3
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/model/sheet-model.d.ts +6 -6
- package/dist/types/src/model/sheet-model.d.ts.map +1 -1
- package/dist/types/src/model/testing.d.ts +2 -2
- 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/playwright/sheet-manager.d.ts +1 -1
- package/dist/types/src/playwright/sheet-manager.d.ts.map +1 -1
- 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 +2 -2
- package/dist/types/src/testing/data.d.ts.map +1 -1
- package/dist/types/src/testing/testing.d.ts +27 -3
- package/dist/types/src/testing/testing.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +3 -2
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/Sheet.d.ts +76 -0
- package/dist/types/src/types/Sheet.d.ts.map +1 -0
- package/dist/types/src/types/capabilities.d.ts +6 -0
- package/dist/types/src/types/capabilities.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +2 -1
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/sheet-range-types.d.ts +2 -2
- package/dist/types/src/types/sheet-range-types.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +92 -75
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/dist/types/src/types/util.d.ts +10 -10
- package/dist/types/src/types/util.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +81 -72
- package/src/SheetPlugin.tsx +52 -64
- package/src/capabilities/anchor-sort/anchor-sort.ts +27 -0
- package/src/capabilities/anchor-sort/index.ts +7 -0
- package/src/capabilities/compute-graph-registry/compute-graph-registry.ts +27 -0
- package/src/capabilities/compute-graph-registry/index.ts +7 -0
- package/src/capabilities/index.ts +5 -9
- package/src/capabilities/markdown/index.ts +7 -0
- package/src/capabilities/markdown/markdown.ts +30 -0
- package/src/capabilities/operation-resolver/index.ts +7 -0
- package/src/capabilities/operation-resolver/operation-resolver.ts +77 -0
- package/src/capabilities/react-surface/index.ts +7 -0
- package/src/capabilities/react-surface/react-surface.tsx +46 -0
- package/src/components/ComputeGraph/ComputeGraphContextProvider.tsx +1 -1
- package/src/components/ComputeGraph/compute-graph.stories.tsx +22 -21
- package/src/components/Sheet/Sheet.tsx +20 -0
- package/src/components/Sheet/index.ts +5 -0
- package/src/components/SheetContent/SheetCellEditor.stories.tsx +94 -0
- package/src/components/SheetContent/SheetContent.stories.tsx +60 -0
- package/src/components/{GridSheet/GridSheet.tsx → SheetContent/SheetContent.tsx} +74 -60
- package/src/components/{RangeList → SheetContent}/index.ts +1 -1
- package/src/components/{GridSheet → SheetContent}/util.ts +20 -14
- package/src/components/{SheetContext/SheetContext.tsx → SheetRoot/SheetRoot.tsx} +43 -41
- package/src/components/{GridSheet → SheetRoot}/index.ts +1 -1
- package/src/components/{FunctionEditor/FunctionEditor.tsx → SheetStatusbar/SheetStatusbar.tsx} +10 -5
- package/src/components/{FunctionEditor → SheetStatusbar}/index.ts +1 -1
- package/src/components/SheetToolbar/SheetToolbar.stories.tsx +20 -14
- package/src/components/SheetToolbar/SheetToolbar.tsx +57 -46
- package/src/components/SheetToolbar/align.ts +49 -23
- package/src/components/SheetToolbar/style.ts +51 -21
- package/src/components/SheetToolbar/useToolbarState.ts +22 -5
- package/src/components/index.ts +1 -7
- package/src/{components → containers}/RangeList/RangeList.tsx +20 -15
- package/src/containers/RangeList/index.ts +7 -0
- package/src/containers/SheetContainer/SheetContainer.stories.tsx +94 -0
- package/src/containers/SheetContainer/SheetContainer.tsx +57 -0
- package/src/{components → containers}/SheetContainer/index.ts +1 -1
- package/src/containers/index.ts +8 -0
- package/src/extensions/compute.stories.tsx +46 -32
- package/src/extensions/compute.ts +3 -4
- package/src/extensions/editor/index.ts +1 -1
- package/src/extensions/editor/{extension.test.ts → sheet-extension.test.ts} +1 -1
- package/src/extensions/editor/{extension.ts → sheet-extension.ts} +16 -13
- package/src/index.ts +1 -1
- package/src/integrations/thread-ranges.ts +39 -49
- package/src/meta.ts +9 -7
- package/src/model/sheet-model.test.ts +5 -4
- package/src/model/sheet-model.ts +85 -53
- package/src/model/testing.ts +4 -4
- package/src/model/useSheetModel.ts +2 -2
- package/src/playwright/playwright.config.ts +1 -1
- package/src/playwright/sheet-manager.ts +1 -1
- package/src/playwright/sheet.spec.ts +3 -2
- package/src/sanity.test.ts +4 -5
- package/src/serializer.ts +4 -4
- package/src/testing/data.ts +2 -2
- package/src/testing/testing.tsx +11 -5
- package/src/translations.ts +3 -2
- package/src/types/Sheet.ts +97 -0
- package/src/types/capabilities.ts +14 -0
- package/src/types/index.ts +2 -1
- package/src/types/sheet-range-types.ts +5 -5
- package/src/types/types.ts +84 -49
- package/src/types/util.ts +14 -41
- package/dist/lib/browser/SheetContainer-KDGD4AVG.mjs +0 -351
- package/dist/lib/browser/SheetContainer-KDGD4AVG.mjs.map +0 -7
- package/dist/lib/browser/anchor-sort-VHURGBOY.mjs +0 -24
- package/dist/lib/browser/anchor-sort-VHURGBOY.mjs.map +0 -7
- package/dist/lib/browser/chunk-6AKBCBL4.mjs +0 -18
- package/dist/lib/browser/chunk-6AKBCBL4.mjs.map +0 -7
- package/dist/lib/browser/chunk-7HQX4NQP.mjs.map +0 -7
- package/dist/lib/browser/chunk-JUOVL3LE.mjs +0 -847
- package/dist/lib/browser/chunk-JUOVL3LE.mjs.map +0 -7
- package/dist/lib/browser/chunk-KJWZUQVA.mjs +0 -15
- package/dist/lib/browser/chunk-KJWZUQVA.mjs.map +0 -7
- package/dist/lib/browser/chunk-SI4X5GUR.mjs +0 -892
- package/dist/lib/browser/chunk-SI4X5GUR.mjs.map +0 -7
- package/dist/lib/browser/compute-graph-registry-VG7VP7IV.mjs +0 -30
- package/dist/lib/browser/compute-graph-registry-VG7VP7IV.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-WOJGZMSV.mjs +0 -56
- package/dist/lib/browser/intent-resolver-WOJGZMSV.mjs.map +0 -7
- package/dist/lib/browser/markdown-VXMIPUQC.mjs +0 -26
- package/dist/lib/browser/markdown-VXMIPUQC.mjs.map +0 -7
- package/dist/lib/browser/react-surface-SE4HGAEH.mjs +0 -53
- package/dist/lib/browser/react-surface-SE4HGAEH.mjs.map +0 -7
- package/dist/lib/node-esm/SheetContainer-RMG24NZC.mjs +0 -352
- package/dist/lib/node-esm/SheetContainer-RMG24NZC.mjs.map +0 -7
- package/dist/lib/node-esm/anchor-sort-CTJGOPET.mjs +0 -25
- package/dist/lib/node-esm/anchor-sort-CTJGOPET.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-3K5VNYOF.mjs +0 -20
- package/dist/lib/node-esm/chunk-3K5VNYOF.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-6SK5LJ5S.mjs +0 -16
- package/dist/lib/node-esm/chunk-6SK5LJ5S.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-CADTJFAS.mjs +0 -893
- package/dist/lib/node-esm/chunk-CADTJFAS.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-IFMIRCZH.mjs +0 -848
- package/dist/lib/node-esm/chunk-IFMIRCZH.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-Q6UYC4G5.mjs.map +0 -7
- package/dist/lib/node-esm/compute-graph-registry-3K3Q2A5T.mjs +0 -31
- package/dist/lib/node-esm/compute-graph-registry-3K3Q2A5T.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-PZRXBNIJ.mjs +0 -57
- package/dist/lib/node-esm/intent-resolver-PZRXBNIJ.mjs.map +0 -7
- package/dist/lib/node-esm/markdown-4VPQJZNZ.mjs +0 -27
- package/dist/lib/node-esm/markdown-4VPQJZNZ.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-LAU23XBH.mjs +0 -54
- package/dist/lib/node-esm/react-surface-LAU23XBH.mjs.map +0 -7
- package/dist/types/src/capabilities/anchor-sort.d.ts +0 -6
- package/dist/types/src/capabilities/anchor-sort.d.ts.map +0 -1
- package/dist/types/src/capabilities/capabilities.d.ts +0 -5
- package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
- package/dist/types/src/capabilities/compute-graph-registry.d.ts +0 -4
- package/dist/types/src/capabilities/compute-graph-registry.d.ts.map +0 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/markdown.d.ts +0 -6
- package/dist/types/src/capabilities/markdown.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface.d.ts +0 -4
- package/dist/types/src/capabilities/react-surface.d.ts.map +0 -1
- package/dist/types/src/components/FunctionEditor/FunctionEditor.d.ts +0 -3
- package/dist/types/src/components/FunctionEditor/FunctionEditor.d.ts.map +0 -1
- package/dist/types/src/components/FunctionEditor/index.d.ts +0 -2
- package/dist/types/src/components/FunctionEditor/index.d.ts.map +0 -1
- package/dist/types/src/components/GridSheet/GridSheet.d.ts +0 -3
- package/dist/types/src/components/GridSheet/GridSheet.d.ts.map +0 -1
- package/dist/types/src/components/GridSheet/GridSheet.stories.d.ts +0 -7
- package/dist/types/src/components/GridSheet/GridSheet.stories.d.ts.map +0 -1
- package/dist/types/src/components/GridSheet/SheetCellEditor.stories.d.ts +0 -25
- package/dist/types/src/components/GridSheet/SheetCellEditor.stories.d.ts.map +0 -1
- package/dist/types/src/components/GridSheet/index.d.ts +0 -2
- package/dist/types/src/components/GridSheet/index.d.ts.map +0 -1
- package/dist/types/src/components/GridSheet/util.d.ts.map +0 -1
- package/dist/types/src/components/RangeList/RangeList.d.ts.map +0 -1
- package/dist/types/src/components/RangeList/index.d.ts +0 -2
- package/dist/types/src/components/RangeList/index.d.ts.map +0 -1
- package/dist/types/src/components/SheetContainer/SheetContainer.d.ts +0 -11
- package/dist/types/src/components/SheetContainer/SheetContainer.d.ts.map +0 -1
- package/dist/types/src/components/SheetContainer/SheetContainer.stories.d.ts +0 -8
- package/dist/types/src/components/SheetContainer/SheetContainer.stories.d.ts.map +0 -1
- package/dist/types/src/components/SheetContext/SheetContext.d.ts.map +0 -1
- package/dist/types/src/components/SheetContext/index.d.ts +0 -2
- package/dist/types/src/components/SheetContext/index.d.ts.map +0 -1
- package/dist/types/src/extensions/editor/extension.d.ts.map +0 -1
- package/dist/types/src/extensions/editor/extension.test.d.ts +0 -2
- package/dist/types/src/extensions/editor/extension.test.d.ts.map +0 -1
- package/dist/types/src/types/schema.d.ts +0 -37
- package/dist/types/src/types/schema.d.ts.map +0 -1
- package/src/capabilities/anchor-sort.ts +0 -22
- package/src/capabilities/capabilities.ts +0 -14
- package/src/capabilities/compute-graph-registry.ts +0 -28
- package/src/capabilities/intent-resolver.ts +0 -38
- package/src/capabilities/markdown.ts +0 -22
- package/src/capabilities/react-surface.tsx +0 -39
- package/src/components/GridSheet/GridSheet.stories.tsx +0 -53
- package/src/components/GridSheet/SheetCellEditor.stories.tsx +0 -93
- package/src/components/SheetContainer/SheetContainer.stories.tsx +0 -89
- package/src/components/SheetContainer/SheetContainer.tsx +0 -36
- package/src/components/SheetContext/index.ts +0 -5
- package/src/types/schema.ts +0 -61
- /package/dist/types/src/{components → containers}/SheetContainer/index.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/markdown/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,QAAQ,qJAA0D,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<import("@dxos/plugin-markdown").MarkdownExtensionProvider[]>>, never, Capability.Service>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=markdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/markdown/markdown.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAOjD,wBAgBE"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Capability } from '@dxos/app-framework';
|
|
2
|
+
export declare const OperationResolver: Capability.LazyCapability<void, [Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").UndoMapping[]>>, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").OperationResolver[]>>], Error>;
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/operation-resolver/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,iBAAiB,oQAA6E,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capabilities, Capability } from '@dxos/app-framework';
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<[Capability.Capability<Capability.InterfaceDef<Capabilities.UndoMapping[]>>, Capability.Capability<Capability.InterfaceDef<Capabilities.OperationResolver[]>>], never, never>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=operation-resolver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-resolver.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/operation-resolver/operation-resolver.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAe,MAAM,qBAAqB,CAAC;;AAQ5E,wBA8DE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-surface/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,YAAY,iJAAmE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capabilities, Capability } from '@dxos/app-framework';
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.ReactSurface>>, never, never>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=react-surface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-surface/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAS/D,wBA6BE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComputeGraphContextProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/ComputeGraph/ComputeGraphContextProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"ComputeGraphContextProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/ComputeGraph/ComputeGraphContextProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAA6B,MAAM,OAAO,CAAC;AAEjF,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAE7E,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAGrD,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,oBAAoB,CAAC;CAChC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,oDAAgE,CAAC;AAEjG,eAAO,MAAM,2BAA2B,GAAI,wBAAwB,iBAAiB,CAAC,uBAAuB,CAAC,sBAE7G,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,QAAQ,KAAK,KAAG,YAAY,GAAG,SAW9D,CAAC"}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
import '@
|
|
2
|
-
import
|
|
3
|
-
export declare const Default:
|
|
4
|
-
declare const meta:
|
|
1
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export declare const Default: Story;
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
render: () => React.JSX.Element;
|
|
7
|
+
decorators: import("@storybook/react").Decorator[];
|
|
8
|
+
};
|
|
5
9
|
export default meta;
|
|
10
|
+
type Story = StoryObj<typeof meta>;
|
|
6
11
|
//# sourceMappingURL=compute-graph.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compute-graph.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/ComputeGraph/compute-graph.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"compute-graph.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/ComputeGraph/compute-graph.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAsC,MAAM,OAAO,CAAC;AA8E3D,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,QAAA,MAAM,IAAI;;;;CAQ2B,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { useSheetContext, type SheetContextValue, type SheetRootProps } from '../SheetRoot';
|
|
2
|
+
export { type SheetContentProps } from '../SheetContent';
|
|
3
|
+
export { type SheetToolbarProps } from '../SheetToolbar';
|
|
4
|
+
export { type SheetStatusbarProps } from '../SheetStatusbar';
|
|
5
|
+
export declare const Sheet: {
|
|
6
|
+
Root: ({ children, graph, sheet, readonly, ignoreAttention, onInfo, }: import("react").PropsWithChildren<import("./Sheet").SheetRootProps>) => import("react").JSX.Element | null;
|
|
7
|
+
Toolbar: ({ id, ...props }: import("./Sheet").SheetToolbarProps) => import("react").JSX.Element;
|
|
8
|
+
Content: (props: import("./Sheet").SheetContentProps) => import("react").JSX.Element;
|
|
9
|
+
Statusbar: (props: import("./Sheet").SheetStatusbarProps) => import("react").JSX.Element;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=Sheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sheet/Sheet.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,eAAe,EAAE,KAAK,iBAAiB,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAC5F,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,eAAO,MAAM,KAAK;;;;;CAKjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sheet/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { type CellEditorProps } from '@dxos/react-ui-grid';
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
decorators: import("@storybook/react").Decorator[];
|
|
7
|
+
component: ({ value, extensions, box, gridId, autoFocus, slots, onBlur }: CellEditorProps) => React.JSX.Element;
|
|
8
|
+
render: ({ value, ...props }: CellEditorProps) => React.JSX.Element;
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const Default: Story;
|
|
13
|
+
export declare const AutoComplete: Story;
|
|
14
|
+
export declare const Formatting: Story;
|
|
15
|
+
export declare const Automerge: Story;
|
|
16
|
+
//# sourceMappingURL=SheetCellEditor.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SheetCellEditor.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetContent/SheetCellEditor.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAA4B,MAAM,OAAO,CAAC;AASjD,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAgDvE,QAAA,MAAM,IAAI;;;;kCA1CiC,eAAe;CAgDrB,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,YAAY,EAAE,KAI1B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAIxB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAKvB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ComposableProps } from '@dxos/react-ui';
|
|
3
|
+
export type SheetContentProps = ComposableProps<React.HTMLAttributes<HTMLDivElement>>;
|
|
4
|
+
export declare const SheetContent: (props: SheetContentProps) => React.JSX.Element;
|
|
5
|
+
//# sourceMappingURL=SheetContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SheetContent.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetContent/SheetContent.tsx"],"names":[],"mappings":"AAIA,OAAO,KASN,MAAM,OAAO,CAAC;AAMf,OAAO,EAAE,KAAK,eAAe,EAAsC,MAAM,gBAAgB,CAAC;AAqD1F,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC;AAEtF,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,sBA0TpD,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Sheet } from '../../types';
|
|
3
|
+
export declare const Basic: () => React.JSX.Element | null;
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: (props: import("./SheetContent").SheetContentProps) => React.JSX.Element;
|
|
7
|
+
decorators: import("@storybook/react").Decorator[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
translations: [{
|
|
11
|
+
readonly 'en-US': {
|
|
12
|
+
readonly [Sheet.Sheet.typename]: {
|
|
13
|
+
readonly 'typename label': "Sheet";
|
|
14
|
+
readonly 'typename label_zero': "Sheets";
|
|
15
|
+
readonly 'typename label_one': "Sheet";
|
|
16
|
+
readonly 'typename label_other': "Sheets";
|
|
17
|
+
readonly 'object name placeholder': "New sheet";
|
|
18
|
+
readonly 'rename object label': "Rename sheet";
|
|
19
|
+
readonly 'delete object label': "Delete sheet";
|
|
20
|
+
readonly 'object deleted label': "Sheet deleted";
|
|
21
|
+
};
|
|
22
|
+
readonly [meta.id]: {
|
|
23
|
+
readonly 'plugin name': "Sheets";
|
|
24
|
+
readonly 'cell placeholder': "Cell value...";
|
|
25
|
+
readonly 'range key alignment label': "Align";
|
|
26
|
+
readonly 'range key style label': "Style";
|
|
27
|
+
readonly 'range value start label': "Align left";
|
|
28
|
+
readonly 'range value center label': "Align center";
|
|
29
|
+
readonly 'range value end label': "Align right";
|
|
30
|
+
readonly 'range value softwrap label': "Wrap text";
|
|
31
|
+
readonly 'range value highlight label': "Highlight";
|
|
32
|
+
readonly 'toolbar action label': "{{value}}";
|
|
33
|
+
readonly 'selection overlaps existing comment label': "Selected cell already has a comment";
|
|
34
|
+
readonly 'comment label': "Add comment";
|
|
35
|
+
readonly 'comment ranges not supported label': "Commenting on ranges is not yet supported";
|
|
36
|
+
readonly 'no cursor label': "Select a cell to comment";
|
|
37
|
+
readonly 'open comment for sheet cell': "View comments for cell";
|
|
38
|
+
readonly 'add col before label': "Add column before";
|
|
39
|
+
readonly 'add col after label': "Add column after";
|
|
40
|
+
readonly 'delete col label': "Delete column";
|
|
41
|
+
readonly 'add row before label': "Add row before";
|
|
42
|
+
readonly 'add row after label': "Add row after";
|
|
43
|
+
readonly 'delete row label': "Delete row";
|
|
44
|
+
readonly 'range list heading': "Ranges";
|
|
45
|
+
readonly 'no ranges message': "No ranges";
|
|
46
|
+
readonly 'range title': "{{position}} — {{value}}";
|
|
47
|
+
readonly 'col dropped label': "Deleted a column";
|
|
48
|
+
readonly 'row dropped label': "Deleted a row";
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}];
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
export default meta;
|
|
55
|
+
//# sourceMappingURL=SheetContent.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SheetContent.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetContent/SheetContent.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAMpC,eAAO,MAAM,KAAK,gCAejB,CAAC;AAEF,QAAA,MAAM,IAAI;;;;;;;;yBA/BP,CAAQ,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC;;;;;;;;;;yBAM8C,CAAQ,IACtF,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCiC,CAAC;AAEtC,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetContent/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type DxGridElement, type GridContentProps } from '@dxos/react-ui-grid';
|
|
2
2
|
import { type SheetModel } from '../../model';
|
|
3
3
|
export declare const rowLabelCell: (row: number) => {
|
|
4
4
|
value: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetContent/util.ts"],"names":[],"mappings":"AASA,OAAO,EAGL,KAAK,aAAa,EAIlB,KAAK,gBAAgB,EAItB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAyE9C,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM;;;;CAItC,CAAC;AAEH,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM;;;;CAItC,CAAC;AA+BH,eAAO,MAAM,wBAAwB,GACnC,QAAQ,aAAa,GAAG,IAAI,EAC5B,OAAO,UAAU,KAChB,IAAI,CAAC,gBAAgB,EAAE,SAAS,GAAG,MAAM,CAsC3C,CAAC"}
|
package/dist/types/src/components/{SheetContext/SheetContext.d.ts → SheetRoot/SheetRoot.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { type PropsWithChildren } from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type CellAddress, type CellRange, type CompleteCellRange, type ComputeGraph } from '@dxos/compute';
|
|
3
3
|
import { type GridContentProps, type GridEditing } from '@dxos/react-ui-grid';
|
|
4
4
|
import { type SheetModel } from '../../model';
|
|
5
|
-
import { type
|
|
5
|
+
import { type Sheet } from '../../types';
|
|
6
6
|
export type SheetContextValue = {
|
|
7
7
|
id: string;
|
|
8
8
|
model: SheetModel;
|
|
@@ -15,15 +15,15 @@ export type SheetContextValue = {
|
|
|
15
15
|
setEditing: (editing: GridEditing) => void;
|
|
16
16
|
activeRefs: GridContentProps['activeRefs'];
|
|
17
17
|
setActiveRefs: (activeRefs: GridContentProps['activeRefs']) => void;
|
|
18
|
-
onInfo?: () => void;
|
|
19
18
|
ignoreAttention?: boolean;
|
|
19
|
+
onInfo?: () => void;
|
|
20
20
|
};
|
|
21
21
|
export declare const useSheetContext: () => SheetContextValue;
|
|
22
|
-
export type
|
|
22
|
+
export type SheetRootProps = {
|
|
23
23
|
graph: ComputeGraph;
|
|
24
|
-
sheet:
|
|
24
|
+
sheet: Sheet.Sheet;
|
|
25
25
|
readonly?: boolean;
|
|
26
26
|
ignoreAttention?: boolean;
|
|
27
27
|
} & Pick<SheetContextValue, 'onInfo'>;
|
|
28
|
-
export declare const
|
|
29
|
-
//# sourceMappingURL=
|
|
28
|
+
export declare const SheetRoot: ({ children, graph, sheet, readonly, ignoreAttention, onInfo, }: PropsWithChildren<SheetRootProps>) => React.JSX.Element | null;
|
|
29
|
+
//# sourceMappingURL=SheetRoot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SheetRoot.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetRoot/SheetRoot.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAoD,MAAM,OAAO,CAAC;AAExG,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,SAAS,EAAE,KAAK,iBAAiB,EAAE,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAG5G,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAGjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,UAAU,EAAiB,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IAEX,KAAK,EAAE,UAAU,CAAC;IAIlB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,SAAS,EAAE,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,KAAK,IAAI,CAAC;IACnD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,KAAK,IAAI,CAAC;IACjD,mBAAmB,CAAC,EAAE,iBAAiB,CAAC;IAGxC,OAAO,EAAE,WAAW,CAAC;IACrB,UAAU,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IAG3C,UAAU,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAC;IAC3C,aAAa,EAAE,CAAC,UAAU,EAAE,gBAAgB,CAAC,YAAY,CAAC,KAAK,IAAI,CAAC;IAGpE,eAAe,CAAC,EAAE,OAAO,CAAC;IAI1B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAKF,eAAO,MAAM,eAAe,QAAO,iBAElC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,YAAY,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,GAAG,IAAI,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC;AAEtC,eAAO,MAAM,SAAS,GAAI,gEAOvB,iBAAiB,CAAC,cAAc,CAAC,6BAanC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetRoot/index.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ComposableProps } from '@dxos/react-ui';
|
|
3
|
+
export type SheetStatusbarProps = ComposableProps;
|
|
4
|
+
export declare const SheetStatusbar: (props: SheetStatusbarProps) => React.JSX.Element;
|
|
5
|
+
//# sourceMappingURL=SheetStatusbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SheetStatusbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetStatusbar/SheetStatusbar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,KAAK,eAAe,EAAQ,MAAM,gBAAgB,CAAC;AAK5D,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC;AAElD,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,sBA+BxD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetStatusbar/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React, { type PropsWithChildren } from 'react';
|
|
2
|
-
import { type
|
|
3
|
-
export type SheetToolbarProps =
|
|
2
|
+
import { type MenuRootProps } from '@dxos/react-ui-menu';
|
|
3
|
+
export type SheetToolbarProps = {
|
|
4
4
|
id: string;
|
|
5
|
-
}
|
|
6
|
-
|
|
5
|
+
} & Partial<MenuRootProps> & PropsWithChildren<{
|
|
6
|
+
id: string;
|
|
7
|
+
} & Partial<MenuRootProps>>;
|
|
8
|
+
export declare const SheetToolbar: ({ id, ...props }: SheetToolbarProps) => React.JSX.Element;
|
|
7
9
|
//# sourceMappingURL=SheetToolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SheetToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/SheetToolbar.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"SheetToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/SheetToolbar.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAuB,MAAM,OAAO,CAAC;AAI3E,OAAO,EAGL,KAAK,aAAa,EAGnB,MAAM,qBAAqB,CAAC;AA8C7B,MAAM,MAAM,iBAAiB,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,aAAa,CAAC,GACrE,iBAAiB,CAAC;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAE7D,eAAO,MAAM,YAAY,GAAI,kBAAkB,iBAAiB,sBA8B/D,CAAC"}
|
|
@@ -1,6 +1,90 @@
|
|
|
1
|
-
import '@
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: any;
|
|
6
|
+
render: () => React.JSX.Element;
|
|
7
|
+
decorators: import("@storybook/react").Decorator[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
translations: [{
|
|
11
|
+
readonly 'en-US': {
|
|
12
|
+
readonly [x: string]: {
|
|
13
|
+
readonly 'typename label': "Sheet";
|
|
14
|
+
readonly 'typename label_zero': "Sheets";
|
|
15
|
+
readonly 'typename label_one': "Sheet";
|
|
16
|
+
readonly 'typename label_other': "Sheets";
|
|
17
|
+
readonly 'object name placeholder': "New sheet";
|
|
18
|
+
readonly 'rename object label': "Rename sheet";
|
|
19
|
+
readonly 'delete object label': "Delete sheet";
|
|
20
|
+
readonly 'object deleted label': "Sheet deleted";
|
|
21
|
+
readonly 'plugin name'?: undefined;
|
|
22
|
+
readonly 'cell placeholder'?: undefined;
|
|
23
|
+
readonly 'range key alignment label'?: undefined;
|
|
24
|
+
readonly 'range key style label'?: undefined;
|
|
25
|
+
readonly 'range value start label'?: undefined;
|
|
26
|
+
readonly 'range value center label'?: undefined;
|
|
27
|
+
readonly 'range value end label'?: undefined;
|
|
28
|
+
readonly 'range value softwrap label'?: undefined;
|
|
29
|
+
readonly 'range value highlight label'?: undefined;
|
|
30
|
+
readonly 'toolbar action label'?: undefined;
|
|
31
|
+
readonly 'selection overlaps existing comment label'?: undefined;
|
|
32
|
+
readonly 'comment label'?: undefined;
|
|
33
|
+
readonly 'comment ranges not supported label'?: undefined;
|
|
34
|
+
readonly 'no cursor label'?: undefined;
|
|
35
|
+
readonly 'open comment for sheet cell'?: undefined;
|
|
36
|
+
readonly 'add col before label'?: undefined;
|
|
37
|
+
readonly 'add col after label'?: undefined;
|
|
38
|
+
readonly 'delete col label'?: undefined;
|
|
39
|
+
readonly 'add row before label'?: undefined;
|
|
40
|
+
readonly 'add row after label'?: undefined;
|
|
41
|
+
readonly 'delete row label'?: undefined;
|
|
42
|
+
readonly 'range list heading'?: undefined;
|
|
43
|
+
readonly 'no ranges message'?: undefined;
|
|
44
|
+
readonly 'range title'?: undefined;
|
|
45
|
+
readonly 'col dropped label'?: undefined;
|
|
46
|
+
readonly 'row dropped label'?: undefined;
|
|
47
|
+
} | {
|
|
48
|
+
readonly 'plugin name': "Sheets";
|
|
49
|
+
readonly 'cell placeholder': "Cell value...";
|
|
50
|
+
readonly 'range key alignment label': "Align";
|
|
51
|
+
readonly 'range key style label': "Style";
|
|
52
|
+
readonly 'range value start label': "Align left";
|
|
53
|
+
readonly 'range value center label': "Align center";
|
|
54
|
+
readonly 'range value end label': "Align right";
|
|
55
|
+
readonly 'range value softwrap label': "Wrap text";
|
|
56
|
+
readonly 'range value highlight label': "Highlight";
|
|
57
|
+
readonly 'toolbar action label': "{{value}}";
|
|
58
|
+
readonly 'selection overlaps existing comment label': "Selected cell already has a comment";
|
|
59
|
+
readonly 'comment label': "Add comment";
|
|
60
|
+
readonly 'comment ranges not supported label': "Commenting on ranges is not yet supported";
|
|
61
|
+
readonly 'no cursor label': "Select a cell to comment";
|
|
62
|
+
readonly 'open comment for sheet cell': "View comments for cell";
|
|
63
|
+
readonly 'add col before label': "Add column before";
|
|
64
|
+
readonly 'add col after label': "Add column after";
|
|
65
|
+
readonly 'delete col label': "Delete column";
|
|
66
|
+
readonly 'add row before label': "Add row before";
|
|
67
|
+
readonly 'add row after label': "Add row after";
|
|
68
|
+
readonly 'delete row label': "Delete row";
|
|
69
|
+
readonly 'range list heading': "Ranges";
|
|
70
|
+
readonly 'no ranges message': "No ranges";
|
|
71
|
+
readonly 'range title': "{{position}} — {{value}}";
|
|
72
|
+
readonly 'col dropped label': "Deleted a column";
|
|
73
|
+
readonly 'row dropped label': "Deleted a row";
|
|
74
|
+
readonly 'typename label'?: undefined;
|
|
75
|
+
readonly 'typename label_zero'?: undefined;
|
|
76
|
+
readonly 'typename label_one'?: undefined;
|
|
77
|
+
readonly 'typename label_other'?: undefined;
|
|
78
|
+
readonly 'object name placeholder'?: undefined;
|
|
79
|
+
readonly 'rename object label'?: undefined;
|
|
80
|
+
readonly 'delete object label'?: undefined;
|
|
81
|
+
readonly 'object deleted label'?: undefined;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}];
|
|
85
|
+
};
|
|
86
|
+
};
|
|
5
87
|
export default meta;
|
|
88
|
+
type Story = StoryObj<typeof meta>;
|
|
89
|
+
export declare const Default: Story;
|
|
6
90
|
//# sourceMappingURL=SheetToolbar.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SheetToolbar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/SheetToolbar.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"SheetToolbar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/SheetToolbar.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,QAAA,MAAM,IAAI;;eAEmB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOK,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { type Registry } from '@effect-atom/atom-react';
|
|
1
2
|
import { type CompleteCellRange } from '@dxos/compute';
|
|
2
|
-
import { type
|
|
3
|
-
import { type ToolbarState } from './useToolbarState';
|
|
3
|
+
import { type ActionGraphProps } from '@dxos/react-ui-menu';
|
|
4
4
|
import { type SheetModel } from '../../model';
|
|
5
|
-
import { type AlignKey,
|
|
5
|
+
import { type AlignKey, type AlignValue, alignKey } from '../../types';
|
|
6
|
+
import { type ToolbarState, type ToolbarStateAtom } from './useToolbarState';
|
|
6
7
|
export type AlignAction = {
|
|
7
8
|
key: AlignKey;
|
|
8
9
|
value: AlignValue;
|
|
@@ -10,22 +11,14 @@ export type AlignAction = {
|
|
|
10
11
|
export type AlignState = {
|
|
11
12
|
[alignKey]: AlignValue | undefined;
|
|
12
13
|
};
|
|
13
|
-
export declare const useAlignState: (
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} | {
|
|
21
|
-
id: string;
|
|
22
|
-
type: string;
|
|
23
|
-
properties: AlignAction & import("@dxos/react-ui-menu").MenuActionProperties;
|
|
24
|
-
data: () => void;
|
|
25
|
-
})[];
|
|
26
|
-
edges: {
|
|
27
|
-
source: string;
|
|
28
|
-
target: string;
|
|
29
|
-
}[];
|
|
14
|
+
export declare const useAlignState: (stateAtom: ToolbarStateAtom) => void;
|
|
15
|
+
type AlignActionsContext = {
|
|
16
|
+
model: SheetModel;
|
|
17
|
+
state: ToolbarState;
|
|
18
|
+
stateAtom: ToolbarStateAtom;
|
|
19
|
+
registry: Registry.Registry;
|
|
20
|
+
cursorFallbackRange?: CompleteCellRange;
|
|
30
21
|
};
|
|
22
|
+
export declare const createAlign: (context: AlignActionsContext) => ActionGraphProps;
|
|
23
|
+
export {};
|
|
31
24
|
//# sourceMappingURL=align.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"align.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/align.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"align.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/align.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,QAAQ,EAAmB,MAAM,yBAAyB,CAAC;AAGzE,OAAO,EAAE,KAAK,iBAAiB,EAAW,MAAM,eAAe,CAAC;AAEhE,OAAO,EACL,KAAK,gBAAgB,EAItB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,UAAU,EAAE,QAAQ,EAAgC,MAAM,aAAa,CAAC;AAGrG,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE7E,MAAM,MAAM,WAAW,GAAG;IAAE,GAAG,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,UAAU,CAAA;CAAE,CAAC;AAE/D,MAAM,MAAM,UAAU,GAAG;IAAE,CAAC,QAAQ,CAAC,EAAE,UAAU,GAAG,SAAS,CAAA;CAAE,CAAC;AAQhE,eAAO,MAAM,aAAa,GAAI,WAAW,gBAAgB,SAexD,CAAC;AAUF,KAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,YAAY,CAAC;IACpB,SAAS,EAAE,gBAAgB,CAAC;IAC5B,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAC;IAC5B,mBAAmB,CAAC,EAAE,iBAAiB,CAAC;CACzC,CAAC;AAiDF,eAAO,MAAM,WAAW,GAAI,SAAS,mBAAmB,KAAG,gBAU1D,CAAC"}
|
|
@@ -1,28 +1,22 @@
|
|
|
1
|
+
import { type Registry } from '@effect-atom/atom-react';
|
|
1
2
|
import { type CompleteCellRange } from '@dxos/compute';
|
|
2
|
-
import { type
|
|
3
|
+
import { type ActionGraphProps } from '@dxos/react-ui-menu';
|
|
3
4
|
import { type SheetModel } from '../../model';
|
|
4
5
|
import { type StyleKey, type StyleValue } from '../../types';
|
|
6
|
+
import { type ToolbarState, type ToolbarStateAtom } from './useToolbarState';
|
|
5
7
|
export type StyleState = Partial<Record<StyleValue, boolean>>;
|
|
6
8
|
export type StyleAction = {
|
|
7
9
|
key: StyleKey;
|
|
8
10
|
value: StyleValue;
|
|
9
11
|
};
|
|
10
|
-
export declare const useStyleState: (
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} | {
|
|
18
|
-
id: string;
|
|
19
|
-
type: string;
|
|
20
|
-
properties: StyleAction & import("@dxos/react-ui-menu").MenuActionProperties;
|
|
21
|
-
data: () => void;
|
|
22
|
-
})[];
|
|
23
|
-
edges: {
|
|
24
|
-
source: string;
|
|
25
|
-
target: string;
|
|
26
|
-
}[];
|
|
12
|
+
export declare const useStyleState: (stateAtom: ToolbarStateAtom) => void;
|
|
13
|
+
type StyleActionsContext = {
|
|
14
|
+
model: SheetModel;
|
|
15
|
+
state: ToolbarState;
|
|
16
|
+
stateAtom: ToolbarStateAtom;
|
|
17
|
+
registry: Registry.Registry;
|
|
18
|
+
cursorFallbackRange?: CompleteCellRange;
|
|
27
19
|
};
|
|
20
|
+
export declare const createStyle: (context: StyleActionsContext) => ActionGraphProps;
|
|
21
|
+
export {};
|
|
28
22
|
//# sourceMappingURL=style.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/style.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/style.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,QAAQ,EAAmB,MAAM,yBAAyB,CAAC;AAGzE,OAAO,EAAE,KAAK,iBAAiB,EAAW,MAAM,eAAe,CAAC;AAEhE,OAAO,EACL,KAAK,gBAAgB,EAItB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,UAAU,EAAgC,MAAM,aAAa,CAAC;AAG3F,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE7E,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC;AAE9D,MAAM,MAAM,WAAW,GAAG;IAAE,GAAG,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,UAAU,CAAA;CAAE,CAAC;AAO/D,eAAO,MAAM,aAAa,GAAI,WAAW,gBAAgB,SAwBxD,CAAC;AAYF,KAAK,mBAAmB,GAAG;IACzB,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,YAAY,CAAC;IACpB,SAAS,EAAE,gBAAgB,CAAC;IAC5B,QAAQ,EAAE,QAAQ,CAAC,QAAQ,CAAC;IAC5B,mBAAmB,CAAC,EAAE,iBAAiB,CAAC;CACzC,CAAC;AAqDF,eAAO,MAAM,WAAW,GAAI,SAAS,mBAAmB,KAAG,gBAU1D,CAAC"}
|
|
@@ -1,5 +1,18 @@
|
|
|
1
|
+
import { Atom, type Registry } from '@effect-atom/atom-react';
|
|
1
2
|
import { type AlignState } from './align';
|
|
2
3
|
import { type StyleState } from './style';
|
|
3
4
|
export type ToolbarState = Partial<StyleState & AlignState>;
|
|
4
|
-
export
|
|
5
|
+
export type ToolbarStateAtom = Atom.Writable<ToolbarState>;
|
|
6
|
+
/**
|
|
7
|
+
* Creates a reactive toolbar state Atom.
|
|
8
|
+
*/
|
|
9
|
+
export declare const useToolbarState: (initialState?: ToolbarState) => ToolbarStateAtom;
|
|
10
|
+
/**
|
|
11
|
+
* Hook to read the current toolbar state value.
|
|
12
|
+
*/
|
|
13
|
+
export declare const useToolbarStateValue: (stateAtom: ToolbarStateAtom) => ToolbarState;
|
|
14
|
+
/**
|
|
15
|
+
* Hook to get the registry for updating toolbar state.
|
|
16
|
+
*/
|
|
17
|
+
export declare const useToolbarStateRegistry: () => Registry.Registry;
|
|
5
18
|
//# sourceMappingURL=useToolbarState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useToolbarState.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/useToolbarState.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useToolbarState.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/useToolbarState.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,KAAK,QAAQ,EAAiC,MAAM,yBAAyB,CAAC;AAG7F,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,UAAU,GAAG,UAAU,CAAC,CAAC;AAC5D,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;AAE3D;;GAEG;AACH,eAAO,MAAM,eAAe,GAAI,eAAc,YAAiB,KAAG,gBAEjE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,WAAW,gBAAgB,KAAG,YAElE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,QAAO,QAAQ,CAAC,QAEnD,CAAC"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
export * from './ComputeGraph';
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './RangeList';
|
|
4
|
-
export * from './SheetContext';
|
|
5
|
-
export declare const SheetContainer: import("react").LazyExoticComponent<({ space, sheet, role, ignoreAttention }: import("./SheetContainer/SheetContainer").SheetContainerProps) => import("react").JSX.Element | null>;
|
|
2
|
+
export * from './Sheet';
|
|
6
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Sheet } from '../../types';
|
|
3
3
|
export type RangeListProps = {
|
|
4
|
-
sheet:
|
|
4
|
+
sheet: Sheet.Sheet;
|
|
5
5
|
};
|
|
6
6
|
export declare const RangeList: ({ sheet }: RangeListProps) => React.JSX.Element;
|
|
7
7
|
//# sourceMappingURL=RangeList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RangeList.d.ts","sourceRoot":"","sources":["../../../../../src/containers/RangeList/RangeList.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAU3C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,WAAW,cAAc,sBA2ClD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/RangeList/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,eAAe,SAAS,CAAC"}
|