@dxos/plugin-sheet 0.6.14-staging.8758a12 → 0.6.14-staging.9b873ce

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.
Files changed (34) hide show
  1. package/dist/lib/browser/{SheetContainer-GPJOTYCI.mjs → SheetContainer-P3NF5KEI.mjs} +10 -15
  2. package/dist/lib/browser/SheetContainer-P3NF5KEI.mjs.map +7 -0
  3. package/dist/lib/browser/{chunk-CYOQA6UK.mjs → chunk-4LKIURJA.mjs} +8 -7
  4. package/dist/lib/browser/{chunk-CYOQA6UK.mjs.map → chunk-4LKIURJA.mjs.map} +3 -3
  5. package/dist/lib/browser/index.mjs +1 -1
  6. package/dist/lib/browser/meta.json +1 -1
  7. package/dist/lib/node/{SheetContainer-VSC6XF3M.cjs → SheetContainer-MPFKXY26.cjs} +21 -26
  8. package/dist/lib/node/SheetContainer-MPFKXY26.cjs.map +7 -0
  9. package/dist/lib/node/{chunk-545PZPK3.cjs → chunk-OO24XJBV.cjs} +10 -9
  10. package/dist/lib/node/{chunk-545PZPK3.cjs.map → chunk-OO24XJBV.cjs.map} +3 -3
  11. package/dist/lib/node/index.cjs +5 -5
  12. package/dist/lib/node/meta.json +1 -1
  13. package/dist/lib/node-esm/{SheetContainer-SJK25GKT.mjs → SheetContainer-22IOAW3B.mjs} +10 -15
  14. package/dist/lib/node-esm/SheetContainer-22IOAW3B.mjs.map +7 -0
  15. package/dist/lib/node-esm/{chunk-EZ6K2W62.mjs → chunk-BW36PM2Y.mjs} +8 -7
  16. package/dist/lib/node-esm/{chunk-EZ6K2W62.mjs.map → chunk-BW36PM2Y.mjs.map} +3 -3
  17. package/dist/lib/node-esm/index.mjs +1 -1
  18. package/dist/lib/node-esm/meta.json +1 -1
  19. package/dist/types/src/components/FunctionEditor/FunctionEditor.d.ts.map +1 -1
  20. package/dist/types/src/components/GridSheet/GridSheet.d.ts.map +1 -1
  21. package/dist/types/src/components/GridSheet/util.d.ts +1 -0
  22. package/dist/types/src/components/GridSheet/util.d.ts.map +1 -1
  23. package/dist/types/src/components/SheetContainer/SheetContainer.d.ts.map +1 -1
  24. package/dist/types/src/components/Toolbar/Toolbar.d.ts.map +1 -1
  25. package/dist/types/src/components/index.d.ts.map +1 -1
  26. package/package.json +37 -36
  27. package/src/components/FunctionEditor/FunctionEditor.tsx +1 -5
  28. package/src/components/GridSheet/GridSheet.tsx +6 -2
  29. package/src/components/GridSheet/util.ts +6 -2
  30. package/src/components/SheetContainer/SheetContainer.tsx +9 -8
  31. package/src/components/Toolbar/Toolbar.tsx +1 -13
  32. package/dist/lib/browser/SheetContainer-GPJOTYCI.mjs.map +0 -7
  33. package/dist/lib/node/SheetContainer-VSC6XF3M.cjs.map +0 -7
  34. package/dist/lib/node-esm/SheetContainer-SJK25GKT.mjs.map +0 -7
