@dxos/plugin-sheet 0.8.4-main.72ec0f3 → 0.8.4-main.7ace549

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 (59) hide show
  1. package/dist/lib/browser/{SheetContainer-66BNB3XG.mjs → SheetContainer-WDKJPYCB.mjs} +3 -3
  2. package/dist/lib/browser/{anchor-sort-FCQ5OZZK.mjs → anchor-sort-OWOAGQM6.mjs} +2 -2
  3. package/dist/lib/browser/{chunk-OU5KTWY3.mjs → chunk-6ILNTWSF.mjs} +6 -6
  4. package/dist/lib/browser/{chunk-OU5KTWY3.mjs.map → chunk-6ILNTWSF.mjs.map} +3 -3
  5. package/dist/lib/browser/{chunk-DVJ3QW3F.mjs → chunk-GBK6OLCY.mjs} +14 -14
  6. package/dist/lib/browser/chunk-GBK6OLCY.mjs.map +7 -0
  7. package/dist/lib/browser/index.mjs +17 -17
  8. package/dist/lib/browser/index.mjs.map +3 -3
  9. package/dist/lib/browser/{intent-resolver-66OAYVQF.mjs → intent-resolver-OMHQGXFL.mjs} +2 -2
  10. package/dist/lib/browser/meta.json +1 -1
  11. package/dist/lib/browser/{react-surface-5GYLVSMR.mjs → react-surface-VPLFBQSV.mjs} +3 -3
  12. package/dist/lib/browser/types/index.mjs +1 -1
  13. package/dist/lib/node-esm/{SheetContainer-NWEQETAY.mjs → SheetContainer-62MZAU6Q.mjs} +3 -3
  14. package/dist/lib/node-esm/{anchor-sort-ZE7IS7SH.mjs → anchor-sort-FG3DS4HM.mjs} +2 -2
  15. package/dist/lib/node-esm/{chunk-4H2EHVWE.mjs → chunk-KSHCRK5J.mjs} +14 -14
  16. package/dist/lib/node-esm/chunk-KSHCRK5J.mjs.map +7 -0
  17. package/dist/lib/node-esm/{chunk-4MT3JJU2.mjs → chunk-QI3PNRCD.mjs} +6 -6
  18. package/dist/lib/node-esm/{chunk-4MT3JJU2.mjs.map → chunk-QI3PNRCD.mjs.map} +3 -3
  19. package/dist/lib/node-esm/index.mjs +17 -17
  20. package/dist/lib/node-esm/index.mjs.map +3 -3
  21. package/dist/lib/node-esm/{intent-resolver-VNKIMQQT.mjs → intent-resolver-DHEHYV3B.mjs} +2 -2
  22. package/dist/lib/node-esm/meta.json +1 -1
  23. package/dist/lib/node-esm/{react-surface-RK32YZWR.mjs → react-surface-YLTZQVNL.mjs} +3 -3
  24. package/dist/lib/node-esm/types/index.mjs +1 -1
  25. package/dist/types/src/SheetPlugin.d.ts.map +1 -1
  26. package/dist/types/src/components/GridSheet/GridSheet.stories.d.ts +1 -0
  27. package/dist/types/src/components/GridSheet/GridSheet.stories.d.ts.map +1 -1
  28. package/dist/types/src/components/SheetContainer/SheetContainer.stories.d.ts +1 -0
  29. package/dist/types/src/components/SheetContainer/SheetContainer.stories.d.ts.map +1 -1
  30. package/dist/types/src/components/SheetToolbar/SheetToolbar.stories.d.ts +2 -0
  31. package/dist/types/src/components/SheetToolbar/SheetToolbar.stories.d.ts.map +1 -1
  32. package/dist/types/src/model/sheet-model.d.ts +2 -2
  33. package/dist/types/src/model/sheet-model.d.ts.map +1 -1
  34. package/dist/types/src/serializer.d.ts.map +1 -1
  35. package/dist/types/src/testing/testing.d.ts +1 -1
  36. package/dist/types/src/translations.d.ts +1 -0
  37. package/dist/types/src/translations.d.ts.map +1 -1
  38. package/dist/types/src/types/Sheet.d.ts +2 -2
  39. package/dist/types/src/types/Sheet.d.ts.map +1 -1
  40. package/dist/types/tsconfig.tsbuildinfo +1 -1
  41. package/package.json +49 -48
  42. package/src/SheetPlugin.tsx +6 -12
  43. package/src/components/GridSheet/SheetCellEditor.stories.tsx +1 -1
  44. package/src/components/GridSheet/util.ts +1 -1
  45. package/src/integrations/thread-ranges.ts +2 -2
  46. package/src/model/sheet-model.ts +8 -8
  47. package/src/serializer.ts +1 -1
  48. package/src/translations.ts +1 -0
  49. package/src/types/Sheet.ts +7 -7
  50. package/dist/lib/browser/chunk-DVJ3QW3F.mjs.map +0 -7
  51. package/dist/lib/node-esm/chunk-4H2EHVWE.mjs.map +0 -7
  52. /package/dist/lib/browser/{SheetContainer-66BNB3XG.mjs.map → SheetContainer-WDKJPYCB.mjs.map} +0 -0
  53. /package/dist/lib/browser/{anchor-sort-FCQ5OZZK.mjs.map → anchor-sort-OWOAGQM6.mjs.map} +0 -0
  54. /package/dist/lib/browser/{intent-resolver-66OAYVQF.mjs.map → intent-resolver-OMHQGXFL.mjs.map} +0 -0
  55. /package/dist/lib/browser/{react-surface-5GYLVSMR.mjs.map → react-surface-VPLFBQSV.mjs.map} +0 -0
  56. /package/dist/lib/node-esm/{SheetContainer-NWEQETAY.mjs.map → SheetContainer-62MZAU6Q.mjs.map} +0 -0
  57. /package/dist/lib/node-esm/{anchor-sort-ZE7IS7SH.mjs.map → anchor-sort-FG3DS4HM.mjs.map} +0 -0
  58. /package/dist/lib/node-esm/{intent-resolver-VNKIMQQT.mjs.map → intent-resolver-DHEHYV3B.mjs.map} +0 -0
  59. /package/dist/lib/node-esm/{react-surface-RK32YZWR.mjs.map → react-surface-YLTZQVNL.mjs.map} +0 -0
@@ -4,30 +4,28 @@ import {
4
4
  import {
5
5
  SheetAction,
6
6
  Sheet_exports
7
- } from "./chunk-DVJ3QW3F.mjs";
7
+ } from "./chunk-GBK6OLCY.mjs";
8
8
  import {
9
9
  meta
10
10
  } from "./chunk-FWFAAGXL.mjs";
11
11
 
12
12
  // src/capabilities/index.ts
13
13
  import { lazy } from "@dxos/app-framework";
14
- var AnchorSort = lazy(() => import("./anchor-sort-FCQ5OZZK.mjs"));
14
+ var AnchorSort = lazy(() => import("./anchor-sort-OWOAGQM6.mjs"));
15
15
  var ComputeGraphRegistry = lazy(() => import("./compute-graph-registry-AP5RA7W3.mjs"));
16
- var IntentResolver = lazy(() => import("./intent-resolver-66OAYVQF.mjs"));
16
+ var IntentResolver = lazy(() => import("./intent-resolver-OMHQGXFL.mjs"));
17
17
  var Markdown = lazy(() => import("./markdown-B6VKYY2S.mjs"));
18
- var ReactSurface = lazy(() => import("./react-surface-5GYLVSMR.mjs"));
18
+ var ReactSurface = lazy(() => import("./react-surface-VPLFBQSV.mjs"));
19
19
 
20
20
  // src/SheetPlugin.tsx
21
21
  import { Capabilities, Events, allOf, contributes, createIntent, defineModule, definePlugin } from "@dxos/app-framework";
22
22
  import { AutomationEvents } from "@dxos/plugin-automation";
