@gridsheet/react-core 3.0.0-rc.1 → 3.0.0-rc.11
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/LICENSE +190 -0
- package/dist/hooks-Y7BI_RNj.mjs +1103 -0
- package/dist/hooks-Y7BI_RNj.mjs.map +1 -0
- package/dist/index.d.ts +2 -32
- package/dist/index.js +2963 -13438
- package/dist/index.js.map +1 -1
- package/dist/react-core/src/components/Cell.d.ts.map +1 -0
- package/dist/react-core/src/components/CellStateOverlay.d.ts.map +1 -0
- package/dist/react-core/src/components/ColumnMenu.d.ts.map +1 -0
- package/dist/react-core/src/components/ColumnMenuFilterSection.d.ts +5 -0
- package/dist/react-core/src/components/ColumnMenuFilterSection.d.ts.map +1 -0
- package/dist/react-core/src/components/ColumnMenuLabelSection.d.ts +5 -0
- package/dist/react-core/src/components/ColumnMenuLabelSection.d.ts.map +1 -0
- package/dist/react-core/src/components/ColumnMenuSortSection.d.ts +5 -0
- package/dist/react-core/src/components/ColumnMenuSortSection.d.ts.map +1 -0
- package/dist/react-core/src/components/ContextMenu.d.ts +2 -0
- package/dist/react-core/src/components/ContextMenu.d.ts.map +1 -0
- package/dist/react-core/src/components/Editor.d.ts.map +1 -0
- package/dist/react-core/src/components/EditorOptions.d.ts.map +1 -0
- package/dist/react-core/src/components/Emitter.d.ts.map +1 -0
- package/dist/react-core/src/components/Fixed.d.ts.map +1 -0
- package/dist/react-core/src/components/FormulaBar.d.ts.map +1 -0
- package/dist/{components → react-core/src/components}/FunctionGuide.d.ts +4 -4
- package/dist/react-core/src/components/FunctionGuide.d.ts.map +1 -0
- package/dist/react-core/src/components/GridSheet.d.ts +7 -0
- package/dist/react-core/src/components/GridSheet.d.ts.map +1 -0
- package/dist/react-core/src/components/HeaderCellLeft.d.ts.map +1 -0
- package/dist/react-core/src/components/HeaderCellTop.d.ts.map +1 -0
- package/dist/react-core/src/components/MenuItem.d.ts +18 -0
- package/dist/react-core/src/components/MenuItem.d.ts.map +1 -0
- package/dist/{components → react-core/src/components}/PluginBase.d.ts +2 -2
- package/dist/react-core/src/components/PluginBase.d.ts.map +1 -0
- package/dist/react-core/src/components/Resizer.d.ts.map +1 -0
- package/dist/react-core/src/components/RowMenu.d.ts.map +1 -0
- package/dist/react-core/src/components/ScrollHandle.d.ts.map +1 -0
- package/dist/react-core/src/components/SearchBar.d.ts.map +1 -0
- package/dist/react-core/src/components/StoreObserver.d.ts +14 -0
- package/dist/react-core/src/components/StoreObserver.d.ts.map +1 -0
- package/dist/react-core/src/components/Tabular.d.ts.map +1 -0
- package/dist/react-core/src/components/svg/AddIcon.d.ts.map +1 -0
- package/dist/react-core/src/components/svg/Base.d.ts.map +1 -0
- package/dist/react-core/src/components/svg/CloseIcon.d.ts.map +1 -0
- package/dist/react-core/src/components/svg/SearchIcon.d.ts.map +1 -0
- package/dist/{components → react-core/src/components}/useAutocomplete.d.ts +1 -3
- package/dist/react-core/src/components/useAutocomplete.d.ts.map +1 -0
- package/dist/react-core/src/index.d.ts +17 -0
- package/dist/react-core/src/index.d.ts.map +1 -0
- package/dist/react-core/src/lib/clipboard.d.ts +18 -0
- package/dist/react-core/src/lib/clipboard.d.ts.map +1 -0
- package/dist/react-core/src/lib/events.d.ts.map +1 -0
- package/dist/{components → react-core/src/lib}/hooks.d.ts +2 -0
- package/dist/react-core/src/lib/hooks.d.ts.map +1 -0
- package/dist/react-core/src/lib/menu.d.ts +99 -0
- package/dist/react-core/src/lib/menu.d.ts.map +1 -0
- package/dist/react-core/src/lib/paste.d.ts.map +1 -0
- package/dist/react-core/src/lib/style.d.ts +12 -0
- package/dist/react-core/src/lib/style.d.ts.map +1 -0
- package/dist/react-core/src/policy/checkbox.d.ts +3 -0
- package/dist/react-core/src/policy/checkbox.d.ts.map +1 -0
- package/dist/react-core/src/spellbook.d.ts +6 -0
- package/dist/react-core/src/spellbook.d.ts.map +1 -0
- package/dist/{store → react-core/src/store}/actions.d.ts +3 -3
- package/dist/react-core/src/store/actions.d.ts.map +1 -0
- package/dist/react-core/src/store/applyers.d.ts +40 -0
- package/dist/react-core/src/store/applyers.d.ts.map +1 -0
- package/dist/react-core/src/store/helpers.d.ts +33 -0
- package/dist/react-core/src/store/helpers.d.ts.map +1 -0
- package/dist/react-core/src/store/index.d.ts.map +1 -0
- package/dist/react-core/src/types.d.ts +101 -0
- package/dist/react-core/src/types.d.ts.map +1 -0
- package/dist/spellbook.d.ts +2 -0
- package/dist/spellbook.js +9 -0
- package/dist/spellbook.js.map +1 -0
- package/package.json +16 -11
- package/dist/components/Cell.d.ts.map +0 -1
- package/dist/components/CellStateOverlay.d.ts.map +0 -1
- package/dist/components/ColumnMenu.d.ts.map +0 -1
- package/dist/components/ContextMenu.d.ts +0 -21
- package/dist/components/ContextMenu.d.ts.map +0 -1
- package/dist/components/Editor.d.ts.map +0 -1
- package/dist/components/EditorOptions.d.ts.map +0 -1
- package/dist/components/Emitter.d.ts.map +0 -1
- package/dist/components/Fixed.d.ts.map +0 -1
- package/dist/components/FormulaBar.d.ts.map +0 -1
- package/dist/components/FunctionGuide.d.ts.map +0 -1
- package/dist/components/GridSheet.d.ts +0 -5
- package/dist/components/GridSheet.d.ts.map +0 -1
- package/dist/components/HeaderCellLeft.d.ts.map +0 -1
- package/dist/components/HeaderCellTop.d.ts.map +0 -1
- package/dist/components/PluginBase.d.ts.map +0 -1
- package/dist/components/Resizer.d.ts.map +0 -1
- package/dist/components/RowMenu.d.ts.map +0 -1
- package/dist/components/ScrollHandle.d.ts.map +0 -1
- package/dist/components/SearchBar.d.ts.map +0 -1
- package/dist/components/StoreObserver.d.ts +0 -11
- package/dist/components/StoreObserver.d.ts.map +0 -1
- package/dist/components/Tabular.d.ts.map +0 -1
- package/dist/components/hooks.d.ts.map +0 -1
- package/dist/components/svg/AddIcon.d.ts.map +0 -1
- package/dist/components/svg/Base.d.ts.map +0 -1
- package/dist/components/svg/CloseIcon.d.ts.map +0 -1
- package/dist/components/svg/SearchIcon.d.ts.map +0 -1
- package/dist/components/useAutocomplete.d.ts.map +0 -1
- package/dist/constants.d.ts +0 -17
- package/dist/constants.d.ts.map +0 -1
- package/dist/formula/evaluator.d.ts +0 -138
- package/dist/formula/evaluator.d.ts.map +0 -1
- package/dist/formula/functions/__async.d.ts +0 -62
- package/dist/formula/functions/__async.d.ts.map +0 -1
- package/dist/formula/functions/__base.d.ts +0 -53
- package/dist/formula/functions/__base.d.ts.map +0 -1
- package/dist/formula/functions/__utils.d.ts +0 -19
- package/dist/formula/functions/__utils.d.ts.map +0 -1
- package/dist/formula/functions/abs.d.ts +0 -9
- package/dist/formula/functions/abs.d.ts.map +0 -1
- package/dist/formula/functions/acos.d.ts +0 -9
- package/dist/formula/functions/acos.d.ts.map +0 -1
- package/dist/formula/functions/add.d.ts +0 -10
- package/dist/formula/functions/add.d.ts.map +0 -1
- package/dist/formula/functions/and.d.ts +0 -9
- package/dist/formula/functions/and.d.ts.map +0 -1
- package/dist/formula/functions/asin.d.ts +0 -9
- package/dist/formula/functions/asin.d.ts.map +0 -1
- package/dist/formula/functions/atan.d.ts +0 -9
- package/dist/formula/functions/atan.d.ts.map +0 -1
- package/dist/formula/functions/atan2.d.ts +0 -9
- package/dist/formula/functions/atan2.d.ts.map +0 -1
- package/dist/formula/functions/average.d.ts +0 -9
- package/dist/formula/functions/average.d.ts.map +0 -1
- package/dist/formula/functions/col.d.ts +0 -9
- package/dist/formula/functions/col.d.ts.map +0 -1
- package/dist/formula/functions/concat.d.ts +0 -9
- package/dist/formula/functions/concat.d.ts.map +0 -1
- package/dist/formula/functions/concatenate.d.ts +0 -9
- package/dist/formula/functions/concatenate.d.ts.map +0 -1
- package/dist/formula/functions/cos.d.ts +0 -9
- package/dist/formula/functions/cos.d.ts.map +0 -1
- package/dist/formula/functions/count.d.ts +0 -9
- package/dist/formula/functions/count.d.ts.map +0 -1
- package/dist/formula/functions/counta.d.ts +0 -9
- package/dist/formula/functions/counta.d.ts.map +0 -1
- package/dist/formula/functions/countif.d.ts +0 -10
- package/dist/formula/functions/countif.d.ts.map +0 -1
- package/dist/formula/functions/divide.d.ts +0 -9
- package/dist/formula/functions/divide.d.ts.map +0 -1
- package/dist/formula/functions/eq.d.ts +0 -9
- package/dist/formula/functions/eq.d.ts.map +0 -1
- package/dist/formula/functions/exp.d.ts +0 -9
- package/dist/formula/functions/exp.d.ts.map +0 -1
- package/dist/formula/functions/gt.d.ts +0 -9
- package/dist/formula/functions/gt.d.ts.map +0 -1
- package/dist/formula/functions/gte.d.ts +0 -9
- package/dist/formula/functions/gte.d.ts.map +0 -1
- package/dist/formula/functions/hlookup.d.ts +0 -10
- package/dist/formula/functions/hlookup.d.ts.map +0 -1
- package/dist/formula/functions/if.d.ts +0 -9
- package/dist/formula/functions/if.d.ts.map +0 -1
- package/dist/formula/functions/iferror.d.ts +0 -12
- package/dist/formula/functions/iferror.d.ts.map +0 -1
- package/dist/formula/functions/index.d.ts +0 -10
- package/dist/formula/functions/index.d.ts.map +0 -1
- package/dist/formula/functions/len.d.ts +0 -9
- package/dist/formula/functions/len.d.ts.map +0 -1
- package/dist/formula/functions/lenb.d.ts +0 -9
- package/dist/formula/functions/lenb.d.ts.map +0 -1
- package/dist/formula/functions/ln.d.ts +0 -9
- package/dist/formula/functions/ln.d.ts.map +0 -1
- package/dist/formula/functions/log.d.ts +0 -9
- package/dist/formula/functions/log.d.ts.map +0 -1
- package/dist/formula/functions/log10.d.ts +0 -9
- package/dist/formula/functions/log10.d.ts.map +0 -1
- package/dist/formula/functions/lt.d.ts +0 -9
- package/dist/formula/functions/lt.d.ts.map +0 -1
- package/dist/formula/functions/lte.d.ts +0 -9
- package/dist/formula/functions/lte.d.ts.map +0 -1
- package/dist/formula/functions/match.d.ts +0 -10
- package/dist/formula/functions/match.d.ts.map +0 -1
- package/dist/formula/functions/match.test.d.ts +0 -2
- package/dist/formula/functions/match.test.d.ts.map +0 -1
- package/dist/formula/functions/max.d.ts +0 -9
- package/dist/formula/functions/max.d.ts.map +0 -1
- package/dist/formula/functions/min.d.ts +0 -9
- package/dist/formula/functions/min.d.ts.map +0 -1
- package/dist/formula/functions/minus.d.ts +0 -10
- package/dist/formula/functions/minus.d.ts.map +0 -1
- package/dist/formula/functions/mod.d.ts +0 -9
- package/dist/formula/functions/mod.d.ts.map +0 -1
- package/dist/formula/functions/multiply.d.ts +0 -9
- package/dist/formula/functions/multiply.d.ts.map +0 -1
- package/dist/formula/functions/ne.d.ts +0 -9
- package/dist/formula/functions/ne.d.ts.map +0 -1
- package/dist/formula/functions/not.d.ts +0 -9
- package/dist/formula/functions/not.d.ts.map +0 -1
- package/dist/formula/functions/now.d.ts +0 -9
- package/dist/formula/functions/now.d.ts.map +0 -1
- package/dist/formula/functions/or.d.ts +0 -9
- package/dist/formula/functions/or.d.ts.map +0 -1
- package/dist/formula/functions/pi.d.ts +0 -9
- package/dist/formula/functions/pi.d.ts.map +0 -1
- package/dist/formula/functions/power.d.ts +0 -9
- package/dist/formula/functions/power.d.ts.map +0 -1
- package/dist/formula/functions/product.d.ts +0 -9
- package/dist/formula/functions/product.d.ts.map +0 -1
- package/dist/formula/functions/radians.d.ts +0 -9
- package/dist/formula/functions/radians.d.ts.map +0 -1
- package/dist/formula/functions/rand.d.ts +0 -9
- package/dist/formula/functions/rand.d.ts.map +0 -1
- package/dist/formula/functions/round.d.ts +0 -9
- package/dist/formula/functions/round.d.ts.map +0 -1
- package/dist/formula/functions/rounddown.d.ts +0 -9
- package/dist/formula/functions/rounddown.d.ts.map +0 -1
- package/dist/formula/functions/roundup.d.ts +0 -9
- package/dist/formula/functions/roundup.d.ts.map +0 -1
- package/dist/formula/functions/row.d.ts +0 -9
- package/dist/formula/functions/row.d.ts.map +0 -1
- package/dist/formula/functions/sin.d.ts +0 -9
- package/dist/formula/functions/sin.d.ts.map +0 -1
- package/dist/formula/functions/sqrt.d.ts +0 -9
- package/dist/formula/functions/sqrt.d.ts.map +0 -1
- package/dist/formula/functions/sum.d.ts +0 -9
- package/dist/formula/functions/sum.d.ts.map +0 -1
- package/dist/formula/functions/sumif.d.ts +0 -10
- package/dist/formula/functions/sumif.d.ts.map +0 -1
- package/dist/formula/functions/tan.d.ts +0 -9
- package/dist/formula/functions/tan.d.ts.map +0 -1
- package/dist/formula/functions/uminus.d.ts +0 -9
- package/dist/formula/functions/uminus.d.ts.map +0 -1
- package/dist/formula/functions/vlookup.d.ts +0 -10
- package/dist/formula/functions/vlookup.d.ts.map +0 -1
- package/dist/formula/mapping.d.ts +0 -10
- package/dist/formula/mapping.d.ts.map +0 -1
- package/dist/formula/solver.d.ts +0 -26
- package/dist/formula/solver.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/lib/autofill.d.ts +0 -17
- package/dist/lib/autofill.d.ts.map +0 -1
- package/dist/lib/cell.d.ts +0 -15
- package/dist/lib/cell.d.ts.map +0 -1
- package/dist/lib/clipboard.d.ts +0 -3
- package/dist/lib/clipboard.d.ts.map +0 -1
- package/dist/lib/coords.d.ts +0 -10
- package/dist/lib/coords.d.ts.map +0 -1
- package/dist/lib/date.d.ts +0 -2
- package/dist/lib/date.d.ts.map +0 -1
- package/dist/lib/events.d.ts.map +0 -1
- package/dist/lib/filter.d.ts +0 -7
- package/dist/lib/filter.d.ts.map +0 -1
- package/dist/lib/hub.d.ts +0 -136
- package/dist/lib/hub.d.ts.map +0 -1
- package/dist/lib/input.d.ts +0 -15
- package/dist/lib/input.d.ts.map +0 -1
- package/dist/lib/operation.d.ts +0 -34
- package/dist/lib/operation.d.ts.map +0 -1
- package/dist/lib/palette.d.ts +0 -2
- package/dist/lib/palette.d.ts.map +0 -1
- package/dist/lib/paste.d.ts.map +0 -1
- package/dist/lib/reference.d.ts +0 -13
- package/dist/lib/reference.d.ts.map +0 -1
- package/dist/lib/sheet.d.ts +0 -3
- package/dist/lib/sheet.d.ts.map +0 -1
- package/dist/lib/spatial.d.ts +0 -94
- package/dist/lib/spatial.d.ts.map +0 -1
- package/dist/lib/table.d.ts +0 -463
- package/dist/lib/table.d.ts.map +0 -1
- package/dist/lib/time.d.ts +0 -25
- package/dist/lib/time.d.ts.map +0 -1
- package/dist/lib/virtualization.d.ts +0 -22
- package/dist/lib/virtualization.d.ts.map +0 -1
- package/dist/parsers/core.d.ts +0 -38
- package/dist/parsers/core.d.ts.map +0 -1
- package/dist/policy/core.d.ts +0 -54
- package/dist/policy/core.d.ts.map +0 -1
- package/dist/renderers/checkbox.d.ts +0 -5
- package/dist/renderers/checkbox.d.ts.map +0 -1
- package/dist/renderers/core.d.ts +0 -66
- package/dist/renderers/core.d.ts.map +0 -1
- package/dist/renderers/thousand_separator.d.ts +0 -3
- package/dist/renderers/thousand_separator.d.ts.map +0 -1
- package/dist/sentinels.d.ts +0 -23
- package/dist/sentinels.d.ts.map +0 -1
- package/dist/store/actions.d.ts.map +0 -1
- package/dist/store/dispatchers.d.ts +0 -36
- package/dist/store/dispatchers.d.ts.map +0 -1
- package/dist/store/helpers.d.ts +0 -25
- package/dist/store/helpers.d.ts.map +0 -1
- package/dist/store/index.d.ts.map +0 -1
- package/dist/styles/embedder.d.ts +0 -2
- package/dist/styles/embedder.d.ts.map +0 -1
- package/dist/styles/minified.d.ts +0 -3
- package/dist/styles/minified.d.ts.map +0 -1
- package/dist/styles/utils.d.ts +0 -52
- package/dist/styles/utils.d.ts.map +0 -1
- package/dist/types.d.ts +0 -365
- package/dist/types.d.ts.map +0 -1
- package/dist/utils.d.ts +0 -2
- package/dist/utils.d.ts.map +0 -1
- /package/dist/{components → react-core/src/components}/Cell.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/CellStateOverlay.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/ColumnMenu.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/Editor.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/EditorOptions.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/Emitter.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/Fixed.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/FormulaBar.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/HeaderCellLeft.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/HeaderCellTop.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/Resizer.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/RowMenu.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/ScrollHandle.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/SearchBar.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/Tabular.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/svg/AddIcon.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/svg/Base.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/svg/CloseIcon.d.ts +0 -0
- /package/dist/{components → react-core/src/components}/svg/SearchIcon.d.ts +0 -0
- /package/dist/{lib → react-core/src/lib}/events.d.ts +0 -0
- /package/dist/{lib → react-core/src/lib}/paste.d.ts +0 -0
- /package/dist/{store → react-core/src/store}/index.d.ts +0 -0
package/dist/types.d.ts
DELETED
|
@@ -1,365 +0,0 @@
|
|
|
1
|
-
import { RendererType } from './renderers/core';
|
|
2
|
-
import { ParserType } from './parsers/core';
|
|
3
|
-
import { UserTable, Table } from './lib/table';
|
|
4
|
-
import { FC, RefObject, CSSProperties, KeyboardEvent } from 'react';
|
|
5
|
-
import { HubType, TransmitProps } from './lib/hub';
|
|
6
|
-
import { PolicyType } from './policy/core';
|
|
7
|
-
import { Dispatcher } from './store';
|
|
8
|
-
export type RefEvaluation = 'COMPLETE' | 'TABLE' | 'RAW' | 'SYSTEM';
|
|
9
|
-
export type Y = number;
|
|
10
|
-
export type X = number;
|
|
11
|
-
export type Height = number;
|
|
12
|
-
export type Width = number;
|
|
13
|
-
export type ShapeType = {
|
|
14
|
-
height: Height;
|
|
15
|
-
width: Width;
|
|
16
|
-
};
|
|
17
|
-
export type RectType = {
|
|
18
|
-
y: Y;
|
|
19
|
-
x: X;
|
|
20
|
-
height: Height;
|
|
21
|
-
width: Width;
|
|
22
|
-
};
|
|
23
|
-
export type MatrixType<T = any> = T[][];
|
|
24
|
-
export type Labeler = (n: number) => string;
|
|
25
|
-
export type Renderers = {
|
|
26
|
-
[s: string]: RendererType;
|
|
27
|
-
};
|
|
28
|
-
export type Parsers = {
|
|
29
|
-
[s: string]: ParserType;
|
|
30
|
-
};
|
|
31
|
-
export type Labelers = {
|
|
32
|
-
[s: string]: Labeler;
|
|
33
|
-
};
|
|
34
|
-
export type Policies = {
|
|
35
|
-
[s: string]: PolicyType;
|
|
36
|
-
};
|
|
37
|
-
export type CursorStateType = {
|
|
38
|
-
pointing: PointType;
|
|
39
|
-
selectingFrom: PointType;
|
|
40
|
-
selectingTo: PointType;
|
|
41
|
-
};
|
|
42
|
-
export type FeedbackType = (args: {
|
|
43
|
-
table: UserTable;
|
|
44
|
-
points?: CursorStateType;
|
|
45
|
-
}) => void;
|
|
46
|
-
export type ModeType = 'light' | 'dark';
|
|
47
|
-
export type HeadersType = 'both' | 'vertical' | 'horizontal' | 'none';
|
|
48
|
-
export type AsyncCache = {
|
|
49
|
-
/** Cached result value from the async computation. */
|
|
50
|
-
value: any;
|
|
51
|
-
/** Absolute timestamp (ms since epoch) at which the cache expires. undefined means cache never expires. */
|
|
52
|
-
expireTime?: number;
|
|
53
|
-
};
|
|
54
|
-
export type System = {
|
|
55
|
-
id?: string;
|
|
56
|
-
sheetId?: number;
|
|
57
|
-
changedTime?: number;
|
|
58
|
-
dependents?: Set<string>;
|
|
59
|
-
/** Cumulative top offset (px) from table origin. Set on row-header cells (x=0). */
|
|
60
|
-
offsetTop?: number;
|
|
61
|
-
/** Cumulative left offset (px) from table origin. Set on col-header cells (y=0). */
|
|
62
|
-
offsetLeft?: number;
|
|
63
|
-
tmpAsyncCaches?: Record<string, AsyncCache>;
|
|
64
|
-
};
|
|
65
|
-
export type FilterConditionMethod = 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte' | 'blank' | 'nonblank' | 'includes' | 'excludes';
|
|
66
|
-
export type FilterCondition = {
|
|
67
|
-
method: FilterConditionMethod;
|
|
68
|
-
value: string[];
|
|
69
|
-
};
|
|
70
|
-
export type FilterConfig = {
|
|
71
|
-
mode?: 'and' | 'or';
|
|
72
|
-
conditions: FilterCondition[];
|
|
73
|
-
};
|
|
74
|
-
export type CellType<T = any, Custom = any> = {
|
|
75
|
-
value?: T;
|
|
76
|
-
style?: CSSProperties;
|
|
77
|
-
justifyContent?: CSSProperties['justifyContent'];
|
|
78
|
-
alignItems?: CSSProperties['alignItems'];
|
|
79
|
-
label?: string;
|
|
80
|
-
labeler?: string;
|
|
81
|
-
width?: Width;
|
|
82
|
-
height?: Height;
|
|
83
|
-
renderer?: string;
|
|
84
|
-
parser?: string;
|
|
85
|
-
policy?: string;
|
|
86
|
-
custom?: Custom;
|
|
87
|
-
disableFormula?: boolean;
|
|
88
|
-
prevention?: OperationType;
|
|
89
|
-
_sys?: System;
|
|
90
|
-
/** Cached result from an async formula. Stored directly on the cell for serializability. */
|
|
91
|
-
asyncCaches?: Record<string, AsyncCache>;
|
|
92
|
-
/** Filter configuration. Set on col-header cells (y=0). */
|
|
93
|
-
filter?: FilterConfig;
|
|
94
|
-
/** Whether this row is hidden by a filter. Set on row-header cells (x=0). */
|
|
95
|
-
filtered?: boolean;
|
|
96
|
-
};
|
|
97
|
-
export type RawCellType = {
|
|
98
|
-
value?: string;
|
|
99
|
-
style?: CSSProperties;
|
|
100
|
-
skip?: boolean;
|
|
101
|
-
};
|
|
102
|
-
export type CellPatchType = CellType;
|
|
103
|
-
export type CellFilter = (cell: CellType) => boolean;
|
|
104
|
-
export type CellsByAddressType = {
|
|
105
|
-
[address: string]: CellType;
|
|
106
|
-
};
|
|
107
|
-
export type CellsByIdType = {
|
|
108
|
-
[id: Id]: CellType | undefined;
|
|
109
|
-
};
|
|
110
|
-
export type OptionsType = {
|
|
111
|
-
sheetHeight?: number;
|
|
112
|
-
sheetWidth?: number;
|
|
113
|
-
sheetResize?: CSSProperties['resize'];
|
|
114
|
-
editingOnEnter?: boolean;
|
|
115
|
-
showAddress?: boolean;
|
|
116
|
-
showFormulaBar?: boolean;
|
|
117
|
-
minNumRows?: number;
|
|
118
|
-
maxNumRows?: number;
|
|
119
|
-
minNumCols?: number;
|
|
120
|
-
maxNumCols?: number;
|
|
121
|
-
mode?: ModeType;
|
|
122
|
-
contextMenuItems?: FC<ContextMenuProps>[];
|
|
123
|
-
};
|
|
124
|
-
export type RangeType = {
|
|
125
|
-
start: number;
|
|
126
|
-
end: number;
|
|
127
|
-
};
|
|
128
|
-
export type PointType = {
|
|
129
|
-
y: Y;
|
|
130
|
-
x: X;
|
|
131
|
-
};
|
|
132
|
-
export type ExtraPointType = {
|
|
133
|
-
y: Y;
|
|
134
|
-
x: X;
|
|
135
|
-
absY?: boolean;
|
|
136
|
-
absX?: boolean;
|
|
137
|
-
table?: Table;
|
|
138
|
-
};
|
|
139
|
-
export type PositionType = {
|
|
140
|
-
y: Y;
|
|
141
|
-
x: X;
|
|
142
|
-
};
|
|
143
|
-
export type ZoneType = {
|
|
144
|
-
startY: Y;
|
|
145
|
-
startX: X;
|
|
146
|
-
endY: Y;
|
|
147
|
-
endX: X;
|
|
148
|
-
};
|
|
149
|
-
export type AreaType = {
|
|
150
|
-
top: Y;
|
|
151
|
-
left: X;
|
|
152
|
-
bottom: Y;
|
|
153
|
-
right: X;
|
|
154
|
-
};
|
|
155
|
-
export type WriterType = (value: string) => void;
|
|
156
|
-
export type StoreType = {
|
|
157
|
-
sheetId: number;
|
|
158
|
-
tableReactive: RefObject<Table>;
|
|
159
|
-
rootRef: RefObject<HTMLDivElement>;
|
|
160
|
-
flashRef: RefObject<HTMLDivElement>;
|
|
161
|
-
mainRef: RefObject<HTMLDivElement>;
|
|
162
|
-
editorRef: RefObject<HTMLTextAreaElement>;
|
|
163
|
-
largeEditorRef: RefObject<HTMLTextAreaElement>;
|
|
164
|
-
tabularRef: RefObject<HTMLDivElement>;
|
|
165
|
-
searchInputRef: RefObject<HTMLTextAreaElement>;
|
|
166
|
-
entering: boolean;
|
|
167
|
-
choosing: PointType;
|
|
168
|
-
inputting: string;
|
|
169
|
-
selectingZone: ZoneType;
|
|
170
|
-
autofillDraggingTo: PointType | null;
|
|
171
|
-
leftHeaderSelecting: boolean;
|
|
172
|
-
topHeaderSelecting: boolean;
|
|
173
|
-
editingAddress: string;
|
|
174
|
-
editorRect: RectType;
|
|
175
|
-
dragging: boolean;
|
|
176
|
-
sheetHeight: number;
|
|
177
|
-
sheetWidth: number;
|
|
178
|
-
minNumRows: number;
|
|
179
|
-
maxNumRows: number;
|
|
180
|
-
minNumCols: number;
|
|
181
|
-
maxNumCols: number;
|
|
182
|
-
mode: ModeType;
|
|
183
|
-
searchQuery?: string;
|
|
184
|
-
searchCaseSensitive: boolean;
|
|
185
|
-
searchRegex: boolean;
|
|
186
|
-
searchRange?: ZoneType;
|
|
187
|
-
matchingCells: string[];
|
|
188
|
-
matchingCellIndex: number;
|
|
189
|
-
editingOnEnter: boolean;
|
|
190
|
-
showAddress: boolean;
|
|
191
|
-
contextMenuPosition: PositionType;
|
|
192
|
-
contextMenuItems: FC<ContextMenuProps>[];
|
|
193
|
-
resizingPositionY: [Y, Y, Y];
|
|
194
|
-
resizingPositionX: [X, X, X];
|
|
195
|
-
columnMenuState: {
|
|
196
|
-
x: number;
|
|
197
|
-
position: PositionType;
|
|
198
|
-
} | null;
|
|
199
|
-
rowMenuState: {
|
|
200
|
-
y: number;
|
|
201
|
-
position: PositionType;
|
|
202
|
-
} | null;
|
|
203
|
-
editorHovering: boolean;
|
|
204
|
-
};
|
|
205
|
-
export type Manager<T> = {
|
|
206
|
-
instance: T;
|
|
207
|
-
sync: T extends StoreType ? Dispatcher : (instance: T) => void;
|
|
208
|
-
};
|
|
209
|
-
export type Connector = {
|
|
210
|
-
tableManager: {
|
|
211
|
-
table: UserTable;
|
|
212
|
-
sync: (table: UserTable) => void;
|
|
213
|
-
};
|
|
214
|
-
storeManager: {
|
|
215
|
-
store: StoreType;
|
|
216
|
-
sync: (store: StoreType) => void;
|
|
217
|
-
dispatch: Dispatcher;
|
|
218
|
-
};
|
|
219
|
-
};
|
|
220
|
-
export type Props = {
|
|
221
|
-
initialCells: CellsByAddressType;
|
|
222
|
-
sheetName?: string;
|
|
223
|
-
hub?: HubType;
|
|
224
|
-
connector?: RefObject<Connector | null>;
|
|
225
|
-
options?: OptionsType;
|
|
226
|
-
className?: string;
|
|
227
|
-
style?: CSSProperties;
|
|
228
|
-
};
|
|
229
|
-
export type Id = string;
|
|
230
|
-
export type Ids = Id[];
|
|
231
|
-
export type IdMatrix = Ids[];
|
|
232
|
-
export type Address = string;
|
|
233
|
-
export type MatricesByAddress<T> = {
|
|
234
|
-
[origin: Address]: MatrixType<T>;
|
|
235
|
-
};
|
|
236
|
-
export type StorePatchType = {
|
|
237
|
-
sheetId: number;
|
|
238
|
-
choosing?: PointType;
|
|
239
|
-
selectingZone?: ZoneType | undefined;
|
|
240
|
-
sheetHeight?: number;
|
|
241
|
-
sheetWidth?: number;
|
|
242
|
-
transmit?: TransmitProps;
|
|
243
|
-
};
|
|
244
|
-
export type HistoryUpdateType = {
|
|
245
|
-
operation: 'UPDATE';
|
|
246
|
-
srcSheetId: number;
|
|
247
|
-
dstSheetId: number;
|
|
248
|
-
applyed: boolean;
|
|
249
|
-
undoReflection?: StorePatchType;
|
|
250
|
-
redoReflection?: StorePatchType;
|
|
251
|
-
diffBefore: CellsByIdType;
|
|
252
|
-
diffAfter: CellsByIdType;
|
|
253
|
-
partial: boolean;
|
|
254
|
-
};
|
|
255
|
-
export type MoveRelation = {
|
|
256
|
-
before?: string;
|
|
257
|
-
after?: string;
|
|
258
|
-
src: Address;
|
|
259
|
-
dst?: Address;
|
|
260
|
-
new?: Id;
|
|
261
|
-
lost?: Id;
|
|
262
|
-
};
|
|
263
|
-
export type MoveRelations = MoveRelation[];
|
|
264
|
-
export type HistoryMoveType = {
|
|
265
|
-
operation: 'MOVE';
|
|
266
|
-
srcSheetId: number;
|
|
267
|
-
dstSheetId: number;
|
|
268
|
-
applyed: boolean;
|
|
269
|
-
undoReflection?: StorePatchType;
|
|
270
|
-
redoReflection?: StorePatchType;
|
|
271
|
-
diffBefore: CellsByIdType;
|
|
272
|
-
diffAfter: CellsByIdType;
|
|
273
|
-
moveRelations: MoveRelations;
|
|
274
|
-
};
|
|
275
|
-
export type HistoryInsertRowsType = {
|
|
276
|
-
operation: 'INSERT_ROWS';
|
|
277
|
-
srcSheetId: number;
|
|
278
|
-
dstSheetId: number;
|
|
279
|
-
applyed: boolean;
|
|
280
|
-
undoReflection?: StorePatchType;
|
|
281
|
-
redoReflection?: StorePatchType;
|
|
282
|
-
y: number;
|
|
283
|
-
numRows: number;
|
|
284
|
-
idMatrix: IdMatrix;
|
|
285
|
-
diffBefore?: CellsByIdType;
|
|
286
|
-
diffAfter?: CellsByIdType;
|
|
287
|
-
partial?: true;
|
|
288
|
-
};
|
|
289
|
-
export type HistoryRemoveRowsType = {
|
|
290
|
-
operation: 'REMOVE_ROWS';
|
|
291
|
-
srcSheetId: number;
|
|
292
|
-
dstSheetId: number;
|
|
293
|
-
applyed: boolean;
|
|
294
|
-
undoReflection?: StorePatchType;
|
|
295
|
-
redoReflection?: StorePatchType;
|
|
296
|
-
ys: number[];
|
|
297
|
-
diffBefore?: CellsByIdType;
|
|
298
|
-
deleted: IdMatrix;
|
|
299
|
-
};
|
|
300
|
-
export type HistoryInsertColsType = {
|
|
301
|
-
operation: 'INSERT_COLS';
|
|
302
|
-
srcSheetId: number;
|
|
303
|
-
dstSheetId: number;
|
|
304
|
-
applyed: boolean;
|
|
305
|
-
undoReflection?: StorePatchType;
|
|
306
|
-
redoReflection?: StorePatchType;
|
|
307
|
-
x: number;
|
|
308
|
-
numCols: number;
|
|
309
|
-
idMatrix: IdMatrix;
|
|
310
|
-
diffBefore?: CellsByIdType;
|
|
311
|
-
diffAfter?: CellsByIdType;
|
|
312
|
-
partial?: true;
|
|
313
|
-
};
|
|
314
|
-
export type HistoryRemoveColsType = {
|
|
315
|
-
operation: 'REMOVE_COLS';
|
|
316
|
-
srcSheetId: number;
|
|
317
|
-
dstSheetId: number;
|
|
318
|
-
applyed: boolean;
|
|
319
|
-
undoReflection?: StorePatchType;
|
|
320
|
-
redoReflection?: StorePatchType;
|
|
321
|
-
xs: number[];
|
|
322
|
-
diffBefore?: CellsByIdType;
|
|
323
|
-
deleted: IdMatrix;
|
|
324
|
-
};
|
|
325
|
-
export type HistorySortRowsType = {
|
|
326
|
-
operation: 'SORT_ROWS';
|
|
327
|
-
srcSheetId: number;
|
|
328
|
-
dstSheetId: number;
|
|
329
|
-
applyed: boolean;
|
|
330
|
-
undoReflection?: StorePatchType;
|
|
331
|
-
redoReflection?: StorePatchType;
|
|
332
|
-
/** Mapping from original row index to new row index after sort */
|
|
333
|
-
sortedRowMapping: {
|
|
334
|
-
[beforeY: number]: number;
|
|
335
|
-
};
|
|
336
|
-
};
|
|
337
|
-
export type HistoryType = HistoryUpdateType | HistoryMoveType | HistoryInsertRowsType | HistoryRemoveRowsType | HistoryInsertColsType | HistoryRemoveColsType | HistorySortRowsType;
|
|
338
|
-
export type Virtualization = {
|
|
339
|
-
xs: number[];
|
|
340
|
-
ys: number[];
|
|
341
|
-
adjuster: AreaType;
|
|
342
|
-
};
|
|
343
|
-
export type OperatorType = 'USER' | 'SYSTEM';
|
|
344
|
-
export type OperationType = number;
|
|
345
|
-
export type StoreDispatchType = {
|
|
346
|
-
store: StoreType;
|
|
347
|
-
dispatch: Dispatcher;
|
|
348
|
-
};
|
|
349
|
-
export type ContextsBySheetId = {
|
|
350
|
-
[sheetId: string]: StoreDispatchType;
|
|
351
|
-
};
|
|
352
|
-
export type SheetIdsByName = {
|
|
353
|
-
[sheetName: string]: number;
|
|
354
|
-
};
|
|
355
|
-
export type RefPaletteType = {
|
|
356
|
-
[address: string]: number;
|
|
357
|
-
};
|
|
358
|
-
export type EditorEvent = KeyboardEvent<HTMLTextAreaElement>;
|
|
359
|
-
export type EditorEventWithNativeEvent = EditorEvent & {
|
|
360
|
-
nativeEvent: KeyboardEvent & {
|
|
361
|
-
isComposing: boolean;
|
|
362
|
-
};
|
|
363
|
-
};
|
|
364
|
-
export type ContextMenuProps = StoreDispatchType;
|
|
365
|
-
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEpE,MAAM,MAAM,CAAC,GAAG,MAAM,CAAC;AACvB,MAAM,MAAM,CAAC,GAAG,MAAM,CAAC;AAEvB,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAC5B,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC;AAE3B,MAAM,MAAM,SAAS,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,KAAK,CAAA;CAAE,CAAC;AAEzD,MAAM,MAAM,QAAQ,GAAG;IAAE,CAAC,EAAE,CAAC,CAAC;IAAC,CAAC,EAAE,CAAC,CAAC;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B,QAAQ,EAAE,UAAU,CAAC;CACtB,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG;IAAE,CAAC,OAAO,EAAE,MAAM,GAAG,iBAAiB,CAAA;CAAE,CAAC;AACzE,MAAM,MAAM,cAAc,GAAG;IAAE,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;AAE7D,MAAM,MAAM,cAAc,GAAG;IAAE,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;AAE3D,MAAM,MAAM,WAAW,GAAG,aAAa,CAAC,mBAAmB,CAAC,CAAC;AAC7D,MAAM,MAAM,0BAA0B,GAAG,WAAW,GAAG;IACrD,WAAW,EAAE,aAAa,GAAG;QAAE,WAAW,EAAE,OAAO,CAAA;KAAE,CAAC;CACvD,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAAC"}
|
package/dist/utils.d.ts
DELETED
package/dist/utils.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,GAAI,CAAC,GAAG,WAAW,EAAE,CAAC,GAAG,GAAG,EAAE,QAAQ,GAAG,EAAE,KAAK,CAAC,EAAE,cAAc,CAAC,KAAG,CAK3F,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|