@@ -1 +1 @@
1
- {"inputs":{"packages/plugins/plugin-sheet/src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytes":4118,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts":{"bytes":572,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/ComputeGraphContextProvider.tsx","kind":"import-statement","original":"./ComputeGraphContextProvider"}],"format":"esm"},"packages/plugins/plugin-sheet/src/defs/sheet-range-types.ts":{"bytes":3812,"imports":[],"format":"esm"},"packages/plugins/plugin-sheet/src/defs/types.ts":{"bytes":9728,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/meta.ts":{"bytes":1402,"imports":[],"format":"esm"},"packages/plugins/plugin-sheet/src/types.ts":{"bytes":10371,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-sheet/src/defs/util.ts":{"bytes":13423,"imports":[{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-sheet/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/defs/index.ts":{"bytes":692,"imports":[{"path":"packages/plugins/plugin-sheet/src/defs/sheet-range-types.ts","kind":"import-statement","original":"./sheet-range-types"},{"path":"packages/plugins/plugin-sheet/src/defs/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-sheet/src/defs/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"packages/plugins/plugin-sheet/src/integrations/thread-ranges.ts":{"bytes":12290,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../defs"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-sheet/src/integrations/index.ts":{"bytes":527,"imports":[{"path":"packages/plugins/plugin-sheet/src/integrations/thread-ranges.ts","kind":"import-statement","original":"./thread-ranges"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/GridSheet/util.ts":{"bytes":22065,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-data","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../../defs"},{"path":"packages/plugins/plugin-sheet/src/integrations/index.ts","kind":"import-statement","original":"../../integrations"}],"format":"esm"},"packages/plugins/plugin-sheet/src/compute-graph/compute-node.ts":{"bytes":5958,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../defs"}],"format":"esm"},"packages/plugins/plugin-sheet/src/compute-graph/functions/async-function.ts":{"bytes":19212,"imports":[{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/compute-graph/functions/edge-function.ts":{"bytes":14333,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/edge","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/compute-graph/functions/async-function.ts","kind":"import-statement","original":"./async-function"}],"format":"esm"},"packages/plugins/plugin-sheet/src/compute-graph/functions/function-defs.ts":{"bytes":204669,"imports":[],"format":"esm"},"packages/plugins/plugin-sheet/src/compute-graph/functions/index.ts":{"bytes":749,"imports":[{"path":"packages/plugins/plugin-sheet/src/compute-graph/functions/async-function.ts","kind":"import-statement","original":"./async-function"},{"path":"packages/plugins/plugin-sheet/src/compute-graph/functions/edge-function.ts","kind":"import-statement","original":"./edge-function"},{"path":"packages/plugins/plugin-sheet/src/compute-graph/functions/function-defs.ts","kind":"import-statement","original":"./function-defs"}],"format":"esm"},"packages/plugins/plugin-sheet/src/compute-graph/compute-graph.ts":{"bytes":29202,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/compute-graph/compute-node.ts","kind":"import-statement","original":"./compute-node"},{"path":"packages/plugins/plugin-sheet/src/compute-graph/functions/index.ts","kind":"import-statement","original":"./functions"}],"format":"esm"},"packages/plugins/plugin-sheet/src/compute-graph/compute-graph-registry.ts":{"bytes":9451,"imports":[{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/compute-graph/compute-graph.ts","kind":"import-statement","original":"./compute-graph"},{"path":"packages/plugins/plugin-sheet/src/compute-graph/functions/index.ts","kind":"import-statement","original":"./functions"}],"format":"esm"},"packages/plugins/plugin-sheet/src/compute-graph/index.ts":{"bytes":847,"imports":[{"path":"packages/plugins/plugin-sheet/src/compute-graph/compute-graph.ts","kind":"import-statement","original":"./compute-graph"},{"path":"packages/plugins/plugin-sheet/src/compute-graph/compute-graph-registry.ts","kind":"import-statement","original":"./compute-graph-registry"},{"path":"packages/plugins/plugin-sheet/src/compute-graph/compute-node.ts","kind":"import-statement","original":"./compute-node"},{"path":"packages/plugins/plugin-sheet/src/compute-graph/functions/index.ts","kind":"import-statement","original":"./functions"}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/compute.ts":{"bytes":18005,"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/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/compute-graph/index.ts","kind":"import-statement","original":"../compute-graph"}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/editor/extension.ts":{"bytes":28505,"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/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../../defs"}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/editor/index.ts":{"bytes":520,"imports":[{"path":"packages/plugins/plugin-sheet/src/extensions/editor/extension.ts","kind":"import-statement","original":"./extension"}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/index.ts":{"bytes":593,"imports":[{"path":"packages/plugins/plugin-sheet/src/extensions/compute.ts","kind":"import-statement","original":"./compute"},{"path":"packages/plugins/plugin-sheet/src/extensions/editor/index.ts","kind":"import-statement","original":"./editor"}],"format":"esm"},"packages/plugins/plugin-sheet/src/model/sheet-model.ts":{"bytes":59722,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/compute-graph/index.ts","kind":"import-statement","original":"../compute-graph"},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../defs"}],"format":"esm"},"packages/plugins/plugin-sheet/src/model/useSheetModel.ts":{"bytes":3105,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"../model"}],"format":"esm"},"packages/plugins/plugin-sheet/src/model/index.ts":{"bytes":619,"imports":[{"path":"packages/plugins/plugin-sheet/src/model/sheet-model.ts","kind":"import-statement","original":"./sheet-model"},{"path":"packages/plugins/plugin-sheet/src/model/useSheetModel.ts","kind":"import-statement","original":"./useSheetModel"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContext/SheetContext.tsx":{"bytes":10187,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"../../model"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts":{"bytes":537,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/SheetContext.tsx","kind":"import-statement","original":"./SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/GridSheet/GridSheet.tsx":{"bytes":44004,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/GridSheet/util.ts","kind":"import-statement","original":"./util"},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../../defs"},{"path":"packages/plugins/plugin-sheet/src/extensions/index.ts","kind":"import-statement","original":"../../extensions"},{"path":"packages/plugins/plugin-sheet/src/integrations/index.ts","kind":"import-statement","original":"../../integrations"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-sheet/src/types.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts":{"bytes":523,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/GridSheet/GridSheet.tsx","kind":"import-statement","original":"./GridSheet"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/RangeList/RangeList.tsx":{"bytes":6853,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../../defs"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-sheet/src/types.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/RangeList/index.ts":{"bytes":523,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/RangeList/RangeList.tsx","kind":"import-statement","original":"./RangeList"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/FunctionEditor/FunctionEditor.tsx":{"bytes":5167,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../../defs"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/FunctionEditor/index.ts":{"bytes":545,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/FunctionEditor/FunctionEditor.tsx","kind":"import-statement","original":"./FunctionEditor"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/Toolbar/Toolbar.tsx":{"bytes":33742,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","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/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../../defs"},{"path":"packages/plugins/plugin-sheet/src/integrations/index.ts","kind":"import-statement","original":"../../integrations"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/Toolbar/index.ts":{"bytes":519,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/Toolbar/Toolbar.tsx","kind":"import-statement","original":"./Toolbar"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContainer/SheetContainer.tsx":{"bytes":3829,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts","kind":"import-statement","original":"../ComputeGraph"},{"path":"packages/plugins/plugin-sheet/src/components/FunctionEditor/index.ts","kind":"import-statement","original":"../FunctionEditor"},{"path":"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts","kind":"import-statement","original":"../GridSheet"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"},{"path":"packages/plugins/plugin-sheet/src/components/Toolbar/index.ts","kind":"import-statement","original":"../Toolbar"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts":{"bytes":721,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/SheetContainer/SheetContainer.tsx","kind":"import-statement","original":"./SheetContainer"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/index.ts":{"bytes":1188,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts","kind":"import-statement","original":"./ComputeGraph"},{"path":"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts","kind":"import-statement","original":"./GridSheet"},{"path":"packages/plugins/plugin-sheet/src/components/RangeList/index.ts","kind":"import-statement","original":"./RangeList"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"./SheetContext"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts","kind":"dynamic-import","original":"./SheetContainer"}],"format":"esm"},"packages/plugins/plugin-sheet/src/serializer.ts":{"bytes":2746,"imports":[{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/translations.ts":{"bytes":5078,"imports":[{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-sheet/src/SheetPlugin.tsx":{"bytes":31482,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"./defs"},{"path":"packages/plugins/plugin-sheet/src/extensions/index.ts","kind":"import-statement","original":"./extensions"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-sheet/src/serializer.ts","kind":"import-statement","original":"./serializer"},{"path":"packages/plugins/plugin-sheet/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-sheet/src/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-sheet/src/compute-graph/index.ts","kind":"dynamic-import","original":"./compute-graph"}],"format":"esm"},"packages/plugins/plugin-sheet/src/index.ts":{"bytes":769,"imports":[{"path":"packages/plugins/plugin-sheet/src/SheetPlugin.tsx","kind":"import-statement","original":"./SheetPlugin"},{"path":"packages/plugins/plugin-sheet/src/SheetPlugin.tsx","kind":"import-statement","original":"./SheetPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-sheet/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":17446},"packages/plugins/plugin-sheet/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-CYOQA6UK.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-VMSX6Z4X.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-BVUN7SHF.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-RABELMEQ.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/compute-graph-GGWUX644.mjs","kind":"dynamic-import"}],"exports":["SheetPlugin","default"],"entryPoint":"packages/plugins/plugin-sheet/src/index.ts","inputs":{"packages/plugins/plugin-sheet/src/SheetPlugin.tsx":{"bytesInOutput":8563},"packages/plugins/plugin-sheet/src/serializer.ts":{"bytesInOutput":474},"packages/plugins/plugin-sheet/src/translations.ts":{"bytesInOutput":1526},"packages/plugins/plugin-sheet/src/index.ts":{"bytesInOutput":31}},"bytes":11281},"packages/plugins/plugin-sheet/dist/lib/browser/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-sheet/dist/lib/browser/meta.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-RABELMEQ.mjs","kind":"import-statement"}],"exports":["SHEET_PLUGIN","default"],"entryPoint":"packages/plugins/plugin-sheet/src/meta.ts","inputs":{},"bytes":159},"packages/plugins/plugin-sheet/dist/lib/browser/types.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-sheet/dist/lib/browser/types.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-BVUN7SHF.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-RABELMEQ.mjs","kind":"import-statement"}],"exports":["CellValue","Range","RowColumnMeta","SheetAction","SheetType"],"entryPoint":"packages/plugins/plugin-sheet/src/types.ts","inputs":{},"bytes":250},"packages/plugins/plugin-sheet/dist/lib/browser/compute-graph-GGWUX644.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-sheet/dist/lib/browser/compute-graph-GGWUX644.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-VMSX6Z4X.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-BVUN7SHF.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-RABELMEQ.mjs","kind":"import-statement"}],"exports":["AsyncFunctionPlugin","ComputeGraph","ComputeGraphRegistry","ComputeNode","EDGE_FUNCTION_NAME","EdgeFunctionPlugin","EdgeFunctionPluginTranslations","FunctionContext","createSheetName","defaultFunctionContextOptions","defaultFunctions","defaultOptions","defaultPlugins","parseSheetName"],"entryPoint":"packages/plugins/plugin-sheet/src/compute-graph/index.ts","inputs":{},"bytes":766},"packages/plugins/plugin-sheet/dist/lib/browser/SheetContainer-GPJOTYCI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":22086},"packages/plugins/plugin-sheet/dist/lib/browser/SheetContainer-GPJOTYCI.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-CYOQA6UK.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-VMSX6Z4X.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-BVUN7SHF.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-RABELMEQ.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","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/util","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts","inputs":{"packages/plugins/plugin-sheet/src/components/SheetContainer/SheetContainer.tsx":{"bytesInOutput":815},"packages/plugins/plugin-sheet/src/components/FunctionEditor/FunctionEditor.tsx":{"bytesInOutput":1306},"packages/plugins/plugin-sheet/src/components/FunctionEditor/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/Toolbar/Toolbar.tsx":{"bytesInOutput":7786},"packages/plugins/plugin-sheet/src/components/Toolbar/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts":{"bytesInOutput":45}},"bytes":10837},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-CYOQA6UK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":101136},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-CYOQA6UK.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-VMSX6Z4X.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-BVUN7SHF.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-RABELMEQ.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":"@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/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"codemirror-lang-spreadsheet","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-data","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/SheetContainer-GPJOTYCI.mjs","kind":"dynamic-import"}],"exports":["ComputeGraphContextProvider","GridSheet","RangeList","SheetContainer","SheetProvider","completeCellRangeToThreadCursor","computeGraphFacet","useComputeGraph","useSheetContext"],"inputs":{"packages/plugins/plugin-sheet/src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytesInOutput":775},"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/extensions/compute.ts":{"bytesInOutput":460},"packages/plugins/plugin-sheet/src/extensions/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/extensions/editor/extension.ts":{"bytesInOutput":5970},"packages/plugins/plugin-sheet/src/extensions/editor/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/SheetContext/SheetContext.tsx":{"bytesInOutput":2243},"packages/plugins/plugin-sheet/src/model/sheet-model.ts":{"bytesInOutput":14689},"packages/plugins/plugin-sheet/src/model/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/model/useSheetModel.ts":{"bytesInOutput":543},"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/GridSheet/GridSheet.tsx":{"bytesInOutput":10649},"packages/plugins/plugin-sheet/src/components/GridSheet/util.ts":{"bytesInOutput":5244},"packages/plugins/plugin-sheet/src/integrations/thread-ranges.ts":{"bytesInOutput":2800},"packages/plugins/plugin-sheet/src/components/index.ts":{"bytesInOutput":104},"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/RangeList/RangeList.tsx":{"bytesInOutput":1515},"packages/plugins/plugin-sheet/src/components/RangeList/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/integrations/index.ts":{"bytesInOutput":0}},"bytes":46822},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-VMSX6Z4X.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":144432},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-VMSX6Z4X.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-BVUN7SHF.mjs","kind":"import-statement"},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/edge","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true}],"exports":["AsyncFunctionPlugin","ComputeGraph","ComputeGraphRegistry","ComputeNode","DEFAULT_COLUMNS","DEFAULT_ROWS","EDGE_FUNCTION_NAME","EdgeFunctionPlugin","EdgeFunctionPluginTranslations","FunctionContext","MAX_COLUMNS","MAX_ROWS","RANGE_NOTATION","ReadonlyException","addressFromA1Notation","addressFromIndex","addressToA1Notation","addressToIndex","alignKey","cellClassNameForRange","compareIndexPositions","createSheet","createSheetName","defaultFunctionContextOptions","defaultFunctions","defaultOptions","defaultPlugins","inRange","initialize","insertIndices","isFormula","parseSheetName","rangeFromIndex","rangeToA1Notation","rangeToIndex","styleKey"],"inputs":{"packages/plugins/plugin-sheet/src/compute-graph/compute-graph.ts":{"bytesInOutput":6625},"packages/plugins/plugin-sheet/src/compute-graph/compute-node.ts":{"bytesInOutput":993},"packages/plugins/plugin-sheet/src/defs/sheet-range-types.ts":{"bytesInOutput":709},"packages/plugins/plugin-sheet/src/defs/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/defs/types.ts":{"bytesInOutput":2045},"packages/plugins/plugin-sheet/src/defs/util.ts":{"bytesInOutput":2468},"packages/plugins/plugin-sheet/src/compute-graph/functions/async-function.ts":{"bytesInOutput":4094},"packages/plugins/plugin-sheet/src/compute-graph/functions/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/compute-graph/functions/edge-function.ts":{"bytesInOutput":3599},"packages/plugins/plugin-sheet/src/compute-graph/functions/function-defs.ts":{"bytesInOutput":68677},"packages/plugins/plugin-sheet/src/compute-graph/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/compute-graph/compute-graph-registry.ts":{"bytesInOutput":1918}},"bytes":92680},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-BVUN7SHF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5747},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-BVUN7SHF.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-RABELMEQ.mjs","kind":"import-statement"},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true}],"exports":["CellValue","Range","RowColumnMeta","SheetAction","SheetType"],"inputs":{"packages/plugins/plugin-sheet/src/types.ts":{"bytesInOutput":1811}},"bytes":2036},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-RABELMEQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":672},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-RABELMEQ.mjs":{"imports":[],"exports":["SHEET_PLUGIN","meta_default"],"inputs":{"packages/plugins/plugin-sheet/src/meta.ts":{"bytesInOutput":267}},"bytes":400}}}
1
+ {"inputs":{"packages/plugins/plugin-sheet/src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytes":4118,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts":{"bytes":572,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/ComputeGraphContextProvider.tsx","kind":"import-statement","original":"./ComputeGraphContextProvider"}],"format":"esm"},"packages/plugins/plugin-sheet/src/defs/sheet-range-types.ts":{"bytes":3812,"imports":[],"format":"esm"},"packages/plugins/plugin-sheet/src/defs/types.ts":{"bytes":9728,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/meta.ts":{"bytes":1402,"imports":[],"format":"esm"},"packages/plugins/plugin-sheet/src/types.ts":{"bytes":10371,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-sheet/src/defs/util.ts":{"bytes":13423,"imports":[{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-sheet/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/defs/index.ts":{"bytes":692,"imports":[{"path":"packages/plugins/plugin-sheet/src/defs/sheet-range-types.ts","kind":"import-statement","original":"./sheet-range-types"},{"path":"packages/plugins/plugin-sheet/src/defs/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-sheet/src/defs/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"packages/plugins/plugin-sheet/src/integrations/thread-ranges.ts":{"bytes":12290,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../defs"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-sheet/src/integrations/index.ts":{"bytes":527,"imports":[{"path":"packages/plugins/plugin-sheet/src/integrations/thread-ranges.ts","kind":"import-statement","original":"./thread-ranges"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/GridSheet/util.ts":{"bytes":22197,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-data","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../../defs"},{"path":"packages/plugins/plugin-sheet/src/integrations/index.ts","kind":"import-statement","original":"../../integrations"}],"format":"esm"},"packages/plugins/plugin-sheet/src/compute-graph/compute-node.ts":{"bytes":5958,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../defs"}],"format":"esm"},"packages/plugins/plugin-sheet/src/compute-graph/functions/async-function.ts":{"bytes":19212,"imports":[{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-sheet/src/compute-graph/functions/edge-function.ts":{"bytes":14333,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/edge","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/compute-graph/functions/async-function.ts","kind":"import-statement","original":"./async-function"}],"format":"esm"},"packages/plugins/plugin-sheet/src/compute-graph/functions/function-defs.ts":{"bytes":204669,"imports":[],"format":"esm"},"packages/plugins/plugin-sheet/src/compute-graph/functions/index.ts":{"bytes":749,"imports":[{"path":"packages/plugins/plugin-sheet/src/compute-graph/functions/async-function.ts","kind":"import-statement","original":"./async-function"},{"path":"packages/plugins/plugin-sheet/src/compute-graph/functions/edge-function.ts","kind":"import-statement","original":"./edge-function"},{"path":"packages/plugins/plugin-sheet/src/compute-graph/functions/function-defs.ts","kind":"import-statement","original":"./function-defs"}],"format":"esm"},"packages/plugins/plugin-sheet/src/compute-graph/compute-graph.ts":{"bytes":29202,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/compute-graph/compute-node.ts","kind":"import-statement","original":"./compute-node"},{"path":"packages/plugins/plugin-sheet/src/compute-graph/functions/index.ts","kind":"import-statement","original":"./functions"}],"format":"esm"},"packages/plugins/plugin-sheet/src/compute-graph/compute-graph-registry.ts":{"bytes":9451,"imports":[{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/compute-graph/compute-graph.ts","kind":"import-statement","original":"./compute-graph"},{"path":"packages/plugins/plugin-sheet/src/compute-graph/functions/index.ts","kind":"import-statement","original":"./functions"}],"format":"esm"},"packages/plugins/plugin-sheet/src/compute-graph/index.ts":{"bytes":847,"imports":[{"path":"packages/plugins/plugin-sheet/src/compute-graph/compute-graph.ts","kind":"import-statement","original":"./compute-graph"},{"path":"packages/plugins/plugin-sheet/src/compute-graph/compute-graph-registry.ts","kind":"import-statement","original":"./compute-graph-registry"},{"path":"packages/plugins/plugin-sheet/src/compute-graph/compute-node.ts","kind":"import-statement","original":"./compute-node"},{"path":"packages/plugins/plugin-sheet/src/compute-graph/functions/index.ts","kind":"import-statement","original":"./functions"}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/compute.ts":{"bytes":18005,"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/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/compute-graph/index.ts","kind":"import-statement","original":"../compute-graph"}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/editor/extension.ts":{"bytes":28505,"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/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../../defs"}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/editor/index.ts":{"bytes":520,"imports":[{"path":"packages/plugins/plugin-sheet/src/extensions/editor/extension.ts","kind":"import-statement","original":"./extension"}],"format":"esm"},"packages/plugins/plugin-sheet/src/extensions/index.ts":{"bytes":593,"imports":[{"path":"packages/plugins/plugin-sheet/src/extensions/compute.ts","kind":"import-statement","original":"./compute"},{"path":"packages/plugins/plugin-sheet/src/extensions/editor/index.ts","kind":"import-statement","original":"./editor"}],"format":"esm"},"packages/plugins/plugin-sheet/src/model/sheet-model.ts":{"bytes":59722,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/compute-graph/index.ts","kind":"import-statement","original":"../compute-graph"},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../defs"}],"format":"esm"},"packages/plugins/plugin-sheet/src/model/useSheetModel.ts":{"bytes":3105,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"../model"}],"format":"esm"},"packages/plugins/plugin-sheet/src/model/index.ts":{"bytes":619,"imports":[{"path":"packages/plugins/plugin-sheet/src/model/sheet-model.ts","kind":"import-statement","original":"./sheet-model"},{"path":"packages/plugins/plugin-sheet/src/model/useSheetModel.ts","kind":"import-statement","original":"./useSheetModel"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContext/SheetContext.tsx":{"bytes":10187,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/model/index.ts","kind":"import-statement","original":"../../model"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts":{"bytes":537,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/SheetContext.tsx","kind":"import-statement","original":"./SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/GridSheet/GridSheet.tsx":{"bytes":44289,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/GridSheet/util.ts","kind":"import-statement","original":"./util"},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../../defs"},{"path":"packages/plugins/plugin-sheet/src/extensions/index.ts","kind":"import-statement","original":"../../extensions"},{"path":"packages/plugins/plugin-sheet/src/integrations/index.ts","kind":"import-statement","original":"../../integrations"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-sheet/src/types.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts":{"bytes":523,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/GridSheet/GridSheet.tsx","kind":"import-statement","original":"./GridSheet"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/RangeList/RangeList.tsx":{"bytes":6853,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../../defs"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-sheet/src/types.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/RangeList/index.ts":{"bytes":523,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/RangeList/RangeList.tsx","kind":"import-statement","original":"./RangeList"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/FunctionEditor/FunctionEditor.tsx":{"bytes":5059,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../../defs"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/FunctionEditor/index.ts":{"bytes":545,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/FunctionEditor/FunctionEditor.tsx","kind":"import-statement","original":"./FunctionEditor"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/Toolbar/Toolbar.tsx":{"bytes":32666,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","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/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"../../defs"},{"path":"packages/plugins/plugin-sheet/src/integrations/index.ts","kind":"import-statement","original":"../../integrations"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/Toolbar/index.ts":{"bytes":519,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/Toolbar/Toolbar.tsx","kind":"import-statement","original":"./Toolbar"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContainer/SheetContainer.tsx":{"bytes":4074,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts","kind":"import-statement","original":"../ComputeGraph"},{"path":"packages/plugins/plugin-sheet/src/components/FunctionEditor/index.ts","kind":"import-statement","original":"../FunctionEditor"},{"path":"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts","kind":"import-statement","original":"../GridSheet"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"},{"path":"packages/plugins/plugin-sheet/src/components/Toolbar/index.ts","kind":"import-statement","original":"../Toolbar"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts":{"bytes":721,"imports":[{"path":"packages/plugins/plugin-sheet/src/components/SheetContainer/SheetContainer.tsx","kind":"import-statement","original":"./SheetContainer"}],"format":"esm"},"packages/plugins/plugin-sheet/src/components/index.ts":{"bytes":1188,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts","kind":"import-statement","original":"./ComputeGraph"},{"path":"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts","kind":"import-statement","original":"./GridSheet"},{"path":"packages/plugins/plugin-sheet/src/components/RangeList/index.ts","kind":"import-statement","original":"./RangeList"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts","kind":"import-statement","original":"./SheetContext"},{"path":"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts","kind":"dynamic-import","original":"./SheetContainer"}],"format":"esm"},"packages/plugins/plugin-sheet/src/serializer.ts":{"bytes":2746,"imports":[{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-sheet/src/translations.ts":{"bytes":5078,"imports":[{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-sheet/src/SheetPlugin.tsx":{"bytes":31482,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-sheet/src/defs/index.ts","kind":"import-statement","original":"./defs"},{"path":"packages/plugins/plugin-sheet/src/extensions/index.ts","kind":"import-statement","original":"./extensions"},{"path":"packages/plugins/plugin-sheet/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-sheet/src/serializer.ts","kind":"import-statement","original":"./serializer"},{"path":"packages/plugins/plugin-sheet/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-sheet/src/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-sheet/src/compute-graph/index.ts","kind":"dynamic-import","original":"./compute-graph"}],"format":"esm"},"packages/plugins/plugin-sheet/src/index.ts":{"bytes":769,"imports":[{"path":"packages/plugins/plugin-sheet/src/SheetPlugin.tsx","kind":"import-statement","original":"./SheetPlugin"},{"path":"packages/plugins/plugin-sheet/src/SheetPlugin.tsx","kind":"import-statement","original":"./SheetPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-sheet/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":17446},"packages/plugins/plugin-sheet/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-4LKIURJA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-VMSX6Z4X.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-BVUN7SHF.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-RABELMEQ.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/compute-graph-GGWUX644.mjs","kind":"dynamic-import"}],"exports":["SheetPlugin","default"],"entryPoint":"packages/plugins/plugin-sheet/src/index.ts","inputs":{"packages/plugins/plugin-sheet/src/SheetPlugin.tsx":{"bytesInOutput":8563},"packages/plugins/plugin-sheet/src/serializer.ts":{"bytesInOutput":474},"packages/plugins/plugin-sheet/src/translations.ts":{"bytesInOutput":1526},"packages/plugins/plugin-sheet/src/index.ts":{"bytesInOutput":31}},"bytes":11281},"packages/plugins/plugin-sheet/dist/lib/browser/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-sheet/dist/lib/browser/meta.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-RABELMEQ.mjs","kind":"import-statement"}],"exports":["SHEET_PLUGIN","default"],"entryPoint":"packages/plugins/plugin-sheet/src/meta.ts","inputs":{},"bytes":159},"packages/plugins/plugin-sheet/dist/lib/browser/types.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-sheet/dist/lib/browser/types.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-BVUN7SHF.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-RABELMEQ.mjs","kind":"import-statement"}],"exports":["CellValue","Range","RowColumnMeta","SheetAction","SheetType"],"entryPoint":"packages/plugins/plugin-sheet/src/types.ts","inputs":{},"bytes":250},"packages/plugins/plugin-sheet/dist/lib/browser/compute-graph-GGWUX644.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-sheet/dist/lib/browser/compute-graph-GGWUX644.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-VMSX6Z4X.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-BVUN7SHF.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-RABELMEQ.mjs","kind":"import-statement"}],"exports":["AsyncFunctionPlugin","ComputeGraph","ComputeGraphRegistry","ComputeNode","EDGE_FUNCTION_NAME","EdgeFunctionPlugin","EdgeFunctionPluginTranslations","FunctionContext","createSheetName","defaultFunctionContextOptions","defaultFunctions","defaultOptions","defaultPlugins","parseSheetName"],"entryPoint":"packages/plugins/plugin-sheet/src/compute-graph/index.ts","inputs":{},"bytes":766},"packages/plugins/plugin-sheet/dist/lib/browser/SheetContainer-P3NF5KEI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":21695},"packages/plugins/plugin-sheet/dist/lib/browser/SheetContainer-P3NF5KEI.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-4LKIURJA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-VMSX6Z4X.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-BVUN7SHF.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-RABELMEQ.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","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/util","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts","inputs":{"packages/plugins/plugin-sheet/src/components/SheetContainer/SheetContainer.tsx":{"bytesInOutput":856},"packages/plugins/plugin-sheet/src/components/FunctionEditor/FunctionEditor.tsx":{"bytesInOutput":1278},"packages/plugins/plugin-sheet/src/components/FunctionEditor/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/Toolbar/Toolbar.tsx":{"bytesInOutput":7499},"packages/plugins/plugin-sheet/src/components/Toolbar/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/SheetContainer/index.ts":{"bytesInOutput":45}},"bytes":10563},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-4LKIURJA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":101354},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-4LKIURJA.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-VMSX6Z4X.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-BVUN7SHF.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-RABELMEQ.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":"@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/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"codemirror-lang-spreadsheet","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-data","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-sheet/dist/lib/browser/SheetContainer-P3NF5KEI.mjs","kind":"dynamic-import"}],"exports":["ComputeGraphContextProvider","GridSheet","RangeList","SheetContainer","SheetProvider","completeCellRangeToThreadCursor","computeGraphFacet","useComputeGraph","useSheetContext"],"inputs":{"packages/plugins/plugin-sheet/src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytesInOutput":775},"packages/plugins/plugin-sheet/src/components/ComputeGraph/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/extensions/compute.ts":{"bytesInOutput":460},"packages/plugins/plugin-sheet/src/extensions/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/extensions/editor/extension.ts":{"bytesInOutput":5970},"packages/plugins/plugin-sheet/src/extensions/editor/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/SheetContext/SheetContext.tsx":{"bytesInOutput":2243},"packages/plugins/plugin-sheet/src/model/sheet-model.ts":{"bytesInOutput":14689},"packages/plugins/plugin-sheet/src/model/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/model/useSheetModel.ts":{"bytesInOutput":543},"packages/plugins/plugin-sheet/src/components/SheetContext/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/GridSheet/GridSheet.tsx":{"bytesInOutput":10742},"packages/plugins/plugin-sheet/src/components/GridSheet/util.ts":{"bytesInOutput":5286},"packages/plugins/plugin-sheet/src/integrations/thread-ranges.ts":{"bytesInOutput":2800},"packages/plugins/plugin-sheet/src/components/index.ts":{"bytesInOutput":104},"packages/plugins/plugin-sheet/src/components/GridSheet/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/components/RangeList/RangeList.tsx":{"bytesInOutput":1515},"packages/plugins/plugin-sheet/src/components/RangeList/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/integrations/index.ts":{"bytesInOutput":0}},"bytes":46957},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-VMSX6Z4X.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":144432},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-VMSX6Z4X.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-BVUN7SHF.mjs","kind":"import-statement"},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/edge","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true},{"path":"lodash.defaultsdeep","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"#hyperformula","kind":"import-statement","external":true}],"exports":["AsyncFunctionPlugin","ComputeGraph","ComputeGraphRegistry","ComputeNode","DEFAULT_COLUMNS","DEFAULT_ROWS","EDGE_FUNCTION_NAME","EdgeFunctionPlugin","EdgeFunctionPluginTranslations","FunctionContext","MAX_COLUMNS","MAX_ROWS","RANGE_NOTATION","ReadonlyException","addressFromA1Notation","addressFromIndex","addressToA1Notation","addressToIndex","alignKey","cellClassNameForRange","compareIndexPositions","createSheet","createSheetName","defaultFunctionContextOptions","defaultFunctions","defaultOptions","defaultPlugins","inRange","initialize","insertIndices","isFormula","parseSheetName","rangeFromIndex","rangeToA1Notation","rangeToIndex","styleKey"],"inputs":{"packages/plugins/plugin-sheet/src/compute-graph/compute-graph.ts":{"bytesInOutput":6625},"packages/plugins/plugin-sheet/src/compute-graph/compute-node.ts":{"bytesInOutput":993},"packages/plugins/plugin-sheet/src/defs/sheet-range-types.ts":{"bytesInOutput":709},"packages/plugins/plugin-sheet/src/defs/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/defs/types.ts":{"bytesInOutput":2045},"packages/plugins/plugin-sheet/src/defs/util.ts":{"bytesInOutput":2468},"packages/plugins/plugin-sheet/src/compute-graph/functions/async-function.ts":{"bytesInOutput":4094},"packages/plugins/plugin-sheet/src/compute-graph/functions/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/compute-graph/functions/edge-function.ts":{"bytesInOutput":3599},"packages/plugins/plugin-sheet/src/compute-graph/functions/function-defs.ts":{"bytesInOutput":68677},"packages/plugins/plugin-sheet/src/compute-graph/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-sheet/src/compute-graph/compute-graph-registry.ts":{"bytesInOutput":1918}},"bytes":92680},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-BVUN7SHF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5747},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-BVUN7SHF.mjs":{"imports":[{"path":"packages/plugins/plugin-sheet/dist/lib/browser/chunk-RABELMEQ.mjs","kind":"import-statement"},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true}],"exports":["CellValue","Range","RowColumnMeta","SheetAction","SheetType"],"inputs":{"packages/plugins/plugin-sheet/src/types.ts":{"bytesInOutput":1811}},"bytes":2036},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-RABELMEQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":672},"packages/plugins/plugin-sheet/dist/lib/browser/chunk-RABELMEQ.mjs":{"imports":[],"exports":["SHEET_PLUGIN","meta_default"],"inputs":{"packages/plugins/plugin-sheet/src/meta.ts":{"bytesInOutput":267}},"bytes":400}}}
@@ -26,16 +26,17 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var SheetContainer_VSC6XF3M_exports = {};
30
- __export(SheetContainer_VSC6XF3M_exports, {
29
+ var SheetContainer_MPFKXY26_exports = {};
30
+ __export(SheetContainer_MPFKXY26_exports, {
31
31
  default: () => SheetContainer_default
32
32
  });
33
- module.exports = __toCommonJS(SheetContainer_VSC6XF3M_exports);
34
- var import_chunk_545PZPK3 = require("./chunk-545PZPK3.cjs");
33
+ module.exports = __toCommonJS(SheetContainer_MPFKXY26_exports);
34
+ var import_chunk_OO24XJBV = require("./chunk-OO24XJBV.cjs");
35
35
  var import_chunk_O7XR4R7Y = require("./chunk-O7XR4R7Y.cjs");
36
36
  var import_chunk_AWKOWDMI = require("./chunk-AWKOWDMI.cjs");
37
37
  var import_chunk_2ZVZI2KJ = require("./chunk-2ZVZI2KJ.cjs");
38
38
  var import_react = __toESM(require("react"));
39
+ var import_react_ui_stack = require("@dxos/react-ui-stack");
39
40
  var import_react2 = __toESM(require("react"));
40
41
  var import_react_ui = require("@dxos/react-ui");
41
42
  var import_react_ui_theme = require("@dxos/react-ui-theme");
@@ -46,7 +47,7 @@ var import_react_ui2 = require("@dxos/react-ui");
46
47
  var import_react_ui_attention = require("@dxos/react-ui-attention");
47
48
  var import_util = require("@dxos/util");
48
49
  var FunctionEditor = () => {
49
- const { model, cursor, range } = (0, import_chunk_545PZPK3.useSheetContext)();
50
+ const { model, cursor, range } = (0, import_chunk_OO24XJBV.useSheetContext)();
50
51
  let value;
51
52
  let formula = false;
52
53
  if (cursor) {
@@ -59,7 +60,7 @@ var FunctionEditor = () => {
59
60
  }
60
61
  }
61
62
  return /* @__PURE__ */ import_react2.default.createElement("div", {
62
- className: (0, import_react_ui_theme.mx)("flex shrink-0 justify-between items-center px-4 py-1 text-sm border-bs !border-separator attention-surface")
63
+ className: (0, import_react_ui_theme.mx)("flex shrink-0 justify-between items-center px-4 py-1 text-sm attention-surface")
63
64
  }, /* @__PURE__ */ import_react2.default.createElement("div", {
64
65
  className: "flex gap-4 items-center"
65
66
  }, /* @__PURE__ */ import_react2.default.createElement("div", {
@@ -101,9 +102,8 @@ var ToolbarItem = ({ itemType, icon, children, ...props }) => {
101
102
  }, children))), /* @__PURE__ */ import_react3.default.createElement(import_react_ui2.Tooltip.Portal, null, /* @__PURE__ */ import_react3.default.createElement(import_react_ui2.Tooltip.Content, tooltipProps, children, /* @__PURE__ */ import_react3.default.createElement(import_react_ui2.Tooltip.Arrow, null))));
102
103
  };
103
104
  var [ToolbarContextProvider, useToolbarContext] = (0, import_react_context.createContext)("Toolbar");
104
- var sectionToolbarLayout = "bs-[--rail-action] bg-[--sticky-bg] sticky block-start-0 __-block-start-px transition-opacity";
105
105
  var ToolbarRoot = ({ children, role, classNames }) => {
106
- const { id, model, cursorFallbackRange, cursor } = (0, import_chunk_545PZPK3.useSheetContext)();
106
+ const { id, model, cursorFallbackRange, cursor } = (0, import_chunk_OO24XJBV.useSheetContext)();
107
107
  const { hasAttention } = (0, import_react_ui_attention.useAttention)(id);
108
108
  const dispatch = (0, import_app_framework.useIntentDispatcher)();
109
109
  const handleAction = (0, import_react3.useCallback)((action) => {
@@ -144,7 +144,7 @@ var ToolbarRoot = ({ children, role, classNames }) => {
144
144
  void dispatch({
145
145
  action: "dxos.org/plugin/thread/action/create",
146
146
  data: {
147
- cursor: (0, import_chunk_545PZPK3.completeCellRangeToThreadCursor)(cursorFallbackRange),
147
+ cursor: (0, import_chunk_OO24XJBV.completeCellRangeToThreadCursor)(cursorFallbackRange),
148
148
  name: action.cellContent,
149
149
  subject: model.sheet
150
150
  }
@@ -163,13 +163,7 @@ var ToolbarRoot = ({ children, role, classNames }) => {
163
163
  }, /* @__PURE__ */ import_react3.default.createElement(import_react_ui2.Toolbar.Root, {
164
164
  classNames: [
165
165
  "pli-0.5",
166
- ...role === "section" ? [
167
- "z-[2] group-focus-within/section:visible",
168
- !hasAttention && "invisible",
169
- sectionToolbarLayout
170
- ] : [
171
- "attention-surface"
172
- ],
166
+ !hasAttention && "opacity-20",
173
167
  classNames
174
168
  ]
175
169
  }, children));
@@ -189,7 +183,7 @@ var alignmentOptions = [
189
183
  }
190
184
  ];
191
185
  var Alignment = () => {
192
- const { cursor, model } = (0, import_chunk_545PZPK3.useSheetContext)();
186
+ const { cursor, model } = (0, import_chunk_OO24XJBV.useSheetContext)();
193
187
  const { onAction } = useToolbarContext("Alignment");
194
188
  const { t } = (0, import_react_ui2.useTranslation)(import_chunk_2ZVZI2KJ.SHEET_PLUGIN);
195
189
  const value = cursor ? model.sheet.ranges?.findLast(({ range, key }) => key === import_chunk_O7XR4R7Y.alignKey && (0, import_chunk_O7XR4R7Y.inRange)((0, import_chunk_O7XR4R7Y.rangeFromIndex)(model.sheet, range), cursor))?.value : void 0;
@@ -224,7 +218,7 @@ var styleOptions = [
224
218
  }
225
219
  ];
226
220
  var Styles = () => {
227
- const { cursorFallbackRange, model } = (0, import_chunk_545PZPK3.useSheetContext)();
221
+ const { cursorFallbackRange, model } = (0, import_chunk_OO24XJBV.useSheetContext)();
228
222
  const { onAction } = useToolbarContext("Styles");
229
223
  const { t } = (0, import_react_ui2.useTranslation)(import_chunk_2ZVZI2KJ.SHEET_PLUGIN);
230
224
  const activeValues = cursorFallbackRange ? model.sheet.ranges?.filter(({ range, key }) => key === "style" && (0, import_chunk_O7XR4R7Y.inRange)((0, import_chunk_O7XR4R7Y.rangeFromIndex)(model.sheet, range), cursorFallbackRange.from)).reduce((acc, { value }) => {
@@ -250,7 +244,7 @@ var Styles = () => {
250
244
  };
251
245
  var Actions = () => {
252
246
  const { onAction } = useToolbarContext("Actions");
253
- const { cursorFallbackRange, cursor, model } = (0, import_chunk_545PZPK3.useSheetContext)();
247
+ const { cursorFallbackRange, cursor, model } = (0, import_chunk_OO24XJBV.useSheetContext)();
254
248
  const { t } = (0, import_react_ui2.useTranslation)(import_chunk_2ZVZI2KJ.SHEET_PLUGIN);
255
249
  const overlapsCommentAnchor = (model.sheet.threads ?? []).filter(import_util.nonNullable).filter((thread) => thread.status !== "resolved").some((thread) => {
256
250
  if (!cursorFallbackRange) {
@@ -285,16 +279,17 @@ var Toolbar = {
285
279
  Actions
286
280
  };
287
281
  var SheetContainer = ({ space, sheet, role }) => {
288
- const graph = (0, import_chunk_545PZPK3.useComputeGraph)(space);
289
- return graph ? /* @__PURE__ */ import_react.default.createElement(import_chunk_545PZPK3.SheetProvider, {
282
+ const graph = (0, import_chunk_OO24XJBV.useComputeGraph)(space);
283
+ return graph ? /* @__PURE__ */ import_react.default.createElement(import_chunk_OO24XJBV.SheetProvider, {
290
284
  sheet,
291
285
  graph
286
+ }, /* @__PURE__ */ import_react.default.createElement(import_react_ui_stack.StackItem.Content, {
287
+ toolbar: true,
288
+ statusbar: true,
289
+ classNames: "border-bs border-separator"
292
290
  }, /* @__PURE__ */ import_react.default.createElement(Toolbar.Root, {
293
291
  role
294
- }, /* @__PURE__ */ import_react.default.createElement(Toolbar.Styles, null), /* @__PURE__ */ import_react.default.createElement(Toolbar.Alignment, null), /* @__PURE__ */ import_react.default.createElement(Toolbar.Separator, null), /* @__PURE__ */ import_react.default.createElement(Toolbar.Actions, null)), /* @__PURE__ */ import_react.default.createElement("div", {
295
- role: "none",
296
- className: "border-bs border-separator grid cols-1 rows-[1fr_min-content] min-bs-0"
297
- }, /* @__PURE__ */ import_react.default.createElement(import_chunk_545PZPK3.GridSheet, null), /* @__PURE__ */ import_react.default.createElement(FunctionEditor, null))) : null;
292
+ }, /* @__PURE__ */ import_react.default.createElement(Toolbar.Styles, null), /* @__PURE__ */ import_react.default.createElement(Toolbar.Alignment, null), /* @__PURE__ */ import_react.default.createElement(Toolbar.Separator, null), /* @__PURE__ */ import_react.default.createElement(Toolbar.Actions, null)), /* @__PURE__ */ import_react.default.createElement(import_chunk_OO24XJBV.GridSheet, null), /* @__PURE__ */ import_react.default.createElement(FunctionEditor, null))) : null;
298
293
  };
299
294
  var SheetContainer_default = SheetContainer;
300
- //# sourceMappingURL=SheetContainer-VSC6XF3M.cjs.map
295
+ //# sourceMappingURL=SheetContainer-MPFKXY26.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/components/SheetContainer/SheetContainer.tsx", "../../../src/components/FunctionEditor/FunctionEditor.tsx", "../../../src/components/Toolbar/Toolbar.tsx", "../../../src/components/SheetContainer/index.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport React from 'react';\n\nimport { type Space } from '@dxos/react-client/echo';\nimport { StackItem } from '@dxos/react-ui-stack';\n\nimport { type SheetType } from '../../types';\nimport { useComputeGraph } from '../ComputeGraph';\nimport { FunctionEditor } from '../FunctionEditor';\nimport { GridSheet } from '../GridSheet';\nimport { SheetProvider } from '../SheetContext';\nimport { Toolbar } from '../Toolbar';\n\nexport const SheetContainer = ({ space, sheet, role }: { space: Space; sheet: SheetType; role?: string }) => {\n const graph = useComputeGraph(space);\n\n return graph ? (\n <SheetProvider sheet={sheet} graph={graph}>\n <StackItem.Content toolbar statusbar classNames='border-bs border-separator'>\n <Toolbar.Root role={role}>\n <Toolbar.Styles />\n <Toolbar.Alignment />\n <Toolbar.Separator />\n <Toolbar.Actions />\n </Toolbar.Root>\n <GridSheet />\n <FunctionEditor />\n </StackItem.Content>\n </SheetProvider>\n ) : null;\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport React from 'react';\n\nimport { Icon } from '@dxos/react-ui';\nimport { mx } from '@dxos/react-ui-theme';\n\nimport { addressToA1Notation, isFormula, rangeToA1Notation } from '../../defs';\nimport { useSheetContext } from '../SheetContext';\n\nexport const FunctionEditor = () => {\n const { model, cursor, range } = useSheetContext();\n\n let value;\n let formula = false;\n if (cursor) {\n value = model.getCellValue(cursor);\n if (isFormula(value)) {\n value = model.graph.mapFunctionBindingFromId(model.mapFormulaIndicesToRefs(value));\n formula = true;\n } else if (value != null) {\n value = String(value);\n }\n }\n\n return (\n <div className={mx('flex shrink-0 justify-between items-center px-4 py-1 text-sm attention-surface')}>\n <div className='flex gap-4 items-center'>\n <div className='flex w-16 items-center font-mono'>\n {(range && rangeToA1Notation(range)) || (cursor && addressToA1Notation(cursor))}\n </div>\n <div className='flex gap-2 items-center'>\n <Icon icon='ph--function--regular' classNames={['text-greenText', formula ? 'visible' : 'invisible']} />\n <span className='font-mono'>{value}</span>\n </div>\n </div>\n </div>\n );\n};\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport { createContext } from '@radix-ui/react-context';\nimport React, { type PropsWithChildren, useCallback } from 'react';\n\nimport { useIntentDispatcher } from '@dxos/app-framework';\nimport {\n Icon,\n type ThemedClassName,\n Toolbar as NaturalToolbar,\n type ToolbarButtonProps as NaturalToolbarButtonProps,\n type ToolbarToggleGroupItemProps as NaturalToolbarToggleGroupItemProps,\n type ToolbarToggleProps as NaturalToolbarToggleProps,\n Tooltip,\n useTranslation,\n} from '@dxos/react-ui';\nimport { useAttention } from '@dxos/react-ui-attention';\nimport { nonNullable } from '@dxos/util';\n\nimport {\n alignKey,\n type AlignKey,\n type AlignValue,\n type CommentKey,\n type CommentValue,\n inRange,\n rangeFromIndex,\n rangeToIndex,\n styleKey,\n type StyleKey,\n type StyleValue,\n} from '../../defs';\nimport { completeCellRangeToThreadCursor } from '../../integrations';\nimport { SHEET_PLUGIN } from '../../meta';\nimport { type SheetType } from '../../types';\nimport { useSheetContext } from '../SheetContext';\n\n//\n// Buttons\n//\n\nconst buttonStyles = 'min-bs-0 p-2';\nconst tooltipProps = { side: 'bottom' as const, classNames: 'z-10' };\n\nconst ToolbarSeparator = () => <div role='separator' className='grow' />;\n\n//\n// ToolbarItem\n//\n\ntype ToolbarItemProps =\n | (NaturalToolbarButtonProps & { itemType: 'button'; icon: string })\n | (NaturalToolbarToggleGroupItemProps & { itemType: 'toggleGroupItem'; icon: string })\n | (NaturalToolbarToggleProps & { itemType: 'toggle'; icon: string });\n\nexport const ToolbarItem = ({ itemType, icon, children, ...props }: ToolbarItemProps) => {\n const Invoker =\n itemType === 'toggleGroupItem'\n ? NaturalToolbar.ToggleGroupItem\n : itemType === 'toggle'\n ? NaturalToolbar.Toggle\n : NaturalToolbar.Button;\n return (\n <Tooltip.Root>\n <Tooltip.Trigger asChild>\n {/* TODO(thure): type the props spread better. */}\n <Invoker variant='ghost' {...(props as any)} classNames={buttonStyles}>\n <Icon icon={icon} size={5} />\n <span className='sr-only'>{children}</span>\n </Invoker>\n </Tooltip.Trigger>\n <Tooltip.Portal>\n <Tooltip.Content {...tooltipProps}>\n {children}\n <Tooltip.Arrow />\n </Tooltip.Content>\n </Tooltip.Portal>\n </Tooltip.Root>\n );\n};\n\n//\n// Root\n//\n\ntype AlignAction = { key: AlignKey; value: AlignValue };\ntype CommentAction = { key: CommentKey; value: CommentValue; cellContent?: string };\ntype StyleAction = { key: StyleKey; value: StyleValue };\n\nexport type ToolbarAction = StyleAction | AlignAction | CommentAction;\nexport type ToolbarActionAnnotated = ToolbarAction & { unset?: boolean };\n\nexport type ToolbarActionType = ToolbarAction['key'];\n\nexport type ToolbarActionHandler = (action: ToolbarActionAnnotated) => void;\n\nexport type ToolbarProps = ThemedClassName<\n PropsWithChildren<{\n role?: string;\n }>\n>;\n\nconst [ToolbarContextProvider, useToolbarContext] = createContext<{\n onAction: (action: ToolbarActionAnnotated) => void;\n}>('Toolbar');\n\ntype Range = SheetType['ranges'][number];\n\nconst ToolbarRoot = ({ children, role, classNames }: ToolbarProps) => {\n const { id, model, cursorFallbackRange, cursor } = useSheetContext();\n const { hasAttention } = useAttention(id);\n const dispatch = useIntentDispatcher();\n\n // TODO(Zan): Externalize the toolbar action handler. E.g., Toolbar/keys should both fire events.\n const handleAction = useCallback(\n (action: ToolbarActionAnnotated) => {\n switch (action.key) {\n case 'alignment':\n if (cursorFallbackRange) {\n const index =\n model.sheet.ranges?.findIndex(\n (range) =>\n range.key === action.key &&\n inRange(rangeFromIndex(model.sheet, range.range), cursorFallbackRange.from),\n ) ?? -1;\n const nextRangeEntity = {\n range: rangeToIndex(model.sheet, cursorFallbackRange),\n key: action.key,\n value: action.value,\n };\n if (index < 0) {\n model.sheet.ranges?.push(nextRangeEntity);\n } else if (model.sheet.ranges![index].value === action.value) {\n model.sheet.ranges?.splice(index, 1);\n } else {\n model.sheet.ranges?.splice(index, 1, nextRangeEntity);\n }\n }\n break;\n case 'style':\n if (action.unset) {\n const index = model.sheet.ranges?.findIndex(\n (range) =>\n range.key === action.key &&\n cursorFallbackRange &&\n inRange(rangeFromIndex(model.sheet, range.range), cursorFallbackRange.from),\n );\n if (index >= 0) {\n model.sheet.ranges?.splice(index, 1);\n }\n } else if (cursorFallbackRange) {\n model.sheet.ranges?.push({\n range: rangeToIndex(model.sheet, cursorFallbackRange),\n key: action.key,\n value: action.value,\n });\n }\n break;\n case 'comment': {\n // TODO(Zan): We shouldn't hardcode the action ID.\n if (cursorFallbackRange) {\n void dispatch({\n action: 'dxos.org/plugin/thread/action/create',\n data: {\n cursor: completeCellRangeToThreadCursor(cursorFallbackRange),\n name: action.cellContent,\n subject: model.sheet,\n },\n });\n }\n }\n }\n },\n [model.sheet, cursorFallbackRange, cursor, dispatch],\n );\n\n return (\n <ToolbarContextProvider onAction={handleAction}>\n <NaturalToolbar.Root classNames={['pli-0.5', !hasAttention && 'opacity-20', classNames]}>\n {children}\n </NaturalToolbar.Root>\n </ToolbarContextProvider>\n );\n};\n\n// TODO(burdon): Generalize.\n// TODO(burdon): Detect and display current state.\ntype ButtonProps<T> = {\n value: T;\n icon: string;\n disabled?: (state: Range) => boolean;\n};\n\n//\n// Alignment\n//\n\nconst alignmentOptions: ButtonProps<AlignValue>[] = [\n { value: 'start', icon: 'ph--text-align-left--regular' },\n { value: 'center', icon: 'ph--text-align-center--regular' },\n { value: 'end', icon: 'ph--text-align-right--regular' },\n];\n\nconst Alignment = () => {\n const { cursor, model } = useSheetContext();\n const { onAction } = useToolbarContext('Alignment');\n const { t } = useTranslation(SHEET_PLUGIN);\n\n // TODO(thure): Can this O(n) call be memoized?\n const value = cursor\n ? model.sheet.ranges?.findLast(\n ({ range, key }) => key === alignKey && inRange(rangeFromIndex(model.sheet, range), cursor),\n )?.value\n : undefined;\n\n return (\n <NaturalToolbar.ToggleGroup\n type='single'\n value={\n // TODO(thure): providing `undefined` leaves the last item active which was active rather than showing none.\n value ?? 'never'\n }\n onValueChange={(value: AlignValue) => onAction?.({ key: alignKey, value })}\n >\n {alignmentOptions.map(({ value, icon }) => (\n <ToolbarItem itemType='toggleGroupItem' key={value} value={value} icon={icon}>\n {t('toolbar action label', {\n key: t(`range key ${alignKey} label`),\n value: t(`range value ${value} label`),\n })}\n </ToolbarItem>\n ))}\n </NaturalToolbar.ToggleGroup>\n );\n};\n\nconst styleOptions: ButtonProps<StyleValue>[] = [\n { value: 'highlight', icon: 'ph--highlighter--regular' },\n { value: 'softwrap', icon: 'ph--paragraph--regular' },\n];\n\nconst Styles = () => {\n const { cursorFallbackRange, model } = useSheetContext();\n const { onAction } = useToolbarContext('Styles');\n const { t } = useTranslation(SHEET_PLUGIN);\n\n // TODO(thure): Can this O(n) call be memoized?\n const activeValues = cursorFallbackRange\n ? model.sheet.ranges\n ?.filter(\n ({ range, key }) => key === 'style' && inRange(rangeFromIndex(model.sheet, range), cursorFallbackRange.from),\n )\n .reduce((acc, { value }) => {\n acc.add(value);\n return acc;\n }, new Set())\n : undefined;\n\n return (\n <>\n {styleOptions.map(({ value, icon }) => (\n <ToolbarItem\n itemType='toggle'\n key={value}\n pressed={activeValues?.has(value)}\n onPressedChange={(nextPressed: boolean) => {\n onAction?.({ key: 'style', value, unset: !nextPressed });\n }}\n icon={icon}\n >\n {t('toolbar action label', {\n key: t(`range key ${styleKey} label`),\n value: t(`range value ${value} label`),\n })}\n </ToolbarItem>\n ))}\n </>\n );\n};\n\n//\n// Actions\n//\n\nconst Actions = () => {\n const { onAction } = useToolbarContext('Actions');\n const { cursorFallbackRange, cursor, model } = useSheetContext();\n const { t } = useTranslation(SHEET_PLUGIN);\n\n // TODO(thure): Can this O(n) call be memoized?\n const overlapsCommentAnchor = (model.sheet.threads ?? [])\n .filter(nonNullable)\n .filter((thread) => thread.status !== 'resolved')\n .some((thread) => {\n if (!cursorFallbackRange) {\n return false;\n }\n return rangeToIndex(model.sheet, cursorFallbackRange) === thread.anchor;\n });\n\n const tooltipLabelKey = !cursor\n ? 'no cursor label'\n : overlapsCommentAnchor\n ? 'selection overlaps existing comment label'\n : 'comment label';\n\n return (\n <ToolbarItem\n itemType='button'\n value='comment'\n icon='ph--chat-text--regular'\n data-testid='editor.toolbar.comment'\n onClick={() => {\n if (!cursorFallbackRange) {\n return;\n }\n return onAction?.({\n key: 'comment',\n value: rangeToIndex(model.sheet, cursorFallbackRange),\n cellContent: model.getCellText(cursorFallbackRange.from),\n });\n }}\n disabled={!cursorFallbackRange || overlapsCommentAnchor}\n >\n {t(tooltipLabelKey)}\n </ToolbarItem>\n );\n};\n\nexport const Toolbar = {\n Root: ToolbarRoot,\n Separator: ToolbarSeparator,\n Alignment,\n Styles,\n Actions,\n};\n\nexport { useToolbarContext };\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport { SheetContainer } from './SheetContainer';\n\nexport default SheetContainer;\n"],
5
+ "mappings": "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",
6
+ "names": ["import_react", "import_react_ui", "FunctionEditor", "model", "cursor", "range", "useSheetContext", "value", "formula", "getCellValue", "isFormula", "graph", "mapFunctionBindingFromId", "mapFormulaIndicesToRefs", "String", "React", "div", "className", "mx", "rangeToA1Notation", "addressToA1Notation", "Icon", "icon", "classNames", "span", "buttonStyles", "tooltipProps", "side", "ToolbarSeparator", "role", "ToolbarItem", "itemType", "children", "props", "Invoker", "NaturalToolbar", "ToggleGroupItem", "Toggle", "Button", "Tooltip", "Root", "Trigger", "asChild", "variant", "size", "Portal", "Content", "Arrow", "ToolbarContextProvider", "useToolbarContext", "createContext", "ToolbarRoot", "id", "cursorFallbackRange", "hasAttention", "useAttention", "dispatch", "useIntentDispatcher", "handleAction", "useCallback", "action", "key", "index", "sheet", "ranges", "findIndex", "inRange", "rangeFromIndex", "from", "nextRangeEntity", "rangeToIndex", "push", "splice", "unset", "data", "completeCellRangeToThreadCursor", "name", "cellContent", "subject", "onAction", "alignmentOptions", "Alignment", "t", "useTranslation", "SHEET_PLUGIN", "findLast", "alignKey", "undefined", "ToggleGroup", "type", "onValueChange", "map", "styleOptions", "Styles", "activeValues", "filter", "reduce", "acc", "add", "Set", "pressed", "has", "onPressedChange", "nextPressed", "styleKey", "Actions", "overlapsCommentAnchor", "threads", "nonNullable", "thread", "status", "some", "anchor", "tooltipLabelKey", "data-testid", "onClick", "getCellText", "disabled", "Toolbar", "Separator", "SheetContainer", "space", "useComputeGraph", "SheetProvider", "StackItem", "toolbar", "statusbar", "GridSheet"]
7
+ }
@@ -26,8 +26,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_545PZPK3_exports = {};
30
- __export(chunk_545PZPK3_exports, {
29
+ var chunk_OO24XJBV_exports = {};
30
+ __export(chunk_OO24XJBV_exports, {
31
31
  ComputeGraphContextProvider: () => ComputeGraphContextProvider,
32
32
  GridSheet: () => GridSheet,
33
33
  RangeList: () => RangeList,
@@ -38,7 +38,7 @@ __export(chunk_545PZPK3_exports, {
38
38
  useComputeGraph: () => useComputeGraph,
39
39
  useSheetContext: () => useSheetContext
40
40
  });
41
- module.exports = __toCommonJS(chunk_545PZPK3_exports);
41
+ module.exports = __toCommonJS(chunk_OO24XJBV_exports);
42
42
  var import_chunk_O7XR4R7Y = require("./chunk-O7XR4R7Y.cjs");
43
43
  var import_chunk_AWKOWDMI = require("./chunk-AWKOWDMI.cjs");
44
44
  var import_chunk_2ZVZI2KJ = require("./chunk-2ZVZI2KJ.cjs");
@@ -1027,7 +1027,7 @@ var RangeList = ({ sheet }) => {
1027
1027
  onClick: () => handleDeleteRange(range)
1028
1028
  })))));
1029
1029
  };
1030
- var SheetContainer = (0, import_react7.lazy)(() => import("./SheetContainer-VSC6XF3M.cjs"));
1030
+ var SheetContainer = (0, import_react7.lazy)(() => import("./SheetContainer-MPFKXY26.cjs"));
1031
1031
  var completeCellRangeToThreadCursor = (range) => {
1032
1032
  return `${range.from.col},${range.from.row},${range.to.col},${range.to.row}`;
1033
1033
  };
@@ -1199,11 +1199,12 @@ var gridCellGetter = (model) => {
1199
1199
  };
1200
1200
  var rowLabelCell = (row) => ({
1201
1201
  value: (0, import_react_ui_grid3.rowToA1Notation)(row),
1202
- className: "text-end !pie-1",
1202
+ className: "text-end !pie-1 text-subdued",
1203
1203
  resizeHandle: "row"
1204
1204
  });
1205
1205
  var colLabelCell = (col) => ({
1206
1206
  value: (0, import_react_ui_grid3.colToA1Notation)(col),
1207
+ className: "text-subdued",
1207
1208
  resizeHandle: "col"
1208
1209
  });
1209
1210
  var cellGetter = (model) => {
@@ -1310,11 +1311,11 @@ var frozen = {
1310
1311
  };
1311
1312
  var sheetRowDefault = {
1312
1313
  frozenRowsStart: {
1313
- size: 32,
1314
+ size: import_react_ui_grid2.defaultSizeRow,
1314
1315
  readonly: true
1315
1316
  },
1316
1317
  grid: {
1317
- size: 32,
1318
+ size: import_react_ui_grid2.defaultSizeRow,
1318
1319
  resizeable: true
1319
1320
  }
1320
1321
  };
@@ -1609,7 +1610,7 @@ var GridSheet = () => {
1609
1610
  onContextMenu: handleContextMenu,
1610
1611
  onClick: handleClick,
1611
1612
  overscroll: "trap",
1612
- className: "[--dx-grid-base:var(--surface-bg)]",
1613
+ className: "[--dx-grid-base:var(--surface-bg)] [&_.dx-grid]:border-bs [&_.dx-grid]:border-separator",
1613
1614
  activeRefs,
1614
1615
  ref: setDxGrid
1615
1616
  }), /* @__PURE__ */ import_react4.default.createElement(import_react_ui.DropdownMenu.Root, {
@@ -1651,4 +1652,4 @@ var GridSheet = () => {
1651
1652
  useComputeGraph,
1652
1653
  useSheetContext
1653
1654
  });
1654
- //# sourceMappingURL=chunk-545PZPK3.cjs.map
1655
+ //# sourceMappingURL=chunk-OO24XJBV.cjs.map