@dxos/plugin-sheet 0.8.4-main.406dc2a → 0.8.4-main.548089c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/browser/{SheetContainer-VL34UND4.mjs → SheetContainer-BDLFSILO.mjs} +14 -16
- package/dist/lib/browser/SheetContainer-BDLFSILO.mjs.map +7 -0
- package/dist/lib/browser/{anchor-sort-3N44DS5F.mjs → anchor-sort-FCQ5OZZK.mjs} +8 -9
- package/dist/lib/browser/anchor-sort-FCQ5OZZK.mjs.map +7 -0
- package/dist/lib/browser/{chunk-ZMPNHFIP.mjs → chunk-73AV3NH6.mjs} +2 -2
- package/dist/lib/browser/{chunk-ZJWJMX4E.mjs → chunk-7KRJ2IT5.mjs} +23 -23
- package/dist/lib/browser/chunk-7KRJ2IT5.mjs.map +7 -0
- package/dist/lib/browser/{chunk-SSN4HYJL.mjs → chunk-7VEWYJJN.mjs} +5 -5
- package/dist/lib/browser/{chunk-SSN4HYJL.mjs.map → chunk-7VEWYJJN.mjs.map} +2 -2
- package/dist/lib/browser/{chunk-ADK2HW4A.mjs → chunk-DVJ3QW3F.mjs} +217 -216
- package/dist/lib/browser/chunk-DVJ3QW3F.mjs.map +7 -0
- package/dist/lib/browser/chunk-FWFAAGXL.mjs +28 -0
- package/dist/lib/browser/chunk-FWFAAGXL.mjs.map +7 -0
- package/dist/lib/browser/{compute-graph-registry-MF65HGGM.mjs → compute-graph-registry-AP5RA7W3.mjs} +3 -3
- package/dist/lib/browser/{compute-graph-registry-MF65HGGM.mjs.map → compute-graph-registry-AP5RA7W3.mjs.map} +2 -2
- package/dist/lib/browser/index.mjs +16 -16
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{intent-resolver-BQLV6IAA.mjs → intent-resolver-66OAYVQF.mjs} +5 -5
- package/dist/lib/browser/intent-resolver-66OAYVQF.mjs.map +7 -0
- package/dist/lib/browser/{markdown-RMTMI237.mjs → markdown-B6VKYY2S.mjs} +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-7ZDMQDCT.mjs → react-surface-GXHVZHKU.mjs} +11 -10
- package/dist/lib/browser/react-surface-GXHVZHKU.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +4 -12
- package/dist/lib/node-esm/{SheetContainer-NWJ7L6FC.mjs → SheetContainer-CK5HSJPL.mjs} +14 -16
- package/dist/lib/node-esm/SheetContainer-CK5HSJPL.mjs.map +7 -0
- package/dist/lib/node-esm/{anchor-sort-YL2OZHYM.mjs → anchor-sort-ZE7IS7SH.mjs} +8 -9
- package/dist/lib/node-esm/anchor-sort-ZE7IS7SH.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-LN6ZSAII.mjs → chunk-44YTKTMP.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-BZAPYBSH.mjs → chunk-4H2EHVWE.mjs} +217 -216
- package/dist/lib/node-esm/chunk-4H2EHVWE.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-IK4O7FUJ.mjs → chunk-4QV4AGWK.mjs} +5 -5
- package/dist/lib/node-esm/{chunk-IK4O7FUJ.mjs.map → chunk-4QV4AGWK.mjs.map} +2 -2
- package/dist/lib/node-esm/chunk-HILDMVPL.mjs +29 -0
- package/dist/lib/node-esm/chunk-HILDMVPL.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-YL7BVJPC.mjs → chunk-SMYD6H7Q.mjs} +23 -23
- package/dist/lib/node-esm/chunk-SMYD6H7Q.mjs.map +7 -0
- package/dist/lib/node-esm/{compute-graph-registry-P2O5LDFZ.mjs → compute-graph-registry-UMQ5UYCL.mjs} +3 -3
- package/dist/lib/node-esm/{compute-graph-registry-P2O5LDFZ.mjs.map → compute-graph-registry-UMQ5UYCL.mjs.map} +2 -2
- package/dist/lib/node-esm/index.mjs +16 -16
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/{intent-resolver-MV5ZFXAQ.mjs → intent-resolver-VNKIMQQT.mjs} +5 -5
- package/dist/lib/node-esm/intent-resolver-VNKIMQQT.mjs.map +7 -0
- package/dist/lib/node-esm/{markdown-EDIWHA3P.mjs → markdown-VKY7HXU2.mjs} +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-TUME5MM2.mjs → react-surface-45L45WN6.mjs} +11 -10
- package/dist/lib/node-esm/react-surface-45L45WN6.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +4 -12
- package/dist/types/src/SheetPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/anchor-sort.d.ts +2 -4
- package/dist/types/src/capabilities/anchor-sort.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +1 -4
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/components/GridSheet/GridSheet.d.ts.map +1 -1
- package/dist/types/src/components/GridSheet/GridSheet.stories.d.ts +2 -2
- package/dist/types/src/components/GridSheet/GridSheet.stories.d.ts.map +1 -1
- package/dist/types/src/components/GridSheet/util.d.ts.map +1 -1
- package/dist/types/src/components/RangeList/RangeList.d.ts +2 -2
- package/dist/types/src/components/RangeList/RangeList.d.ts.map +1 -1
- package/dist/types/src/components/SheetContainer/SheetContainer.d.ts +2 -2
- package/dist/types/src/components/SheetContainer/SheetContainer.d.ts.map +1 -1
- package/dist/types/src/components/SheetContainer/SheetContainer.stories.d.ts +2 -2
- package/dist/types/src/components/SheetContainer/SheetContainer.stories.d.ts.map +1 -1
- package/dist/types/src/components/SheetContext/SheetContext.d.ts +2 -2
- package/dist/types/src/components/SheetContext/SheetContext.d.ts.map +1 -1
- package/dist/types/src/components/SheetToolbar/SheetToolbar.d.ts +3 -4
- package/dist/types/src/components/SheetToolbar/SheetToolbar.d.ts.map +1 -1
- package/dist/types/src/integrations/thread-ranges.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/model/sheet-model.d.ts +4 -4
- package/dist/types/src/model/sheet-model.d.ts.map +1 -1
- package/dist/types/src/model/testing.d.ts +2 -2
- package/dist/types/src/model/testing.d.ts.map +1 -1
- package/dist/types/src/model/useSheetModel.d.ts +2 -2
- package/dist/types/src/model/useSheetModel.d.ts.map +1 -1
- package/dist/types/src/serializer.d.ts +2 -2
- package/dist/types/src/serializer.d.ts.map +1 -1
- package/dist/types/src/testing/data.d.ts +2 -2
- package/dist/types/src/testing/data.d.ts.map +1 -1
- package/dist/types/src/testing/testing.d.ts +26 -2
- package/dist/types/src/testing/testing.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +2 -2
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/{schema.d.ts → Sheet.d.ts} +36 -3
- package/dist/types/src/types/Sheet.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +1 -1
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/sheet-range-types.d.ts +2 -2
- package/dist/types/src/types/sheet-range-types.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +0 -9
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/dist/types/src/types/util.d.ts +9 -10
- package/dist/types/src/types/util.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +51 -50
- package/src/SheetPlugin.tsx +6 -5
- package/src/capabilities/anchor-sort.ts +7 -8
- package/src/capabilities/compute-graph-registry.ts +1 -1
- package/src/capabilities/intent-resolver.ts +2 -2
- package/src/capabilities/react-surface.tsx +6 -5
- package/src/components/ComputeGraph/compute-graph.stories.tsx +8 -8
- package/src/components/FunctionEditor/FunctionEditor.tsx +1 -1
- package/src/components/GridSheet/GridSheet.stories.tsx +2 -2
- package/src/components/GridSheet/GridSheet.tsx +16 -4
- package/src/components/GridSheet/SheetCellEditor.stories.tsx +4 -4
- package/src/components/GridSheet/util.ts +9 -3
- package/src/components/RangeList/RangeList.tsx +5 -5
- package/src/components/SheetContainer/SheetContainer.stories.tsx +9 -6
- package/src/components/SheetContainer/SheetContainer.tsx +5 -4
- package/src/components/SheetContext/SheetContext.tsx +4 -4
- package/src/components/SheetToolbar/SheetToolbar.tsx +14 -16
- package/src/extensions/compute.stories.tsx +2 -2
- package/src/integrations/thread-ranges.ts +10 -16
- package/src/meta.ts +6 -2
- package/src/model/sheet-model.test.ts +4 -4
- package/src/model/sheet-model.ts +3 -3
- package/src/model/testing.ts +4 -4
- package/src/model/useSheetModel.ts +2 -2
- package/src/sanity.test.ts +3 -4
- package/src/serializer.ts +3 -3
- package/src/testing/data.ts +2 -2
- package/src/testing/testing.tsx +3 -3
- package/src/translations.ts +2 -2
- package/src/types/Sheet.ts +103 -0
- package/src/types/index.ts +1 -1
- package/src/types/sheet-range-types.ts +2 -2
- package/src/types/types.ts +3 -13
- package/src/types/util.ts +10 -38
- package/dist/lib/browser/SheetContainer-VL34UND4.mjs.map +0 -7
- package/dist/lib/browser/anchor-sort-3N44DS5F.mjs.map +0 -7
- package/dist/lib/browser/chunk-ADK2HW4A.mjs.map +0 -7
- package/dist/lib/browser/chunk-CSBSADPQ.mjs +0 -16
- package/dist/lib/browser/chunk-CSBSADPQ.mjs.map +0 -7
- package/dist/lib/browser/chunk-ZJWJMX4E.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-BQLV6IAA.mjs.map +0 -7
- package/dist/lib/browser/react-surface-7ZDMQDCT.mjs.map +0 -7
- package/dist/lib/node-esm/SheetContainer-NWJ7L6FC.mjs.map +0 -7
- package/dist/lib/node-esm/anchor-sort-YL2OZHYM.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-BZAPYBSH.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-H3GSD33H.mjs +0 -18
- package/dist/lib/node-esm/chunk-H3GSD33H.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-YL7BVJPC.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-MV5ZFXAQ.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-TUME5MM2.mjs.map +0 -7
- package/dist/types/src/types/schema.d.ts.map +0 -1
- package/src/types/schema.ts +0 -61
- /package/dist/lib/browser/{chunk-ZMPNHFIP.mjs.map → chunk-73AV3NH6.mjs.map} +0 -0
- /package/dist/lib/browser/{markdown-RMTMI237.mjs.map → markdown-B6VKYY2S.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-LN6ZSAII.mjs.map → chunk-44YTKTMP.mjs.map} +0 -0
- /package/dist/lib/node-esm/{markdown-EDIWHA3P.mjs.map → markdown-VKY7HXU2.mjs.map} +0 -0
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
ApiError,
|
|
4
|
-
CellValue,
|
|
5
4
|
DEFAULT_COLS,
|
|
6
5
|
DEFAULT_ROWS,
|
|
7
6
|
MAX_COLS,
|
|
8
7
|
MAX_ROWS,
|
|
9
|
-
Range,
|
|
10
8
|
RangeException,
|
|
11
9
|
ReadonlyException,
|
|
12
|
-
RowColumnMeta,
|
|
13
10
|
SheetAction,
|
|
14
|
-
|
|
11
|
+
Sheet_exports,
|
|
15
12
|
addressFromIndex,
|
|
16
13
|
addressToIndex,
|
|
17
14
|
alignKey,
|
|
@@ -20,7 +17,6 @@ import {
|
|
|
20
17
|
compareIndexPositions,
|
|
21
18
|
createIndex,
|
|
22
19
|
createIndices,
|
|
23
|
-
createSheet,
|
|
24
20
|
initialize,
|
|
25
21
|
insertIndices,
|
|
26
22
|
mapFormulaIndicesToRefs,
|
|
@@ -28,21 +24,18 @@ import {
|
|
|
28
24
|
rangeFromIndex,
|
|
29
25
|
rangeToIndex,
|
|
30
26
|
styleKey
|
|
31
|
-
} from "../chunk-
|
|
32
|
-
import "../chunk-
|
|
27
|
+
} from "../chunk-4H2EHVWE.mjs";
|
|
28
|
+
import "../chunk-HILDMVPL.mjs";
|
|
33
29
|
export {
|
|
34
30
|
ApiError,
|
|
35
|
-
CellValue,
|
|
36
31
|
DEFAULT_COLS,
|
|
37
32
|
DEFAULT_ROWS,
|
|
38
33
|
MAX_COLS,
|
|
39
34
|
MAX_ROWS,
|
|
40
|
-
Range,
|
|
41
35
|
RangeException,
|
|
42
36
|
ReadonlyException,
|
|
43
|
-
|
|
37
|
+
Sheet_exports as Sheet,
|
|
44
38
|
SheetAction,
|
|
45
|
-
SheetType,
|
|
46
39
|
addressFromIndex,
|
|
47
40
|
addressToIndex,
|
|
48
41
|
alignKey,
|
|
@@ -51,7 +44,6 @@ export {
|
|
|
51
44
|
compareIndexPositions,
|
|
52
45
|
createIndex,
|
|
53
46
|
createIndices,
|
|
54
|
-
createSheet,
|
|
55
47
|
initialize,
|
|
56
48
|
insertIndices,
|
|
57
49
|
mapFormulaIndicesToRefs,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SheetPlugin.d.ts","sourceRoot":"","sources":["../../../src/SheetPlugin.tsx"],"names":[],"mappings":"AAyBA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"SheetPlugin.d.ts","sourceRoot":"","sources":["../../../src/SheetPlugin.tsx"],"names":[],"mappings":"AAyBA,eAAO,MAAM,WAAW,mDA2DtB,CAAC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
sort: (anchorA: import("@dxos/schema").AnchoredTo, anchorB: import("@dxos/schema").AnchoredTo) => number;
|
|
4
|
-
}>>;
|
|
1
|
+
import { Capabilities, type Capability } from '@dxos/app-framework';
|
|
2
|
+
declare const _default: () => Capability<typeof Capabilities.AnchorSort>;
|
|
5
3
|
export default _default;
|
|
6
4
|
//# sourceMappingURL=anchor-sort.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anchor-sort.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/anchor-sort.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"anchor-sort.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/anchor-sort.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,KAAK,UAAU,EAAe,MAAM,qBAAqB,CAAC;8BAK9D,UAAU,CAAC,OAAO,YAAY,CAAC,UAAU,CAAC;AAA7D,wBAWK"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
export declare const AnchorSort: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<
|
|
2
|
-
key: string;
|
|
3
|
-
sort: (anchorA: import("@dxos/schema").AnchoredTo, anchorB: import("@dxos/schema").AnchoredTo) => number;
|
|
4
|
-
}>> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
1
|
+
export declare const AnchorSort: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-framework").Capabilities.AnchorSort>> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
5
2
|
export declare const ComputeGraphRegistry: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/compute").ComputeGraphRegistry>> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
6
3
|
export declare const IntentResolver: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-framework").Capabilities.IntentResolver>> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
7
4
|
export declare const Markdown: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/plugin-markdown").MarkdownExtensionProvider[]>> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU,0OAAsC,CAAC;AAC9D,eAAO,MAAM,oBAAoB,iRAAiD,CAAC;AACnF,eAAO,MAAM,cAAc,8OAA0C,CAAC;AACtE,eAAO,MAAM,QAAQ,gSAAmC,CAAC;AACzD,eAAO,MAAM,YAAY,4OAAwC,CAAC;AAElE,cAAc,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAA8B,MAAM,qBAAqB,CAAC;;AAW/E,wBAuBK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GridSheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/GridSheet/GridSheet.tsx"],"names":[],"mappings":"AAIA,OAAO,KASN,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"GridSheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/GridSheet/GridSheet.tsx"],"names":[],"mappings":"AAIA,OAAO,KASN,MAAM,OAAO,CAAC;AA0Df,eAAO,MAAM,SAAS,yBA4TrB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Sheet } from '../../types';
|
|
3
3
|
export declare const Basic: () => React.JSX.Element | null;
|
|
4
4
|
declare const meta: {
|
|
5
5
|
title: string;
|
|
@@ -9,7 +9,7 @@ declare const meta: {
|
|
|
9
9
|
layout: string;
|
|
10
10
|
translations: [{
|
|
11
11
|
readonly 'en-US': {
|
|
12
|
-
readonly [
|
|
12
|
+
readonly [Sheet.Sheet.typename]: {
|
|
13
13
|
readonly 'typename label': "Sheet";
|
|
14
14
|
readonly 'typename label_zero': "Sheets";
|
|
15
15
|
readonly 'typename label_one': "Sheet";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GridSheet.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/GridSheet/GridSheet.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"GridSheet.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/GridSheet/GridSheet.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAMpC,eAAO,MAAM,KAAK,gCAejB,CAAC;AAEF,QAAA,MAAM,IAAI;;;;;;;;yBA/BM,CAAQ,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC;;;;;;;;;yBAMe,CAAQ,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwC1C,CAAC;AAEnC,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/components/GridSheet/util.ts"],"names":[],"mappings":"AASA,OAAO,EAGL,KAAK,aAAa,EAIlB,KAAK,gBAAgB,EAItB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/components/GridSheet/util.ts"],"names":[],"mappings":"AASA,OAAO,EAGL,KAAK,aAAa,EAIlB,KAAK,gBAAgB,EAItB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAyE9C,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM;;;;CAItC,CAAC;AAEH,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM;;;;CAItC,CAAC;AA+BH,eAAO,MAAM,wBAAwB,GACnC,QAAQ,aAAa,GAAG,IAAI,EAC5B,OAAO,UAAU,KAChB,IAAI,CAAC,gBAAgB,EAAE,SAAS,GAAG,MAAM,CAsC3C,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Sheet } from '../../types';
|
|
3
3
|
export type RangeListProps = {
|
|
4
|
-
sheet:
|
|
4
|
+
sheet: Sheet.Sheet;
|
|
5
5
|
};
|
|
6
6
|
export declare const RangeList: ({ sheet }: RangeListProps) => React.JSX.Element;
|
|
7
7
|
//# sourceMappingURL=RangeList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangeList.d.ts","sourceRoot":"","sources":["../../../../../src/components/RangeList/RangeList.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAS3C,OAAO,
|
|
1
|
+
{"version":3,"file":"RangeList.d.ts","sourceRoot":"","sources":["../../../../../src/components/RangeList/RangeList.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAS3C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,WAAW,cAAc,sBAuClD,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type Space } from '@dxos/react-client/echo';
|
|
3
|
-
import { type
|
|
3
|
+
import { type Sheet } from '../../types';
|
|
4
4
|
export type SheetContainerProps = {
|
|
5
5
|
space: Space;
|
|
6
|
-
sheet:
|
|
6
|
+
sheet: Sheet.Sheet;
|
|
7
7
|
role?: string;
|
|
8
8
|
ignoreAttention?: boolean;
|
|
9
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SheetContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetContainer/SheetContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SheetContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetContainer/SheetContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAGrD,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AAOzC,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,yCAAyC,mBAAmB,6BAgB1F,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Sheet } from '../../types';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
5
|
component: ({ space, sheet, role, ignoreAttention }: import("./SheetContainer").SheetContainerProps) => React.JSX.Element | null;
|
|
@@ -8,7 +8,7 @@ declare const meta: {
|
|
|
8
8
|
layout: string;
|
|
9
9
|
translations: [{
|
|
10
10
|
readonly 'en-US': {
|
|
11
|
-
readonly [
|
|
11
|
+
readonly [Sheet.Sheet.typename]: {
|
|
12
12
|
readonly 'typename label': "Sheet";
|
|
13
13
|
readonly 'typename label_zero': "Sheets";
|
|
14
14
|
readonly 'typename label_one': "Sheet";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SheetContainer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetContainer/SheetContainer.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SheetContainer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetContainer/SheetContainer.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,OAAO,EAAE,KAAK,EAAe,MAAM,aAAa,CAAC;AAMjD,QAAA,MAAM,IAAI;;;;;;;;yBAlByE,CAAQ,KAC1F,CAAC,KAAK,CAAE,QAAO,CAAC;;;;;;;;;yBAMP,CAAQ,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCa,CAAC;AAExC,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,gCAanB,CAAC;AAEF,eAAO,MAAM,IAAI,gCAoBhB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import React, { type PropsWithChildren } from 'react';
|
|
|
2
2
|
import { type CellAddress, type CellRange, type CompleteCellRange, type ComputeGraph } from '@dxos/compute';
|
|
3
3
|
import { type GridContentProps, type GridEditing } from '@dxos/react-ui-grid';
|
|
4
4
|
import { type SheetModel } from '../../model';
|
|
5
|
-
import { type
|
|
5
|
+
import { type Sheet } from '../../types';
|
|
6
6
|
export type SheetContextValue = {
|
|
7
7
|
id: string;
|
|
8
8
|
model: SheetModel;
|
|
@@ -21,7 +21,7 @@ export type SheetContextValue = {
|
|
|
21
21
|
export declare const useSheetContext: () => SheetContextValue;
|
|
22
22
|
export type SheetProviderProps = {
|
|
23
23
|
graph: ComputeGraph;
|
|
24
|
-
sheet:
|
|
24
|
+
sheet: Sheet.Sheet;
|
|
25
25
|
readonly?: boolean;
|
|
26
26
|
ignoreAttention?: boolean;
|
|
27
27
|
} & Pick<SheetContextValue, 'onInfo'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SheetContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetContext/SheetContext.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAoD,MAAM,OAAO,CAAC;AAExG,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,SAAS,EAAE,KAAK,iBAAiB,EAAE,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAG5G,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAGjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,UAAU,EAAiB,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"SheetContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetContext/SheetContext.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAoD,MAAM,OAAO,CAAC;AAExG,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,SAAS,EAAE,KAAK,iBAAiB,EAAE,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAG5G,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAGjB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,UAAU,EAAiB,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IAEX,KAAK,EAAE,UAAU,CAAC;IAIlB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,SAAS,EAAE,CAAC,IAAI,EAAE,WAAW,GAAG,SAAS,KAAK,IAAI,CAAC;IACnD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,GAAG,SAAS,KAAK,IAAI,CAAC;IACjD,mBAAmB,CAAC,EAAE,iBAAiB,CAAC;IAGxC,OAAO,EAAE,WAAW,CAAC;IACrB,UAAU,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IAG3C,UAAU,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAC;IAC3C,aAAa,EAAE,CAAC,UAAU,EAAE,gBAAgB,CAAC,YAAY,CAAC,KAAK,IAAI,CAAC;IAIpE,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IAGpB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAIF,eAAO,MAAM,eAAe,QAAO,iBAIlC,CAAC;AA2DF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,YAAY,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,GAAG,IAAI,CAAC,iBAAiB,EAAE,QAAQ,CAAC,CAAC;AAEtC,eAAO,MAAM,aAAa,GAAI,gEAO3B,iBAAiB,CAAC,kBAAkB,CAAC,6BAUvC,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { type PropsWithChildren } from 'react';
|
|
2
|
-
|
|
3
|
-
export type SheetToolbarProps = ThemedClassName<PropsWithChildren<{
|
|
2
|
+
export type SheetToolbarProps = PropsWithChildren<{
|
|
4
3
|
id: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const SheetToolbar: ({ id
|
|
4
|
+
}>;
|
|
5
|
+
export declare const SheetToolbar: ({ id }: SheetToolbarProps) => React.JSX.Element;
|
|
7
6
|
//# sourceMappingURL=SheetToolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SheetToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/SheetToolbar.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAW,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SheetToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/SheetToolbar/SheetToolbar.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAW,MAAM,OAAO,CAAC;AA8C/D,MAAM,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAElE,eAAO,MAAM,YAAY,GAAI,QAAQ,iBAAiB,sBA6BrD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread-ranges.d.ts","sourceRoot":"","sources":["../../../../src/integrations/thread-ranges.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"thread-ranges.d.ts","sourceRoot":"","sources":["../../../../src/integrations/thread-ranges.ts"],"names":[],"mappings":"AAWA,OAAO,EAAoB,KAAK,iBAAiB,EAAW,MAAM,eAAe,CAAC;AAKlF,OAAO,EAAE,KAAK,aAAa,EAAyB,MAAM,qBAAqB,CAAC;AAMhF,eAAO,MAAM,+BAA+B,GAAI,OAAO,iBAAiB,KAAG,MAE1E,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAI,QAAQ,MAAM,KAAG,iBAAiB,GAAG,IAWjF,CAAC;AAEF,eAAO,MAAM,qCAAqC,GAAI,MAAM,aAAa,GAAG,IAAI,SA+B/E,CAAC;AAEF,eAAO,MAAM,0BAA0B,YA8CtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGtD,eAAO,MAAM,IAAI,EAAE,UAWlB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { Event } from '@dxos/async';
|
|
|
2
2
|
import { type CellAddress, type CellRange, type CellScalarValue, type ComputeGraph, type ComputeNodeEvent, type SimpleDate, type SimpleDateTime } from '@dxos/compute';
|
|
3
3
|
import { Resource } from '@dxos/context';
|
|
4
4
|
import { FormatEnum, TypeEnum } from '@dxos/echo/internal';
|
|
5
|
-
import { type
|
|
5
|
+
import { type Sheet, type SheetAction } from '../types';
|
|
6
6
|
export type SheetModelOptions = {
|
|
7
7
|
readonly?: boolean;
|
|
8
8
|
};
|
|
@@ -18,9 +18,9 @@ export declare class SheetModel extends Resource {
|
|
|
18
18
|
readonly id: string;
|
|
19
19
|
readonly update: Event<ComputeNodeEvent>;
|
|
20
20
|
private _node?;
|
|
21
|
-
constructor(_graph: ComputeGraph, _sheet:
|
|
21
|
+
constructor(_graph: ComputeGraph, _sheet: Sheet.Sheet, _options?: SheetModelOptions);
|
|
22
22
|
get graph(): ComputeGraph;
|
|
23
|
-
get sheet():
|
|
23
|
+
get sheet(): Sheet.Sheet;
|
|
24
24
|
get readonly(): boolean | undefined;
|
|
25
25
|
get bounds(): {
|
|
26
26
|
rows: number;
|
|
@@ -88,7 +88,7 @@ export declare class SheetModel extends Resource {
|
|
|
88
88
|
/**
|
|
89
89
|
* Sets values from a simple map.
|
|
90
90
|
*/
|
|
91
|
-
setValues(values: Record<string, CellValue>): void;
|
|
91
|
+
setValues(values: Record<string, Sheet.CellValue>): void;
|
|
92
92
|
/**
|
|
93
93
|
* Iterate range.
|
|
94
94
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet-model.d.ts","sourceRoot":"","sources":["../../../../src/model/sheet-model.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,eA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AAE,WAAW,GAAG;QAAE,IAAI,EAAE,QAAQ,CAAC;QAAC,MAAM,CAAC,EAAE,UAAU,CAAA;KAAE,GAAG,SAAS;IAO3F;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,eAAe,GAAG,IAAI;IAwCzD;;OAEG;IACH,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,IAAI;IAMxD;;OAEG;IACH,OAAO,CAAC,UAAU;IAqBlB,OAAO,CAAC,cAAc;IAKtB,OAAO,CAAC,YAAY;IAIpB;;OAEG;IACH,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM;IAWhD;;;;OAIG;IACH,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAK9B,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc;IAKvC,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU;IAK/B,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU;CAIhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../src/model/testing.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../src/model/testing.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAIjC,eAAO,MAAM,cAAc,GAAI,gBAAyB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,KAAG,KAAK,CAAC,KAyB9F,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type ComputeGraph } from '@dxos/compute';
|
|
2
2
|
import { SheetModel } from '../model';
|
|
3
|
-
import { type
|
|
3
|
+
import { type Sheet } from '../types';
|
|
4
4
|
export type UseSheetModelOptions = {
|
|
5
5
|
readonly?: boolean;
|
|
6
6
|
};
|
|
7
|
-
export declare const useSheetModel: (graph?: ComputeGraph, sheet?:
|
|
7
|
+
export declare const useSheetModel: (graph?: ComputeGraph, sheet?: Sheet.Sheet, { readonly }?: UseSheetModelOptions) => SheetModel | undefined;
|
|
8
8
|
//# sourceMappingURL=useSheetModel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSheetModel.d.ts","sourceRoot":"","sources":["../../../../src/model/useSheetModel.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"useSheetModel.d.ts","sourceRoot":"","sources":["../../../../src/model/useSheetModel.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,QAAQ,YAAY,EACpB,QAAQ,KAAK,CAAC,KAAK,EACnB,eAAc,oBAAyB,KACtC,UAAU,GAAG,SAqBf,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type TypedObjectSerializer } from '@dxos/plugin-space/types';
|
|
2
|
-
import {
|
|
3
|
-
export declare const serializer: TypedObjectSerializer<
|
|
2
|
+
import { Sheet } from './types';
|
|
3
|
+
export declare const serializer: TypedObjectSerializer<Sheet.Sheet>;
|
|
4
4
|
//# sourceMappingURL=serializer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serializer.d.ts","sourceRoot":"","sources":["../../../src/serializer.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAGtE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"serializer.d.ts","sourceRoot":"","sources":["../../../src/serializer.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AAGtE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,eAAO,MAAM,UAAU,EAAE,qBAAqB,CAAC,KAAK,CAAC,KAAK,CAgBzD,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const createTestCells: (testSheetName?: string) => Record<string, CellValue>;
|
|
1
|
+
import type { Sheet } from '../types';
|
|
2
|
+
export declare const createTestCells: (testSheetName?: string) => Record<string, Sheet.CellValue>;
|
|
3
3
|
//# sourceMappingURL=data.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/testing/data.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/testing/data.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,eAAO,MAAM,eAAe,GAAI,sBAAsB,KAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CA0BrF,CAAC"}
|
|
@@ -1,7 +1,31 @@
|
|
|
1
1
|
import { type Decorator } from '@storybook/react';
|
|
2
2
|
import { type ComputeGraph, type ComputeGraphOptions } from '@dxos/compute';
|
|
3
3
|
import { type Space } from '@dxos/react-client/echo';
|
|
4
|
-
import {
|
|
5
|
-
export declare const useTestSheet: (space?: Space, graph?: ComputeGraph, options?:
|
|
4
|
+
import { Sheet } from '../types';
|
|
5
|
+
export declare const useTestSheet: (space?: Space, graph?: ComputeGraph, options?: Sheet.SheetProps) => import("@dxos/live-object").Live<import("@dxos/echo/Type").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
6
|
+
rows: string[];
|
|
7
|
+
columns: string[];
|
|
8
|
+
name?: string | undefined;
|
|
9
|
+
cells: {
|
|
10
|
+
[x: string]: {
|
|
11
|
+
value: any;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
rowMeta: {
|
|
15
|
+
[x: string]: {
|
|
16
|
+
size?: number | undefined;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
columnMeta: {
|
|
20
|
+
[x: string]: {
|
|
21
|
+
size?: number | undefined;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
ranges: {
|
|
25
|
+
readonly value: string;
|
|
26
|
+
readonly range: string;
|
|
27
|
+
readonly key: string;
|
|
28
|
+
}[];
|
|
29
|
+
}> | undefined;
|
|
6
30
|
export declare const withComputeGraphDecorator: (options?: Partial<ComputeGraphOptions>) => Decorator;
|
|
7
31
|
//# sourceMappingURL=testing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../src/testing/testing.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGlD,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,mBAAmB,EAAwB,MAAM,eAAe,CAAC;AAElG,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../src/testing/testing.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAGlD,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,mBAAmB,EAAwB,MAAM,eAAe,CAAC;AAElG,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,eAAO,MAAM,YAAY,GAAI,QAAQ,KAAK,EAAE,QAAQ,YAAY,EAAE,UAAU,KAAK,CAAC,UAAU;;;;;;;;;;;;;;;;;;;;;;;;cAW3F,CAAC;AAEF,eAAO,MAAM,yBAAyB,GACnC,UAAU,OAAO,CAAC,mBAAmB,CAAC,KAAG,SAazC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { meta } from './meta';
|
|
2
|
-
import {
|
|
2
|
+
import { Sheet } from './types';
|
|
3
3
|
export declare const translations: [{
|
|
4
4
|
readonly 'en-US': {
|
|
5
|
-
readonly [
|
|
5
|
+
readonly [Sheet.Sheet.typename]: {
|
|
6
6
|
readonly 'typename label': "Sheet";
|
|
7
7
|
readonly 'typename label_zero': "Sheets";
|
|
8
8
|
readonly 'typename label_one': "Sheet";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC;;;;;;;;UAQrB;QACD,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;UA2BR;;EAGwB,CAAC"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import * as Schema from 'effect/Schema';
|
|
2
2
|
import { Type } from '@dxos/echo';
|
|
3
|
+
export type SheetSize = {
|
|
4
|
+
rows: number;
|
|
5
|
+
columns: number;
|
|
6
|
+
};
|
|
3
7
|
export declare const CellValue: Schema.Struct<{
|
|
4
8
|
value: typeof Schema.Any;
|
|
5
9
|
}>;
|
|
@@ -13,7 +17,7 @@ export type Range = Schema.Schema.Type<typeof Range>;
|
|
|
13
17
|
export declare const RowColumnMeta: Schema.Struct<{
|
|
14
18
|
size: Schema.optional<typeof Schema.Number>;
|
|
15
19
|
}>;
|
|
16
|
-
export declare const
|
|
20
|
+
export declare const Sheet: Type.obj<Schema.Struct<{
|
|
17
21
|
name: Schema.optional<typeof Schema.String>;
|
|
18
22
|
cells: Schema.mutable<Schema.Record$<typeof Schema.String, Schema.mutable<Schema.Struct<{
|
|
19
23
|
value: typeof Schema.Any;
|
|
@@ -32,6 +36,35 @@ export declare const SheetType: Type.obj<Schema.Struct<{
|
|
|
32
36
|
value: typeof Schema.String;
|
|
33
37
|
}>>>;
|
|
34
38
|
}>>;
|
|
35
|
-
export interface
|
|
39
|
+
export interface Sheet extends Schema.Schema.Type<typeof Sheet> {
|
|
36
40
|
}
|
|
37
|
-
|
|
41
|
+
export type SheetProps = {
|
|
42
|
+
name?: string;
|
|
43
|
+
cells?: Record<string, CellValue>;
|
|
44
|
+
} & Partial<SheetSize>;
|
|
45
|
+
export declare const make: ({ name, cells, ...size }?: SheetProps) => import("@dxos/live-object").Live<Type.OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
46
|
+
rows: string[];
|
|
47
|
+
columns: string[];
|
|
48
|
+
name?: string | undefined;
|
|
49
|
+
cells: {
|
|
50
|
+
[x: string]: {
|
|
51
|
+
value: any;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
rowMeta: {
|
|
55
|
+
[x: string]: {
|
|
56
|
+
size?: number | undefined;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
columnMeta: {
|
|
60
|
+
[x: string]: {
|
|
61
|
+
size?: number | undefined;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
ranges: {
|
|
65
|
+
readonly value: string;
|
|
66
|
+
readonly range: string;
|
|
67
|
+
readonly key: string;
|
|
68
|
+
}[];
|
|
69
|
+
}>;
|
|
70
|
+
//# sourceMappingURL=Sheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../../../../src/types/Sheet.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAO,IAAI,EAAE,MAAM,YAAY,CAAC;AAKvC,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,SAAS;;EAKpB,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,SAAS,CAAC,CAAC;AAG7D,eAAO,MAAM,KAAK;;;;EAIhB,CAAC;AAEH,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC,CAAC;AAGrD,eAAO,MAAM,aAAa;;EAExB,CAAC;AAIH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;GAkCjB,CAAC;AAEF,MAAM,WAAW,KAAM,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC;CAAG;AAElE,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;CACnC,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;AAEvB,eAAO,MAAM,IAAI,GAAI,2BAA+B,UAAe;;;;;;;;;;;;;;;;;;;;;;;;EAiBlE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ClassNameValue } from '@dxos/react-ui';
|
|
2
|
-
import { type
|
|
2
|
+
import { type Sheet } from '../types';
|
|
3
3
|
export declare const alignKey = "alignment";
|
|
4
4
|
export type AlignKey = typeof alignKey;
|
|
5
5
|
export type AlignValue = 'start' | 'center' | 'end';
|
|
@@ -9,5 +9,5 @@ export type CommentValue = string;
|
|
|
9
9
|
export declare const styleKey = "style";
|
|
10
10
|
export type StyleKey = typeof styleKey;
|
|
11
11
|
export type StyleValue = 'highlight' | 'softwrap';
|
|
12
|
-
export declare const cellClassNameForRange: ({ key, value }:
|
|
12
|
+
export declare const cellClassNameForRange: ({ key, value }: Sheet.Sheet["ranges"][number]) => ClassNameValue;
|
|
13
13
|
//# sourceMappingURL=sheet-range-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet-range-types.d.ts","sourceRoot":"","sources":["../../../../src/types/sheet-range-types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"sheet-range-types.d.ts","sourceRoot":"","sources":["../../../../src/types/sheet-range-types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,eAAO,MAAM,QAAQ,cAAc,CAAC;AACpC,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC;AACvC,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEpD,eAAO,MAAM,UAAU,YAAY,CAAC;AACpC,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC;AAC3C,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC;AAElC,eAAO,MAAM,QAAQ,UAAU,CAAC;AAChC,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC;AACvC,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,UAAU,CAAC;AAGlD,eAAO,MAAM,qBAAqB,GAAI,gBAAgB,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,KAAG,cA8BrF,CAAC"}
|
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
import * as Schema from 'effect/Schema';
|
|
2
2
|
import { SheetModel } from '../model';
|
|
3
|
-
import { type CellValue } from './schema';
|
|
4
|
-
export type SheetSize = {
|
|
5
|
-
rows: number;
|
|
6
|
-
columns: number;
|
|
7
|
-
};
|
|
8
|
-
export type CreateSheetOptions = {
|
|
9
|
-
name?: string;
|
|
10
|
-
cells?: Record<string, CellValue>;
|
|
11
|
-
} & Partial<SheetSize>;
|
|
12
3
|
export declare namespace SheetAction {
|
|
13
4
|
const Create_base: Schema.TaggedClass<Create, `${string}/create`, {
|
|
14
5
|
readonly _tag: Schema.tag<`${string}/create`>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAItC,yBAAiB,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAG3B,MAAM,OAAO,MAAO,SAAQ,WAO1B;KAAG;;;;;mBAQgF,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC;;;;;;;IAH9G,MAAM,OAAO,UAAW,SAAQ,eAS9B;KAAG;IAEL,MAAM,CAAC,MAAM,WAAW;;;;;;;;MAMtB,CAAC;IAEH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;;;;;mBAKoB,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC;;;;;;;;;;;;;;;IAH9G,MAAM,OAAO,QAAS,SAAQ,aAS5B;KAAG;;CACN"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type CellAddress, type CellRange, type CompleteCellRange } from '@dxos/compute';
|
|
2
|
-
import { type
|
|
2
|
+
import { type Sheet } from '../types';
|
|
3
3
|
export declare const MAX_ROWS = 500;
|
|
4
4
|
export declare const MAX_COLS = 676;
|
|
5
5
|
export declare const DEFAULT_ROWS = 50;
|
|
@@ -17,35 +17,34 @@ export declare class RangeException extends ApiError {
|
|
|
17
17
|
export declare const createIndex: (length?: number) => string;
|
|
18
18
|
export declare const createIndices: (length: number) => string[];
|
|
19
19
|
export declare const insertIndices: (indices: string[], i: number, n: number, max: number) => string[];
|
|
20
|
-
export declare const initialize: (sheet:
|
|
21
|
-
export declare const createSheet: ({ name, cells, ...size }?: CreateSheetOptions) => SheetType;
|
|
20
|
+
export declare const initialize: (sheet: Sheet.Sheet, { rows, columns }?: Partial<Sheet.SheetSize>) => void;
|
|
22
21
|
/**
|
|
23
22
|
* E.g., "A1" => "CA2@CB3".
|
|
24
23
|
*/
|
|
25
|
-
export declare const addressToIndex: (sheet:
|
|
24
|
+
export declare const addressToIndex: (sheet: Sheet.Sheet, cell: CellAddress) => string;
|
|
26
25
|
/**
|
|
27
26
|
* E.g., "CA2@CB3" => "A1".
|
|
28
27
|
*/
|
|
29
|
-
export declare const addressFromIndex: (sheet:
|
|
28
|
+
export declare const addressFromIndex: (sheet: Sheet.Sheet, idx: string) => CellAddress;
|
|
30
29
|
/**
|
|
31
30
|
* E.g., "A1:B2" => "CA2@CB3:CC4@CD5".
|
|
32
31
|
*/
|
|
33
|
-
export declare const rangeToIndex: (sheet:
|
|
32
|
+
export declare const rangeToIndex: (sheet: Sheet.Sheet, range: CellRange) => string;
|
|
34
33
|
/**
|
|
35
34
|
* E.g., "CA2@CB3:CC4@CD5" => "A1:B2".
|
|
36
35
|
*/
|
|
37
|
-
export declare const rangeFromIndex: (sheet:
|
|
36
|
+
export declare const rangeFromIndex: (sheet: Sheet.Sheet, idx: string) => CompleteCellRange;
|
|
38
37
|
/**
|
|
39
38
|
* Compares the positions of two cell indexes in a sheet.
|
|
40
39
|
* Sorts primarily by row, then by column if rows are equal.
|
|
41
40
|
*/
|
|
42
|
-
export declare const compareIndexPositions: (sheet:
|
|
41
|
+
export declare const compareIndexPositions: (sheet: Sheet.Sheet, indexA: string, indexB: string) => number;
|
|
43
42
|
/**
|
|
44
43
|
* Map from A1 notation to indices.
|
|
45
44
|
*/
|
|
46
|
-
export declare const mapFormulaRefsToIndices: (sheet:
|
|
45
|
+
export declare const mapFormulaRefsToIndices: (sheet: Sheet.Sheet, formula: string) => string;
|
|
47
46
|
/**
|
|
48
47
|
* Map from indices to A1 notation.
|
|
49
48
|
*/
|
|
50
|
-
export declare const mapFormulaIndicesToRefs: (sheet:
|
|
49
|
+
export declare const mapFormulaIndicesToRefs: (sheet: Sheet.Sheet, formula: string) => string;
|
|
51
50
|
//# sourceMappingURL=util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../src/types/util.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,SAAS,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