23
- import { ClientEvents } from "@dxos/plugin-client";
23
+ import { ClientCapabilities, ClientEvents } from "@dxos/plugin-client";
24
24
  import { MarkdownEvents } from "@dxos/plugin-markdown";
25
- import { SpaceCapabilities } from "@dxos/plugin-space";
26
- import { defineObjectForm } from "@dxos/plugin-space/types";
27
25
 
28
26
  // src/serializer.ts
29
27
  import { Obj } from "@dxos/echo";
30
- import { getObjectCore } from "@dxos/react-client/echo";
28
+ import { getObjectCore } from "@dxos/echo-db";
31
29
  var serializer = {
32
30
  serialize: async ({ object }) => {
33
31
  return JSON.stringify(object, null, 2);
@@ -54,7 +52,8 @@ var translations = [
54
52
  "typename label_other": "Sheets",
55
53
  "object name placeholder": "New sheet",
56
54
  "rename object label": "Rename sheet",
57
- "delete object label": "Delete sheet"
55
+ "delete object label": "Delete sheet",
56
+ "object deleted label": "Sheet deleted"
58
57
  },
59
58
  [meta.id]: {
60
59
  "plugin name": "Sheets",
@@ -110,19 +109,20 @@ var SheetPlugin = definePlugin(meta, () => [
110
109
  icon: "ph--grid-nine--regular",
111
110
  iconHue: "indigo",
112
111
  serializer,
113
- comments: "anchored"
112
+ comments: "anchored",
113
+ createObjectIntent: (props) => createIntent(SheetAction.Create, {
114
+ ...props
115
+ }),
116
+ addToCollectionOnCreate: true
114
117
  }
115
118
  })
116
119
  }),
117
120
  defineModule({
118
- id: `${meta.id}/module/object-form`,
121
+ id: `${meta.id}/module/schema`,
119
122
  activatesOn: ClientEvents.SetupSchema,
120
- activate: () => contributes(SpaceCapabilities.ObjectForm, defineObjectForm({
121
- objectSchema: Sheet_exports.Sheet,
122
- getIntent: (props) => createIntent(SheetAction.Create, {
123
- ...props
124
- })
125
- }))
123
+ activate: () => contributes(ClientCapabilities.Schema, [
124
+ Sheet_exports.Sheet
125
+ ])
126
126
  }),
127
127
  defineModule({
128
128
  id: `${meta.id}/module/markdown`,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/capabilities/index.ts", "../../../src/SheetPlugin.tsx", "../../../src/serializer.ts", "../../../src/translations.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { lazy } from '@dxos/app-framework';\n\nexport const AnchorSort = lazy(() => import('./anchor-sort'));\nexport const ComputeGraphRegistry = lazy(() => import('./compute-graph-registry'));\nexport const IntentResolver = lazy(() => import('./intent-resolver'));\nexport const Markdown = lazy(() => import('./markdown'));\nexport const ReactSurface = lazy(() => import('./react-surface'));\n\nexport * from './capabilities';\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport {\n Capabilities,\n Events,\n allOf,\n contributes,\n createIntent,\n defineModule,\n definePlugin,\n} from '@dxos/app-framework';\nimport { AutomationEvents } from '@dxos/plugin-automation';\nimport { ClientEvents } from '@dxos/plugin-client';\nimport { MarkdownEvents } from '@dxos/plugin-markdown';\nimport { SpaceCapabilities } from '@dxos/plugin-space';\nimport { defineObjectForm } from '@dxos/plugin-space/types';\n\nimport { AnchorSort, ComputeGraphRegistry, IntentResolver, Markdown, ReactSurface } from './capabilities';\nimport { meta } from './meta';\nimport { serializer } from './serializer';\nimport { translations } from './translations';\nimport { Sheet, SheetAction } from './types';\n\nexport const SheetPlugin = definePlugin(meta, () => [\n defineModule({\n id: `${meta.id}/module/compute-graph-registry`,\n activatesOn: allOf(ClientEvents.ClientReady, AutomationEvents.ComputeRuntimeReady),\n activate: ComputeGraphRegistry,\n }),\n defineModule({\n id: `${meta.id}/module/translations`,\n activatesOn: Events.SetupTranslations,\n activate: () => contributes(Capabilities.Translations, translations),\n }),\n defineModule({\n id: `${meta.id}/module/metadata`,\n activatesOn: Events.SetupMetadata,\n activate: () =>\n contributes(Capabilities.Metadata, {\n id: Sheet.Sheet.typename,\n metadata: {\n label: (object: Sheet.Sheet) => object.name,\n icon: 'ph--grid-nine--regular',\n iconHue: 'indigo',\n serializer,\n comments: 'anchored',\n },\n }),\n }),\n defineModule({\n id: `${meta.id}/module/object-form`,\n activatesOn: ClientEvents.SetupSchema,\n activate: () =>\n contributes(\n SpaceCapabilities.ObjectForm,\n defineObjectForm({\n objectSchema: Sheet.Sheet,\n getIntent: (props) => createIntent(SheetAction.Create, { ...props }),\n }),\n ),\n }),\n defineModule({\n id: `${meta.id}/module/markdown`,\n activatesOn: MarkdownEvents.SetupExtensions,\n activate: Markdown,\n }),\n defineModule({\n id: `${meta.id}/module/anchor-sort`,\n // TODO(wittjosiah): More relevant event?\n activatesOn: Events.AppGraphReady,\n activate: AnchorSort,\n }),\n defineModule({\n id: `${meta.id}/module/react-surface`,\n activatesOn: Events.SetupReactSurface,\n activate: ReactSurface,\n }),\n defineModule({\n id: `${meta.id}/module/intent-resolver`,\n activatesOn: Events.SetupIntentResolver,\n activate: IntentResolver,\n }),\n]);\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport { Obj } from '@dxos/echo';\nimport { type TypedObjectSerializer } from '@dxos/plugin-space/types';\nimport { getObjectCore } from '@dxos/react-client/echo';\n\nimport { Sheet } from './types';\n\nexport const serializer: TypedObjectSerializer<Sheet.Sheet> = {\n serialize: async ({ object }): Promise<string> => {\n return JSON.stringify(object, null, 2);\n },\n\n deserialize: async ({ content, newId }) => {\n const { id, ...parsed } = JSON.parse(content);\n const sheet = Obj.make(Sheet.Sheet, parsed);\n\n if (!newId) {\n const core = getObjectCore(sheet);\n core.id = id;\n }\n\n return sheet;\n },\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from './meta';\nimport { Sheet } from './types';\n\nexport const translations = [\n {\n 'en-US': {\n [Sheet.Sheet.typename]: {\n 'typename label': 'Sheet',\n 'typename label_zero': 'Sheets',\n 'typename label_one': 'Sheet',\n 'typename label_other': 'Sheets',\n 'object name placeholder': 'New sheet',\n 'rename object label': 'Rename sheet',\n 'delete object label': 'Delete sheet',\n },\n [meta.id]: {\n 'plugin name': 'Sheets',\n 'cell placeholder': 'Cell value...',\n 'range key alignment label': 'Align',\n 'range key style label': 'Style',\n 'range value start label': 'Align left',\n 'range value center label': 'Align center',\n 'range value end label': 'Align right',\n 'range value softwrap label': 'Wrap text',\n 'range value highlight label': 'Highlight',\n 'toolbar action label': '{{value}}',\n 'selection overlaps existing comment label': 'Selected cell already has a comment',\n 'comment label': 'Add comment',\n 'comment ranges not supported label': 'Commenting on ranges is not yet supported',\n 'no cursor label': 'Select a cell to comment',\n 'open comment for sheet cell': 'View comments for cell',\n 'add col before label': 'Add column before',\n 'add col after label': 'Add column after',\n 'delete col label': 'Delete column',\n 'add row before label': 'Add row before',\n 'add row after label': 'Add row after',\n 'delete row label': 'Delete row',\n 'range list heading': 'Ranges',\n 'no ranges message': 'No ranges',\n 'range title': '{{position}} — {{value}}',\n 'col dropped label': 'Deleted a column',\n 'row dropped label': 'Deleted a row',\n },\n },\n },\n] as const satisfies Resource[];\n"],
5
- "mappings": "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",
6
- "names": ["lazy", "AnchorSort", "lazy", "ComputeGraphRegistry", "IntentResolver", "Markdown", "ReactSurface", "Capabilities", "Events", "allOf", "contributes", "createIntent", "defineModule", "definePlugin", "AutomationEvents", "ClientEvents", "MarkdownEvents", "SpaceCapabilities", "defineObjectForm", "Obj", "getObjectCore", "serializer", "serialize", "object", "JSON", "stringify", "deserialize", "content", "newId", "id", "parsed", "parse", "sheet", "Obj", "make", "Sheet", "core", "getObjectCore", "translations", "Sheet", "typename", "meta", "id", "SheetPlugin", "definePlugin", "meta", "defineModule", "id", "activatesOn", "allOf", "ClientEvents", "ClientReady", "AutomationEvents", "ComputeRuntimeReady", "activate", "ComputeGraphRegistry", "Events", "SetupTranslations", "contributes", "Capabilities", "Translations", "translations", "SetupMetadata", "Metadata", "Sheet", "typename", "metadata", "label", "object", "name", "icon", "iconHue", "serializer", "comments", "SetupSchema", "SpaceCapabilities", "ObjectForm", "defineObjectForm", "objectSchema", "getIntent", "props", "createIntent", "SheetAction", "Create", "MarkdownEvents", "SetupExtensions", "Markdown", "AppGraphReady", "AnchorSort", "SetupReactSurface", "ReactSurface", "SetupIntentResolver", "IntentResolver"]
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { lazy } from '@dxos/app-framework';\n\nexport const AnchorSort = lazy(() => import('./anchor-sort'));\nexport const ComputeGraphRegistry = lazy(() => import('./compute-graph-registry'));\nexport const IntentResolver = lazy(() => import('./intent-resolver'));\nexport const Markdown = lazy(() => import('./markdown'));\nexport const ReactSurface = lazy(() => import('./react-surface'));\n\nexport * from './capabilities';\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport {\n Capabilities,\n Events,\n allOf,\n contributes,\n createIntent,\n defineModule,\n definePlugin,\n} from '@dxos/app-framework';\nimport { AutomationEvents } from '@dxos/plugin-automation';\nimport { ClientCapabilities, ClientEvents } from '@dxos/plugin-client';\nimport { MarkdownEvents } from '@dxos/plugin-markdown';\nimport { type CreateObjectIntent } from '@dxos/plugin-space/types';\n\nimport { AnchorSort, ComputeGraphRegistry, IntentResolver, Markdown, ReactSurface } from './capabilities';\nimport { meta } from './meta';\nimport { serializer } from './serializer';\nimport { translations } from './translations';\nimport { Sheet, SheetAction } from './types';\n\nexport const SheetPlugin = definePlugin(meta, () => [\n defineModule({\n id: `${meta.id}/module/compute-graph-registry`,\n activatesOn: allOf(ClientEvents.ClientReady, AutomationEvents.ComputeRuntimeReady),\n activate: ComputeGraphRegistry,\n }),\n defineModule({\n id: `${meta.id}/module/translations`,\n activatesOn: Events.SetupTranslations,\n activate: () => contributes(Capabilities.Translations, translations),\n }),\n defineModule({\n id: `${meta.id}/module/metadata`,\n activatesOn: Events.SetupMetadata,\n activate: () =>\n contributes(Capabilities.Metadata, {\n id: Sheet.Sheet.typename,\n metadata: {\n label: (object: Sheet.Sheet) => object.name,\n icon: 'ph--grid-nine--regular',\n iconHue: 'indigo',\n serializer,\n comments: 'anchored',\n createObjectIntent: ((props) => createIntent(SheetAction.Create, { ...props })) satisfies CreateObjectIntent,\n addToCollectionOnCreate: true,\n },\n }),\n }),\n defineModule({\n id: `${meta.id}/module/schema`,\n activatesOn: ClientEvents.SetupSchema,\n activate: () => contributes(ClientCapabilities.Schema, [Sheet.Sheet]),\n }),\n defineModule({\n id: `${meta.id}/module/markdown`,\n activatesOn: MarkdownEvents.SetupExtensions,\n activate: Markdown,\n }),\n defineModule({\n id: `${meta.id}/module/anchor-sort`,\n // TODO(wittjosiah): More relevant event?\n activatesOn: Events.AppGraphReady,\n activate: AnchorSort,\n }),\n defineModule({\n id: `${meta.id}/module/react-surface`,\n activatesOn: Events.SetupReactSurface,\n activate: ReactSurface,\n }),\n defineModule({\n id: `${meta.id}/module/intent-resolver`,\n activatesOn: Events.SetupIntentResolver,\n activate: IntentResolver,\n }),\n]);\n", "//\n// Copyright 2024 DXOS.org\n//\n\nimport { Obj } from '@dxos/echo';\nimport { getObjectCore } from '@dxos/echo-db';\nimport { type TypedObjectSerializer } from '@dxos/plugin-space/types';\n\nimport { Sheet } from './types';\n\nexport const serializer: TypedObjectSerializer<Sheet.Sheet> = {\n serialize: async ({ object }): Promise<string> => {\n return JSON.stringify(object, null, 2);\n },\n\n deserialize: async ({ content, newId }) => {\n const { id, ...parsed } = JSON.parse(content);\n const sheet = Obj.make(Sheet.Sheet, parsed);\n\n if (!newId) {\n const core = getObjectCore(sheet);\n core.id = id;\n }\n\n return sheet;\n },\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from './meta';\nimport { Sheet } from './types';\n\nexport const translations = [\n {\n 'en-US': {\n [Sheet.Sheet.typename]: {\n 'typename label': 'Sheet',\n 'typename label_zero': 'Sheets',\n 'typename label_one': 'Sheet',\n 'typename label_other': 'Sheets',\n 'object name placeholder': 'New sheet',\n 'rename object label': 'Rename sheet',\n 'delete object label': 'Delete sheet',\n 'object deleted label': 'Sheet deleted',\n },\n [meta.id]: {\n 'plugin name': 'Sheets',\n 'cell placeholder': 'Cell value...',\n 'range key alignment label': 'Align',\n 'range key style label': 'Style',\n 'range value start label': 'Align left',\n 'range value center label': 'Align center',\n 'range value end label': 'Align right',\n 'range value softwrap label': 'Wrap text',\n 'range value highlight label': 'Highlight',\n 'toolbar action label': '{{value}}',\n 'selection overlaps existing comment label': 'Selected cell already has a comment',\n 'comment label': 'Add comment',\n 'comment ranges not supported label': 'Commenting on ranges is not yet supported',\n 'no cursor label': 'Select a cell to comment',\n 'open comment for sheet cell': 'View comments for cell',\n 'add col before label': 'Add column before',\n 'add col after label': 'Add column after',\n 'delete col label': 'Delete column',\n 'add row before label': 'Add row before',\n 'add row after label': 'Add row after',\n 'delete row label': 'Delete row',\n 'range list heading': 'Ranges',\n 'no ranges message': 'No ranges',\n 'range title': '{{position}} — {{value}}',\n 'col dropped label': 'Deleted a column',\n 'row dropped label': 'Deleted a row',\n },\n },\n },\n] as const satisfies Resource[];\n"],
5
+ "mappings": "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",
6
+ "names": ["lazy", "AnchorSort", "lazy", "ComputeGraphRegistry", "IntentResolver", "Markdown", "ReactSurface", "Capabilities", "Events", "allOf", "contributes", "createIntent", "defineModule", "definePlugin", "AutomationEvents", "ClientCapabilities", "ClientEvents", "MarkdownEvents", "Obj", "getObjectCore", "serializer", "serialize", "object", "JSON", "stringify", "deserialize", "content", "newId", "id", "parsed", "parse", "sheet", "Obj", "make", "Sheet", "core", "getObjectCore", "translations", "Sheet", "typename", "meta", "id", "SheetPlugin", "definePlugin", "meta", "defineModule", "id", "activatesOn", "allOf", "ClientEvents", "ClientReady", "AutomationEvents", "ComputeRuntimeReady", "activate", "ComputeGraphRegistry", "Events", "SetupTranslations", "contributes", "Capabilities", "Translations", "translations", "SetupMetadata", "Metadata", "Sheet", "typename", "metadata", "label", "object", "name", "icon", "iconHue", "serializer", "comments", "createObjectIntent", "props", "createIntent", "SheetAction", "Create", "addToCollectionOnCreate", "SetupSchema", "ClientCapabilities", "Schema", "MarkdownEvents", "SetupExtensions", "Markdown", "AppGraphReady", "AnchorSort", "SetupReactSurface", "ReactSurface", "SetupIntentResolver", "IntentResolver"]
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SheetAction,
3
3
  Sheet_exports
4
- } from "./chunk-DVJ3QW3F.mjs";
4
+ } from "./chunk-GBK6OLCY.mjs";
5
5
  import {
6
6
  meta
7
7
  } from "./chunk-FWFAAGXL.mjs";
@@ -53,4 +53,4 @@ var intent_resolver_default = (() => contributes(Capabilities.IntentResolver, [
53
53
  export {
54
54
  intent_resolver_default as default
55
55
  };
56
- //# sourceMappingURL=intent-resolver-66OAYVQF.mjs.map
56
+ //# sourceMappingURL=intent-resolver-OMHQGXFL.mjs.map
@@ -1 +1 @@
1
- {"inputs":{"src/meta.ts":{"bytes":2115,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/capabilities.ts":{"bytes":1439,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/util.ts":{"bytes":13782,"imports":[{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/types/Sheet.ts":{"bytes":10707,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"src/types/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/types/sheet-range-types.ts":{"bytes":3720,"imports":[],"format":"esm"},"src/model/sheet-model.ts":{"bytes":57870,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/model/useSheetModel.ts":{"bytes":3024,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/model/index.ts","kind":"import-statement","original":"../model"}],"format":"esm"},"src/model/index.ts":{"bytes":574,"imports":[{"path":"src/model/sheet-model.ts","kind":"import-statement","original":"./sheet-model"},{"path":"src/model/useSheetModel.ts","kind":"import-statement","original":"./useSheetModel"}],"format":"esm"},"src/types/types.ts":{"bytes":7011,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/model/index.ts","kind":"import-statement","original":"../model"},{"path":"src/types/Sheet.ts","kind":"import-statement","original":"./Sheet"}],"format":"esm"},"src/types/index.ts":{"bytes":778,"imports":[{"path":"src/types/Sheet.ts","kind":"import-statement","original":"./Sheet"},{"path":"src/types/sheet-range-types.ts","kind":"import-statement","original":"./sheet-range-types"},{"path":"src/types/types.ts","kind":"import-statement","original":"./types"},{"path":"src/types/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/capabilities/anchor-sort.ts":{"bytes":2607,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/capabilities/compute-graph-registry.ts":{"bytes":3349,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"@dxos/compute","kind":"dynamic-import","external":true}],"format":"esm"},"src/capabilities/intent-resolver.ts":{"bytes":5426,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/extensions/compute.ts":{"bytes":17694,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/editor/sheet-extension.ts":{"bytes":28539,"imports":[{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"codemirror-lang-spreadsheet","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/editor/index.ts":{"bytes":493,"imports":[{"path":"src/extensions/editor/sheet-extension.ts","kind":"import-statement","original":"./sheet-extension"}],"format":"esm"},"src/extensions/index.ts":{"bytes":548,"imports":[{"path":"src/extensions/compute.ts","kind":"import-statement","original":"./compute"},{"path":"src/extensions/editor/index.ts","kind":"import-statement","original":"./editor"}],"format":"esm"},"src/capabilities/markdown.ts":{"bytes":2952,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"src/extensions/index.ts","kind":"import-statement","original":"../extensions"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytes":4223,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true}],"format":"esm"},"src/components/ComputeGraph/index.ts":{"bytes":527,"imports":[{"path":"src/components/ComputeGraph/ComputeGraphContextProvider.tsx","kind":"import-statement","original":"./ComputeGraphContextProvider"}],"format":"esm"},"src/integrations/thread-ranges.ts":{"bytes":15474,"imports":[{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-thread/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/integrations/index.ts":{"bytes":486,"imports":[{"path":"src/integrations/thread-ranges.ts","kind":"import-statement","original":"./thread-ranges"}],"format":"esm"},"src/components/SheetContext/SheetContext.tsx":{"bytes":10941,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"src/model/index.ts","kind":"import-statement","original":"../../model"}],"format":"esm"},"src/components/SheetContext/index.ts":{"bytes":492,"imports":[{"path":"src/components/SheetContext/SheetContext.tsx","kind":"import-statement","original":"./SheetContext"}],"format":"esm"},"src/components/GridSheet/util.ts":{"bytes":21724,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/components/GridSheet/GridSheet.tsx":{"bytes":47086,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/lit-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"src/extensions/index.ts","kind":"import-statement","original":"../../extensions"},{"path":"src/integrations/index.ts","kind":"import-statement","original":"../../integrations"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"},{"path":"src/components/GridSheet/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/components/GridSheet/index.ts":{"bytes":482,"imports":[{"path":"src/components/GridSheet/GridSheet.tsx","kind":"import-statement","original":"./GridSheet"}],"format":"esm"},"src/components/RangeList/RangeList.tsx":{"bytes":7937,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/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":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/components/RangeList/index.ts":{"bytes":482,"imports":[{"path":"src/components/RangeList/RangeList.tsx","kind":"import-statement","original":"./RangeList"}],"format":"esm"},"src/components/FunctionEditor/FunctionEditor.tsx":{"bytes":5396,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"src/components/FunctionEditor/index.ts":{"bytes":500,"imports":[{"path":"src/components/FunctionEditor/FunctionEditor.tsx","kind":"import-statement","original":"./FunctionEditor"}],"format":"esm"},"src/components/SheetToolbar/align.ts":{"bytes":12241,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"src/components/SheetToolbar/style.ts":{"bytes":12520,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"src/components/SheetToolbar/useToolbarState.ts":{"bytes":1362,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"format":"esm"},"src/components/SheetToolbar/SheetToolbar.tsx":{"bytes":9268,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"},{"path":"src/components/SheetToolbar/align.ts","kind":"import-statement","original":"./align"},{"path":"src/components/SheetToolbar/style.ts","kind":"import-statement","original":"./style"},{"path":"src/components/SheetToolbar/useToolbarState.ts","kind":"import-statement","original":"./useToolbarState"}],"format":"esm"},"src/components/SheetToolbar/index.ts":{"bytes":492,"imports":[{"path":"src/components/SheetToolbar/SheetToolbar.tsx","kind":"import-statement","original":"./SheetToolbar"}],"format":"esm"},"src/components/SheetContainer/SheetContainer.tsx":{"bytes":4420,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"src/components/ComputeGraph/index.ts","kind":"import-statement","original":"../ComputeGraph"},{"path":"src/components/FunctionEditor/index.ts","kind":"import-statement","original":"../FunctionEditor"},{"path":"src/components/GridSheet/index.ts","kind":"import-statement","original":"../GridSheet"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"},{"path":"src/components/SheetToolbar/index.ts","kind":"import-statement","original":"../SheetToolbar"}],"format":"esm"},"src/components/SheetContainer/index.ts":{"bytes":676,"imports":[{"path":"src/components/SheetContainer/SheetContainer.tsx","kind":"import-statement","original":"./SheetContainer"}],"format":"esm"},"src/components/index.ts":{"bytes":1135,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/ComputeGraph/index.ts","kind":"import-statement","original":"./ComputeGraph"},{"path":"src/components/GridSheet/index.ts","kind":"import-statement","original":"./GridSheet"},{"path":"src/components/RangeList/index.ts","kind":"import-statement","original":"./RangeList"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"./SheetContext"},{"path":"src/components/SheetContainer/index.ts","kind":"dynamic-import","original":"./SheetContainer"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":5694,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":1878,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/capabilities/anchor-sort.ts","kind":"dynamic-import","original":"./anchor-sort"},{"path":"src/capabilities/compute-graph-registry.ts","kind":"dynamic-import","original":"./compute-graph-registry"},{"path":"src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"src/capabilities/markdown.ts","kind":"dynamic-import","original":"./markdown"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/serializer.ts":{"bytes":2576,"imports":[{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/translations.ts":{"bytes":6035,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/SheetPlugin.tsx":{"bytes":9893,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/serializer.ts","kind":"import-statement","original":"./serializer"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/index.ts":{"bytes":735,"imports":[{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/SheetPlugin.tsx","kind":"import-statement","original":"./SheetPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9612},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-73AV3NH6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-DVJ3QW3F.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/anchor-sort-FCQ5OZZK.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/compute-graph-registry-AP5RA7W3.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/intent-resolver-66OAYVQF.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/markdown-B6VKYY2S.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-5GYLVSMR.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["SheetCapabilities","SheetPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/capabilities/index.ts":{"bytesInOutput":407},"src/index.ts":{"bytesInOutput":0},"src/SheetPlugin.tsx":{"bytesInOutput":2131},"src/serializer.ts":{"bytesInOutput":461},"src/translations.ts":{"bytesInOutput":1754}},"bytes":5145},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-DVJ3QW3F.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"}],"exports":["ApiError","DEFAULT_COLS","DEFAULT_ROWS","MAX_COLS","MAX_ROWS","RangeException","ReadonlyException","Sheet","SheetAction","addressFromIndex","addressToIndex","alignKey","cellClassNameForRange","commentKey","compareIndexPositions","createIndex","createIndices","initialize","insertIndices","mapFormulaIndicesToRefs","mapFormulaRefsToIndices","rangeFromIndex","rangeToIndex","styleKey"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":959},"dist/lib/browser/anchor-sort-FCQ5OZZK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1368},"dist/lib/browser/anchor-sort-FCQ5OZZK.mjs":{"imports":[{"path":"dist/lib/browser/chunk-DVJ3QW3F.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/anchor-sort.ts","inputs":{"src/capabilities/anchor-sort.ts":{"bytesInOutput":486}},"bytes":729},"dist/lib/browser/compute-graph-registry-AP5RA7W3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1668},"dist/lib/browser/compute-graph-registry-AP5RA7W3.mjs":{"imports":[{"path":"dist/lib/browser/chunk-73AV3NH6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"dynamic-import","external":true}],"exports":["default"],"entryPoint":"src/capabilities/compute-graph-registry.ts","inputs":{"src/capabilities/compute-graph-registry.ts":{"bytesInOutput":577}},"bytes":832},"dist/lib/browser/intent-resolver-66OAYVQF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2523},"dist/lib/browser/intent-resolver-66OAYVQF.mjs":{"imports":[{"path":"dist/lib/browser/chunk-DVJ3QW3F.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/intent-resolver.ts","inputs":{"src/capabilities/intent-resolver.ts":{"bytesInOutput":1211}},"bytes":1472},"dist/lib/browser/markdown-B6VKYY2S.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1526},"dist/lib/browser/markdown-B6VKYY2S.mjs":{"imports":[{"path":"dist/lib/browser/chunk-73AV3NH6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-7VEWYJJN.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/markdown.ts","inputs":{"src/capabilities/markdown.ts":{"bytesInOutput":553}},"bytes":826},"dist/lib/browser/SheetContainer-66BNB3XG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":23061},"dist/lib/browser/SheetContainer-66BNB3XG.mjs":{"imports":[{"path":"dist/lib/browser/chunk-OU5KTWY3.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-DVJ3QW3F.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-7VEWYJJN.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/components/SheetContainer/index.ts","inputs":{"src/components/SheetContainer/SheetContainer.tsx":{"bytesInOutput":955},"src/components/FunctionEditor/FunctionEditor.tsx":{"bytesInOutput":1572},"src/components/FunctionEditor/index.ts":{"bytesInOutput":0},"src/components/SheetToolbar/SheetToolbar.tsx":{"bytesInOutput":2215},"src/components/SheetToolbar/align.ts":{"bytesInOutput":2678},"src/components/SheetToolbar/style.ts":{"bytesInOutput":2725},"src/components/SheetToolbar/useToolbarState.ts":{"bytesInOutput":173},"src/components/SheetToolbar/index.ts":{"bytesInOutput":0},"src/components/SheetContainer/index.ts":{"bytesInOutput":45}},"bytes":11194},"dist/lib/browser/react-surface-5GYLVSMR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2789},"dist/lib/browser/react-surface-5GYLVSMR.mjs":{"imports":[{"path":"dist/lib/browser/chunk-73AV3NH6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-OU5KTWY3.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-DVJ3QW3F.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-7VEWYJJN.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":1219}},"bytes":1652},"dist/lib/browser/chunk-73AV3NH6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":729},"dist/lib/browser/chunk-73AV3NH6.mjs":{"imports":[{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["SheetCapabilities"],"inputs":{"src/capabilities/capabilities.ts":{"bytesInOutput":272}},"bytes":433},"dist/lib/browser/chunk-OU5KTWY3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":55547},"dist/lib/browser/chunk-OU5KTWY3.mjs":{"imports":[{"path":"dist/lib/browser/chunk-DVJ3QW3F.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-7VEWYJJN.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"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":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/lit-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-thread/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"dist/lib/browser/SheetContainer-66BNB3XG.mjs","kind":"dynamic-import"}],"exports":["ComputeGraphContextProvider","GridSheet","RangeList","SheetContainer","SheetProvider","useComputeGraph","useSheetContext"],"inputs":{"src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytesInOutput":940},"src/components/RangeList/RangeList.tsx":{"bytesInOutput":1998},"src/components/index.ts":{"bytesInOutput":104},"src/components/ComputeGraph/index.ts":{"bytesInOutput":0},"src/components/GridSheet/GridSheet.tsx":{"bytesInOutput":12223},"src/integrations/thread-ranges.ts":{"bytesInOutput":3390},"src/integrations/index.ts":{"bytesInOutput":0},"src/components/SheetContext/SheetContext.tsx":{"bytesInOutput":2614},"src/components/SheetContext/index.ts":{"bytesInOutput":0},"src/components/GridSheet/util.ts":{"bytesInOutput":5067},"src/components/GridSheet/index.ts":{"bytesInOutput":0},"src/components/RangeList/index.ts":{"bytesInOutput":0}},"bytes":27180},"dist/lib/browser/chunk-DVJ3QW3F.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":46589},"dist/lib/browser/chunk-DVJ3QW3F.mjs":{"imports":[{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["ApiError","DEFAULT_COLS","DEFAULT_ROWS","MAX_COLS","MAX_ROWS","RangeException","ReadonlyException","SheetAction","Sheet_exports","addressFromIndex","addressToIndex","alignKey","cellClassNameForRange","commentKey","compareIndexPositions","createIndex","createIndices","initialize","insertIndices","mapFormulaIndicesToRefs","mapFormulaRefsToIndices","rangeFromIndex","rangeToIndex","styleKey","useSheetModel"],"inputs":{"src/types/Sheet.ts":{"bytesInOutput":2529},"src/types/util.ts":{"bytesInOutput":2925},"src/types/index.ts":{"bytesInOutput":0},"src/types/sheet-range-types.ts":{"bytesInOutput":709},"src/types/types.ts":{"bytesInOutput":1622},"src/model/sheet-model.ts":{"bytesInOutput":14509},"src/model/index.ts":{"bytesInOutput":0},"src/model/useSheetModel.ts":{"bytesInOutput":543}},"bytes":23594},"dist/lib/browser/chunk-7VEWYJJN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":20137},"dist/lib/browser/chunk-7VEWYJJN.mjs":{"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"codemirror-lang-spreadsheet","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["computeGraphFacet","rangeExtension","sheetExtension"],"inputs":{"src/extensions/compute.ts":{"bytesInOutput":509},"src/extensions/index.ts":{"bytesInOutput":0},"src/extensions/editor/sheet-extension.ts":{"bytesInOutput":6110},"src/extensions/editor/index.ts":{"bytesInOutput":0}},"bytes":6806},"dist/lib/browser/chunk-FWFAAGXL.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1012},"dist/lib/browser/chunk-FWFAAGXL.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["__export","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":543}},"bytes":802}}}
1
+ {"inputs":{"src/meta.ts":{"bytes":2115,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/capabilities.ts":{"bytes":1439,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/util.ts":{"bytes":13782,"imports":[{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/types/Sheet.ts":{"bytes":10814,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"src/types/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/types/sheet-range-types.ts":{"bytes":3720,"imports":[],"format":"esm"},"src/model/sheet-model.ts":{"bytes":58045,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/model/useSheetModel.ts":{"bytes":3024,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/model/index.ts","kind":"import-statement","original":"../model"}],"format":"esm"},"src/model/index.ts":{"bytes":574,"imports":[{"path":"src/model/sheet-model.ts","kind":"import-statement","original":"./sheet-model"},{"path":"src/model/useSheetModel.ts","kind":"import-statement","original":"./useSheetModel"}],"format":"esm"},"src/types/types.ts":{"bytes":7011,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/model/index.ts","kind":"import-statement","original":"../model"},{"path":"src/types/Sheet.ts","kind":"import-statement","original":"./Sheet"}],"format":"esm"},"src/types/index.ts":{"bytes":778,"imports":[{"path":"src/types/Sheet.ts","kind":"import-statement","original":"./Sheet"},{"path":"src/types/sheet-range-types.ts","kind":"import-statement","original":"./sheet-range-types"},{"path":"src/types/types.ts","kind":"import-statement","original":"./types"},{"path":"src/types/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/capabilities/anchor-sort.ts":{"bytes":2607,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/capabilities/compute-graph-registry.ts":{"bytes":3349,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"@dxos/compute","kind":"dynamic-import","external":true}],"format":"esm"},"src/capabilities/intent-resolver.ts":{"bytes":5426,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/extensions/compute.ts":{"bytes":17694,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/editor/sheet-extension.ts":{"bytes":28539,"imports":[{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"codemirror-lang-spreadsheet","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/extensions/editor/index.ts":{"bytes":493,"imports":[{"path":"src/extensions/editor/sheet-extension.ts","kind":"import-statement","original":"./sheet-extension"}],"format":"esm"},"src/extensions/index.ts":{"bytes":548,"imports":[{"path":"src/extensions/compute.ts","kind":"import-statement","original":"./compute"},{"path":"src/extensions/editor/index.ts","kind":"import-statement","original":"./editor"}],"format":"esm"},"src/capabilities/markdown.ts":{"bytes":2952,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"src/extensions/index.ts","kind":"import-statement","original":"../extensions"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytes":4223,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true}],"format":"esm"},"src/components/ComputeGraph/index.ts":{"bytes":527,"imports":[{"path":"src/components/ComputeGraph/ComputeGraphContextProvider.tsx","kind":"import-statement","original":"./ComputeGraphContextProvider"}],"format":"esm"},"src/integrations/thread-ranges.ts":{"bytes":15474,"imports":[{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-thread/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/integrations/index.ts":{"bytes":486,"imports":[{"path":"src/integrations/thread-ranges.ts","kind":"import-statement","original":"./thread-ranges"}],"format":"esm"},"src/components/SheetContext/SheetContext.tsx":{"bytes":10941,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"src/model/index.ts","kind":"import-statement","original":"../../model"}],"format":"esm"},"src/components/SheetContext/index.ts":{"bytes":492,"imports":[{"path":"src/components/SheetContext/SheetContext.tsx","kind":"import-statement","original":"./SheetContext"}],"format":"esm"},"src/components/GridSheet/util.ts":{"bytes":21702,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/components/GridSheet/GridSheet.tsx":{"bytes":47086,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/lit-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"src/extensions/index.ts","kind":"import-statement","original":"../../extensions"},{"path":"src/integrations/index.ts","kind":"import-statement","original":"../../integrations"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"},{"path":"src/components/GridSheet/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/components/GridSheet/index.ts":{"bytes":482,"imports":[{"path":"src/components/GridSheet/GridSheet.tsx","kind":"import-statement","original":"./GridSheet"}],"format":"esm"},"src/components/RangeList/RangeList.tsx":{"bytes":7937,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/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":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/components/RangeList/index.ts":{"bytes":482,"imports":[{"path":"src/components/RangeList/RangeList.tsx","kind":"import-statement","original":"./RangeList"}],"format":"esm"},"src/components/FunctionEditor/FunctionEditor.tsx":{"bytes":5396,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"src/components/FunctionEditor/index.ts":{"bytes":500,"imports":[{"path":"src/components/FunctionEditor/FunctionEditor.tsx","kind":"import-statement","original":"./FunctionEditor"}],"format":"esm"},"src/components/SheetToolbar/align.ts":{"bytes":12241,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"src/components/SheetToolbar/style.ts":{"bytes":12520,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"}],"format":"esm"},"src/components/SheetToolbar/useToolbarState.ts":{"bytes":1362,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"format":"esm"},"src/components/SheetToolbar/SheetToolbar.tsx":{"bytes":9268,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"},{"path":"src/components/SheetToolbar/align.ts","kind":"import-statement","original":"./align"},{"path":"src/components/SheetToolbar/style.ts","kind":"import-statement","original":"./style"},{"path":"src/components/SheetToolbar/useToolbarState.ts","kind":"import-statement","original":"./useToolbarState"}],"format":"esm"},"src/components/SheetToolbar/index.ts":{"bytes":492,"imports":[{"path":"src/components/SheetToolbar/SheetToolbar.tsx","kind":"import-statement","original":"./SheetToolbar"}],"format":"esm"},"src/components/SheetContainer/SheetContainer.tsx":{"bytes":4420,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"src/components/ComputeGraph/index.ts","kind":"import-statement","original":"../ComputeGraph"},{"path":"src/components/FunctionEditor/index.ts","kind":"import-statement","original":"../FunctionEditor"},{"path":"src/components/GridSheet/index.ts","kind":"import-statement","original":"../GridSheet"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"../SheetContext"},{"path":"src/components/SheetToolbar/index.ts","kind":"import-statement","original":"../SheetToolbar"}],"format":"esm"},"src/components/SheetContainer/index.ts":{"bytes":676,"imports":[{"path":"src/components/SheetContainer/SheetContainer.tsx","kind":"import-statement","original":"./SheetContainer"}],"format":"esm"},"src/components/index.ts":{"bytes":1135,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/ComputeGraph/index.ts","kind":"import-statement","original":"./ComputeGraph"},{"path":"src/components/GridSheet/index.ts","kind":"import-statement","original":"./GridSheet"},{"path":"src/components/RangeList/index.ts","kind":"import-statement","original":"./RangeList"},{"path":"src/components/SheetContext/index.ts","kind":"import-statement","original":"./SheetContext"},{"path":"src/components/SheetContainer/index.ts","kind":"dynamic-import","original":"./SheetContainer"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":5694,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":1878,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/capabilities/anchor-sort.ts","kind":"dynamic-import","original":"./anchor-sort"},{"path":"src/capabilities/compute-graph-registry.ts","kind":"dynamic-import","original":"./compute-graph-registry"},{"path":"src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"src/capabilities/markdown.ts","kind":"dynamic-import","original":"./markdown"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/serializer.ts":{"bytes":2554,"imports":[{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/translations.ts":{"bytes":6176,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/SheetPlugin.tsx":{"bytes":9696,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/serializer.ts","kind":"import-statement","original":"./serializer"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/index.ts":{"bytes":735,"imports":[{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/SheetPlugin.tsx","kind":"import-statement","original":"./SheetPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9559},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-73AV3NH6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GBK6OLCY.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/anchor-sort-OWOAGQM6.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/compute-graph-registry-AP5RA7W3.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/intent-resolver-OMHQGXFL.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/markdown-B6VKYY2S.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-VPLFBQSV.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true}],"exports":["SheetCapabilities","SheetPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/capabilities/index.ts":{"bytesInOutput":407},"src/index.ts":{"bytesInOutput":0},"src/SheetPlugin.tsx":{"bytesInOutput":2048},"src/serializer.ts":{"bytesInOutput":451},"src/translations.ts":{"bytesInOutput":1803}},"bytes":5101},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GBK6OLCY.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"}],"exports":["ApiError","DEFAULT_COLS","DEFAULT_ROWS","MAX_COLS","MAX_ROWS","RangeException","ReadonlyException","Sheet","SheetAction","addressFromIndex","addressToIndex","alignKey","cellClassNameForRange","commentKey","compareIndexPositions","createIndex","createIndices","initialize","insertIndices","mapFormulaIndicesToRefs","mapFormulaRefsToIndices","rangeFromIndex","rangeToIndex","styleKey"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":959},"dist/lib/browser/anchor-sort-OWOAGQM6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1368},"dist/lib/browser/anchor-sort-OWOAGQM6.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GBK6OLCY.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/anchor-sort.ts","inputs":{"src/capabilities/anchor-sort.ts":{"bytesInOutput":486}},"bytes":729},"dist/lib/browser/compute-graph-registry-AP5RA7W3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1668},"dist/lib/browser/compute-graph-registry-AP5RA7W3.mjs":{"imports":[{"path":"dist/lib/browser/chunk-73AV3NH6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-automation","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"dynamic-import","external":true}],"exports":["default"],"entryPoint":"src/capabilities/compute-graph-registry.ts","inputs":{"src/capabilities/compute-graph-registry.ts":{"bytesInOutput":577}},"bytes":832},"dist/lib/browser/intent-resolver-OMHQGXFL.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2523},"dist/lib/browser/intent-resolver-OMHQGXFL.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GBK6OLCY.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/intent-resolver.ts","inputs":{"src/capabilities/intent-resolver.ts":{"bytesInOutput":1211}},"bytes":1472},"dist/lib/browser/markdown-B6VKYY2S.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1526},"dist/lib/browser/markdown-B6VKYY2S.mjs":{"imports":[{"path":"dist/lib/browser/chunk-73AV3NH6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-7VEWYJJN.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/markdown.ts","inputs":{"src/capabilities/markdown.ts":{"bytesInOutput":553}},"bytes":826},"dist/lib/browser/SheetContainer-WDKJPYCB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":23061},"dist/lib/browser/SheetContainer-WDKJPYCB.mjs":{"imports":[{"path":"dist/lib/browser/chunk-6ILNTWSF.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GBK6OLCY.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-7VEWYJJN.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/components/SheetContainer/index.ts","inputs":{"src/components/SheetContainer/SheetContainer.tsx":{"bytesInOutput":955},"src/components/FunctionEditor/FunctionEditor.tsx":{"bytesInOutput":1572},"src/components/FunctionEditor/index.ts":{"bytesInOutput":0},"src/components/SheetToolbar/SheetToolbar.tsx":{"bytesInOutput":2215},"src/components/SheetToolbar/align.ts":{"bytesInOutput":2678},"src/components/SheetToolbar/style.ts":{"bytesInOutput":2725},"src/components/SheetToolbar/useToolbarState.ts":{"bytesInOutput":173},"src/components/SheetToolbar/index.ts":{"bytesInOutput":0},"src/components/SheetContainer/index.ts":{"bytesInOutput":45}},"bytes":11194},"dist/lib/browser/react-surface-VPLFBQSV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2789},"dist/lib/browser/react-surface-VPLFBQSV.mjs":{"imports":[{"path":"dist/lib/browser/chunk-73AV3NH6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-6ILNTWSF.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GBK6OLCY.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-7VEWYJJN.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":1219}},"bytes":1652},"dist/lib/browser/chunk-73AV3NH6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":729},"dist/lib/browser/chunk-73AV3NH6.mjs":{"imports":[{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["SheetCapabilities"],"inputs":{"src/capabilities/capabilities.ts":{"bytesInOutput":272}},"bytes":433},"dist/lib/browser/chunk-6ILNTWSF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":55535},"dist/lib/browser/chunk-6ILNTWSF.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GBK6OLCY.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-7VEWYJJN.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"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":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/lit-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-thread/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/react-ui-grid","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"dist/lib/browser/SheetContainer-WDKJPYCB.mjs","kind":"dynamic-import"}],"exports":["ComputeGraphContextProvider","GridSheet","RangeList","SheetContainer","SheetProvider","useComputeGraph","useSheetContext"],"inputs":{"src/components/ComputeGraph/ComputeGraphContextProvider.tsx":{"bytesInOutput":940},"src/components/RangeList/RangeList.tsx":{"bytesInOutput":1998},"src/components/index.ts":{"bytesInOutput":104},"src/components/ComputeGraph/index.ts":{"bytesInOutput":0},"src/components/GridSheet/GridSheet.tsx":{"bytesInOutput":12223},"src/integrations/thread-ranges.ts":{"bytesInOutput":3390},"src/integrations/index.ts":{"bytesInOutput":0},"src/components/SheetContext/SheetContext.tsx":{"bytesInOutput":2614},"src/components/SheetContext/index.ts":{"bytesInOutput":0},"src/components/GridSheet/util.ts":{"bytesInOutput":5057},"src/components/GridSheet/index.ts":{"bytesInOutput":0},"src/components/RangeList/index.ts":{"bytesInOutput":0}},"bytes":27170},"dist/lib/browser/chunk-GBK6OLCY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":46727},"dist/lib/browser/chunk-GBK6OLCY.mjs":{"imports":[{"path":"dist/lib/browser/chunk-FWFAAGXL.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["ApiError","DEFAULT_COLS","DEFAULT_ROWS","MAX_COLS","MAX_ROWS","RangeException","ReadonlyException","SheetAction","Sheet_exports","addressFromIndex","addressToIndex","alignKey","cellClassNameForRange","commentKey","compareIndexPositions","createIndex","createIndices","initialize","insertIndices","mapFormulaIndicesToRefs","mapFormulaRefsToIndices","rangeFromIndex","rangeToIndex","styleKey","useSheetModel"],"inputs":{"src/types/Sheet.ts":{"bytesInOutput":2564},"src/types/util.ts":{"bytesInOutput":2925},"src/types/index.ts":{"bytesInOutput":0},"src/types/sheet-range-types.ts":{"bytesInOutput":709},"src/types/types.ts":{"bytesInOutput":1622},"src/model/sheet-model.ts":{"bytesInOutput":14540},"src/model/index.ts":{"bytesInOutput":0},"src/model/useSheetModel.ts":{"bytesInOutput":543}},"bytes":23660},"dist/lib/browser/chunk-7VEWYJJN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":20137},"dist/lib/browser/chunk-7VEWYJJN.mjs":{"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@codemirror/autocomplete","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@lezer/highlight","kind":"import-statement","external":true},{"path":"codemirror-lang-spreadsheet","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["computeGraphFacet","rangeExtension","sheetExtension"],"inputs":{"src/extensions/compute.ts":{"bytesInOutput":509},"src/extensions/index.ts":{"bytesInOutput":0},"src/extensions/editor/sheet-extension.ts":{"bytesInOutput":6110},"src/extensions/editor/index.ts":{"bytesInOutput":0}},"bytes":6806},"dist/lib/browser/chunk-FWFAAGXL.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1012},"dist/lib/browser/chunk-FWFAAGXL.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["__export","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":543}},"bytes":802}}}
@@ -5,10 +5,10 @@ import {
5
5
  ComputeGraphContextProvider,
6
6
  RangeList,
7
7
  SheetContainer
8
- } from "./chunk-OU5KTWY3.mjs";
8
+ } from "./chunk-6ILNTWSF.mjs";
9
9
  import {
10
10
  Sheet_exports
11
- } from "./chunk-DVJ3QW3F.mjs";
11
+ } from "./chunk-GBK6OLCY.mjs";
12
12
  import "./chunk-7VEWYJJN.mjs";
13
13
  import {
14
14
  meta
@@ -51,4 +51,4 @@ var react_surface_default = (() => contributes(Capabilities.ReactSurface, [
51
51
  export {
52
52
  react_surface_default as default
53
53
  };
54
- //# sourceMappingURL=react-surface-5GYLVSMR.mjs.map
54
+ //# sourceMappingURL=react-surface-VPLFBQSV.mjs.map
@@ -23,7 +23,7 @@ import {
23
23
  rangeFromIndex,
24
24
  rangeToIndex,
25
25
  styleKey
26
- } from "../chunk-DVJ3QW3F.mjs";
26
+ } from "../chunk-GBK6OLCY.mjs";
27
27
  import "../chunk-FWFAAGXL.mjs";
28
28
  export {
29
29
  ApiError,
@@ -4,13 +4,13 @@ import {
4
4
  SheetProvider,
5
5
  useComputeGraph,
6
6
  useSheetContext
7
- } from "./chunk-4MT3JJU2.mjs";
7
+ } from "./chunk-QI3PNRCD.mjs";
8
8
  import {
9
9
  alignKey,
10
10
  mapFormulaIndicesToRefs,
11
11
  rangeFromIndex,
12
12
  rangeToIndex
13
- } from "./chunk-4H2EHVWE.mjs";
13
+ } from "./chunk-KSHCRK5J.mjs";
14
14
  import "./chunk-4QV4AGWK.mjs";
15
15
  import {
16
16
  meta
@@ -347,4 +347,4 @@ var SheetContainer_default = SheetContainer;
347
347
  export {
348
348
  SheetContainer_default as default
349
349
  };
350
- //# sourceMappingURL=SheetContainer-NWEQETAY.mjs.map
350
+ //# sourceMappingURL=SheetContainer-62MZAU6Q.mjs.map
@@ -2,7 +2,7 @@ import { createRequire } from 'node:module';const require = createRequire(import
2
2
  import {
3
3
  Sheet_exports,
4
4
  compareIndexPositions
5
- } from "./chunk-4H2EHVWE.mjs";
5
+ } from "./chunk-KSHCRK5J.mjs";
6
6
  import "./chunk-HILDMVPL.mjs";
7
7
 
8
8
  // src/capabilities/anchor-sort.ts
@@ -21,4 +21,4 @@ var anchor_sort_default = (() => contributes(Capabilities.AnchorSort, {
21
21
  export {
22
22
  anchor_sort_default as default
23
23
  };
24
- //# sourceMappingURL=anchor-sort-ZE7IS7SH.mjs.map
24
+ //# sourceMappingURL=anchor-sort-FG3DS4HM.mjs.map
@@ -16,7 +16,7 @@ __export(Sheet_exports, {
16
16
  import * as Schema from "effect/Schema";
17
17
  import { addressFromA1Notation as addressFromA1Notation2, isFormula as isFormula2 } from "@dxos/compute";
18
18
  import { Obj, Type } from "@dxos/echo";
19
- import { FormAnnotation } from "@dxos/echo/internal";
19
+ import { FormInputAnnotation } from "@dxos/echo/internal";
20
20
 
21
21
  // src/types/util.ts
22
22
  import { addressFromA1Notation, addressToA1Notation, isFormula } from "@dxos/compute";
@@ -143,23 +143,23 @@ var Sheet = Schema.Struct({
143
143
  cells: Schema.Record({
144
144
  key: Schema.String,
145
145
  value: Schema.mutable(CellValue)
146
- }).pipe(Schema.mutable, FormAnnotation.set(false)),
146
+ }).pipe(Schema.mutable, FormInputAnnotation.set(false)),
147
147
  // Ordered row indices.
148
- rows: Schema.Array(Schema.String).pipe(Schema.mutable, FormAnnotation.set(false)),
148
+ rows: Schema.Array(Schema.String).pipe(Schema.mutable, FormInputAnnotation.set(false)),
149
149
  // Ordered column indices.
150
- columns: Schema.Array(Schema.String).pipe(Schema.mutable, FormAnnotation.set(false)),
150
+ columns: Schema.Array(Schema.String).pipe(Schema.mutable, FormInputAnnotation.set(false)),
151
151
  // Row metadata referenced by index.
152
152
  rowMeta: Schema.Record({
153
153
  key: Schema.String,
154
154
  value: Schema.mutable(RowColumnMeta)
155
- }).pipe(Schema.mutable, FormAnnotation.set(false)),
155
+ }).pipe(Schema.mutable, FormInputAnnotation.set(false)),
156
156
  // Column metadata referenced by index.
157
157
  columnMeta: Schema.Record({
158
158
  key: Schema.String,
159
159
  value: Schema.mutable(RowColumnMeta)
160
- }).pipe(Schema.mutable, FormAnnotation.set(false)),
160
+ }).pipe(Schema.mutable, FormInputAnnotation.set(false)),
161
161
  // Cell formatting referenced by indexed range.
162
- ranges: Schema.Array(Range).pipe(Schema.mutable, FormAnnotation.set(false))
162
+ ranges: Schema.Array(Range).pipe(Schema.mutable, FormInputAnnotation.set(false))
163
163
  }).pipe(Type.Obj({
164
164
  typename: "dxos.org/type/Sheet",
165
165
  version: "0.1.0"
@@ -230,7 +230,7 @@ import { Event } from "@dxos/async";
230
230
  import { DetailedCellError, ExportedCellChange, addressFromA1Notation as addressFromA1Notation3, addressToA1Notation as addressToA1Notation2, createSheetName, isFormula as isFormula3 } from "@dxos/compute";
231
231
  import { Resource } from "@dxos/context";
232
232
  import { Obj as Obj2 } from "@dxos/echo";
233
- import { FormatEnum, TypeEnum } from "@dxos/echo/internal";
233
+ import { Format, TypeEnum } from "@dxos/echo/internal";
234
234
  import { invariant as invariant2 } from "@dxos/invariant";
235
235
  import { PublicKey } from "@dxos/keys";
236
236
  import { log } from "@dxos/log";
@@ -244,23 +244,23 @@ var typeMap = {
244
244
  },
245
245
  NUMBER_PERCENT: {
246
246
  type: TypeEnum.Number,
247
- format: FormatEnum.Percent
247
+ format: Format.TypeFormat.Percent
248
248
  },
249
249
  NUMBER_CURRENCY: {
250
250
  type: TypeEnum.Number,
251
- format: FormatEnum.Currency
251
+ format: Format.TypeFormat.Currency
252
252
  },
253
253
  NUMBER_DATETIME: {
254
254
  type: TypeEnum.String,
255
- format: FormatEnum.DateTime
255
+ format: Format.TypeFormat.DateTime
256
256
  },
257
257
  NUMBER_DATE: {
258
258
  type: TypeEnum.String,
259
- format: FormatEnum.Date
259
+ format: Format.TypeFormat.Date
260
260
  },
261
261
  NUMBER_TIME: {
262
262
  type: TypeEnum.String,
263
- format: FormatEnum.Time
263
+ format: Format.TypeFormat.Time
264
264
  }
265
265
  };
266
266
  var getTopLeft = (range) => {
@@ -905,4 +905,4 @@ export {
905
905
  useSheetModel,
906
906
  SheetAction
907
907
  };
908
- //# sourceMappingURL=chunk-4H2EHVWE.mjs.map
908
+ //# sourceMappingURL=chunk-KSHCRK5J.mjs.map