@gridsheet/preact-core 3.0.0-rc.0 → 3.0.0-rc.10

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 (149) hide show
  1. package/LICENSE +190 -0
  2. package/dist/hooks-DPIr6WaL.mjs +1434 -0
  3. package/dist/hooks-DPIr6WaL.mjs.map +1 -0
  4. package/dist/index.d.ts +3 -31
  5. package/dist/index.js +3413 -11188
  6. package/dist/index.js.map +1 -1
  7. package/dist/react-core/src/components/ColumnMenuFilterSection.d.ts +5 -0
  8. package/dist/react-core/src/components/ColumnMenuLabelSection.d.ts +5 -0
  9. package/dist/react-core/src/components/ColumnMenuSortSection.d.ts +5 -0
  10. package/dist/react-core/src/components/ContextMenu.d.ts +2 -0
  11. package/dist/react-core/src/components/EditorOptions.d.ts +11 -0
  12. package/dist/react-core/src/components/FunctionGuide.d.ts +19 -0
  13. package/dist/react-core/src/components/GridSheet.d.ts +7 -0
  14. package/dist/react-core/src/components/MenuItem.d.ts +18 -0
  15. package/dist/{components → react-core/src/components}/PluginBase.d.ts +2 -2
  16. package/dist/react-core/src/components/StoreObserver.d.ts +14 -0
  17. package/dist/react-core/src/components/useAutocomplete.d.ts +23 -0
  18. package/dist/react-core/src/index.d.ts +17 -0
  19. package/dist/react-core/src/lib/clipboard.d.ts +18 -0
  20. package/dist/{components → react-core/src/lib}/hooks.d.ts +2 -0
  21. package/dist/react-core/src/lib/menu.d.ts +99 -0
  22. package/dist/react-core/src/lib/style.d.ts +12 -0
  23. package/dist/react-core/src/policy/checkbox.d.ts +3 -0
  24. package/dist/react-core/src/spellbook.d.ts +6 -0
  25. package/dist/{store → react-core/src/store}/actions.d.ts +15 -3
  26. package/dist/react-core/src/store/applyers.d.ts +40 -0
  27. package/dist/react-core/src/store/helpers.d.ts +33 -0
  28. package/dist/react-core/src/types.d.ts +101 -0
  29. package/dist/spellbook.d.ts +2 -0
  30. package/dist/spellbook.js +10 -0
  31. package/dist/spellbook.js.map +1 -0
  32. package/package.json +26 -10
  33. package/dist/components/ContextMenu.d.ts +0 -20
  34. package/dist/components/GridSheet.d.ts +0 -5
  35. package/dist/components/StoreObserver.d.ts +0 -11
  36. package/dist/constants.d.ts +0 -30
  37. package/dist/formula/evaluator.d.ts +0 -136
  38. package/dist/formula/functions/__async.d.ts +0 -59
  39. package/dist/formula/functions/__base.d.ts +0 -31
  40. package/dist/formula/functions/__utils.d.ts +0 -19
  41. package/dist/formula/functions/abs.d.ts +0 -12
  42. package/dist/formula/functions/acos.d.ts +0 -12
  43. package/dist/formula/functions/add.d.ts +0 -13
  44. package/dist/formula/functions/and.d.ts +0 -19
  45. package/dist/formula/functions/asin.d.ts +0 -12
  46. package/dist/formula/functions/atan.d.ts +0 -12
  47. package/dist/formula/functions/atan2.d.ts +0 -12
  48. package/dist/formula/functions/average.d.ts +0 -19
  49. package/dist/formula/functions/col.d.ts +0 -13
  50. package/dist/formula/functions/concat.d.ts +0 -12
  51. package/dist/formula/functions/concatenate.d.ts +0 -19
  52. package/dist/formula/functions/cos.d.ts +0 -12
  53. package/dist/formula/functions/count.d.ts +0 -19
  54. package/dist/formula/functions/counta.d.ts +0 -19
  55. package/dist/formula/functions/countif.d.ts +0 -13
  56. package/dist/formula/functions/divide.d.ts +0 -12
  57. package/dist/formula/functions/eq.d.ts +0 -12
  58. package/dist/formula/functions/exp.d.ts +0 -12
  59. package/dist/formula/functions/gt.d.ts +0 -12
  60. package/dist/formula/functions/gte.d.ts +0 -12
  61. package/dist/formula/functions/hlookup.d.ts +0 -18
  62. package/dist/formula/functions/if.d.ts +0 -17
  63. package/dist/formula/functions/iferror.d.ts +0 -20
  64. package/dist/formula/functions/index.d.ts +0 -18
  65. package/dist/formula/functions/len.d.ts +0 -12
  66. package/dist/formula/functions/lenb.d.ts +0 -12
  67. package/dist/formula/functions/ln.d.ts +0 -12
  68. package/dist/formula/functions/log.d.ts +0 -12
  69. package/dist/formula/functions/log10.d.ts +0 -12
  70. package/dist/formula/functions/lt.d.ts +0 -12
  71. package/dist/formula/functions/lte.d.ts +0 -12
  72. package/dist/formula/functions/match.d.ts +0 -18
  73. package/dist/formula/functions/match.test.d.ts +0 -2
  74. package/dist/formula/functions/max.d.ts +0 -19
  75. package/dist/formula/functions/min.d.ts +0 -19
  76. package/dist/formula/functions/minus.d.ts +0 -13
  77. package/dist/formula/functions/mod.d.ts +0 -12
  78. package/dist/formula/functions/multiply.d.ts +0 -12
  79. package/dist/formula/functions/ne.d.ts +0 -12
  80. package/dist/formula/functions/not.d.ts +0 -12
  81. package/dist/formula/functions/now.d.ts +0 -9
  82. package/dist/formula/functions/or.d.ts +0 -19
  83. package/dist/formula/functions/pi.d.ts +0 -9
  84. package/dist/formula/functions/power.d.ts +0 -12
  85. package/dist/formula/functions/product.d.ts +0 -19
  86. package/dist/formula/functions/radians.d.ts +0 -12
  87. package/dist/formula/functions/rand.d.ts +0 -9
  88. package/dist/formula/functions/round.d.ts +0 -17
  89. package/dist/formula/functions/rounddown.d.ts +0 -17
  90. package/dist/formula/functions/roundup.d.ts +0 -17
  91. package/dist/formula/functions/row.d.ts +0 -13
  92. package/dist/formula/functions/sin.d.ts +0 -12
  93. package/dist/formula/functions/sqrt.d.ts +0 -12
  94. package/dist/formula/functions/sum.d.ts +0 -19
  95. package/dist/formula/functions/sumif.d.ts +0 -18
  96. package/dist/formula/functions/tan.d.ts +0 -12
  97. package/dist/formula/functions/uminus.d.ts +0 -12
  98. package/dist/formula/functions/vlookup.d.ts +0 -18
  99. package/dist/formula/mapping.d.ts +0 -3
  100. package/dist/formula/solver.d.ts +0 -26
  101. package/dist/lib/autofill.d.ts +0 -17
  102. package/dist/lib/cell.d.ts +0 -3
  103. package/dist/lib/clipboard.d.ts +0 -3
  104. package/dist/lib/coords.d.ts +0 -10
  105. package/dist/lib/date.d.ts +0 -2
  106. package/dist/lib/filter.d.ts +0 -7
  107. package/dist/lib/hub.d.ts +0 -132
  108. package/dist/lib/input.d.ts +0 -15
  109. package/dist/lib/operation.d.ts +0 -34
  110. package/dist/lib/palette.d.ts +0 -2
  111. package/dist/lib/reference.d.ts +0 -13
  112. package/dist/lib/sheet.d.ts +0 -3
  113. package/dist/lib/spatial.d.ts +0 -92
  114. package/dist/lib/table.d.ts +0 -458
  115. package/dist/lib/time.d.ts +0 -25
  116. package/dist/lib/virtualization.d.ts +0 -22
  117. package/dist/parsers/core.d.ts +0 -38
  118. package/dist/policy/core.d.ts +0 -47
  119. package/dist/renderers/checkbox.d.ts +0 -5
  120. package/dist/renderers/core.d.ts +0 -66
  121. package/dist/renderers/thousand_separator.d.ts +0 -3
  122. package/dist/store/dispatchers.d.ts +0 -34
  123. package/dist/store/helpers.d.ts +0 -31
  124. package/dist/styles/embedder.d.ts +0 -2
  125. package/dist/styles/minified.d.ts +0 -3
  126. package/dist/styles/utils.d.ts +0 -52
  127. package/dist/types.d.ts +0 -355
  128. package/dist/utils.d.ts +0 -2
  129. /package/dist/{components → react-core/src/components}/Cell.d.ts +0 -0
  130. /package/dist/{components → react-core/src/components}/CellStateOverlay.d.ts +0 -0
  131. /package/dist/{components → react-core/src/components}/ColumnMenu.d.ts +0 -0
  132. /package/dist/{components → react-core/src/components}/Editor.d.ts +0 -0
  133. /package/dist/{components → react-core/src/components}/Emitter.d.ts +0 -0
  134. /package/dist/{components → react-core/src/components}/Fixed.d.ts +0 -0
  135. /package/dist/{components → react-core/src/components}/FormulaBar.d.ts +0 -0
  136. /package/dist/{components → react-core/src/components}/HeaderCellLeft.d.ts +0 -0
  137. /package/dist/{components → react-core/src/components}/HeaderCellTop.d.ts +0 -0
  138. /package/dist/{components → react-core/src/components}/Resizer.d.ts +0 -0
  139. /package/dist/{components → react-core/src/components}/RowMenu.d.ts +0 -0
  140. /package/dist/{components → react-core/src/components}/ScrollHandle.d.ts +0 -0
  141. /package/dist/{components → react-core/src/components}/SearchBar.d.ts +0 -0
  142. /package/dist/{components → react-core/src/components}/Tabular.d.ts +0 -0
  143. /package/dist/{components → react-core/src/components}/svg/AddIcon.d.ts +0 -0
  144. /package/dist/{components → react-core/src/components}/svg/Base.d.ts +0 -0
  145. /package/dist/{components → react-core/src/components}/svg/CloseIcon.d.ts +0 -0
  146. /package/dist/{components → react-core/src/components}/svg/SearchIcon.d.ts +0 -0
  147. /package/dist/{lib → react-core/src/lib}/events.d.ts +0 -0
  148. /package/dist/{lib → react-core/src/lib}/paste.d.ts +0 -0
  149. /package/dist/{store → react-core/src/store}/index.d.ts +0 -0
@@ -1,18 +0,0 @@
1
- import { Table } from '../../lib/table';
2
- import { BaseFunction } from './__base';
3
- export declare class IndexFunction extends BaseFunction {
4
- example: string;
5
- helpText: string[];
6
- helpArgs: ({
7
- name: string;
8
- description: string;
9
- optional?: undefined;
10
- } | {
11
- name: string;
12
- description: string;
13
- optional: boolean;
14
- })[];
15
- protected validate(): void;
16
- protected main(table: Table, y?: number, x?: number): Table;
17
- }
18
- //# sourceMappingURL=index.d.ts.map
@@ -1,12 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class LenFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: {
6
- name: string;
7
- description: string;
8
- }[];
9
- protected validate(): void;
10
- protected main(text: string): number;
11
- }
12
- //# sourceMappingURL=len.d.ts.map
@@ -1,12 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class LenbFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: {
6
- name: string;
7
- description: string;
8
- }[];
9
- protected validate(): void;
10
- protected main(text: string): number;
11
- }
12
- //# sourceMappingURL=lenb.d.ts.map
@@ -1,12 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class LnFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: {
6
- name: string;
7
- description: string;
8
- }[];
9
- protected validate(): void;
10
- protected main(value: number): number;
11
- }
12
- //# sourceMappingURL=ln.d.ts.map
@@ -1,12 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class LogFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: {
6
- name: string;
7
- description: string;
8
- }[];
9
- protected validate(): void;
10
- protected main(value: number, base: number): number;
11
- }
12
- //# sourceMappingURL=log.d.ts.map
@@ -1,12 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class Log10Function extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: {
6
- name: string;
7
- description: string;
8
- }[];
9
- protected validate(): void;
10
- protected main(value: number): number;
11
- }
12
- //# sourceMappingURL=log10.d.ts.map
@@ -1,12 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class LtFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: {
6
- name: string;
7
- description: string;
8
- }[];
9
- protected validate(): void;
10
- protected main(v1: number, v2: number): boolean;
11
- }
12
- //# sourceMappingURL=lt.d.ts.map
@@ -1,12 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class LteFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: {
6
- name: string;
7
- description: string;
8
- }[];
9
- protected validate(): void;
10
- protected main(v1: number, v2: number): boolean;
11
- }
12
- //# sourceMappingURL=lte.d.ts.map
@@ -1,18 +0,0 @@
1
- import { Table } from '../../lib/table';
2
- import { BaseFunction } from './__base';
3
- export declare class MatchFunction extends BaseFunction {
4
- example: string;
5
- helpText: string[];
6
- helpArgs: ({
7
- name: string;
8
- description: string;
9
- optional?: undefined;
10
- } | {
11
- name: string;
12
- description: string;
13
- optional: boolean;
14
- })[];
15
- protected validate(): void;
16
- protected main(searchKey: any, range: Table, searchType?: number): number;
17
- }
18
- //# sourceMappingURL=match.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=match.test.d.ts.map
@@ -1,19 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class MaxFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: ({
6
- name: string;
7
- description: string;
8
- optional?: undefined;
9
- iterable?: undefined;
10
- } | {
11
- name: string;
12
- description: string;
13
- optional: boolean;
14
- iterable: boolean;
15
- })[];
16
- protected validate(): void;
17
- protected main(...values: number[]): number;
18
- }
19
- //# sourceMappingURL=max.d.ts.map
@@ -1,19 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class MinFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: ({
6
- name: string;
7
- description: string;
8
- optional?: undefined;
9
- iterable?: undefined;
10
- } | {
11
- name: string;
12
- description: string;
13
- optional: boolean;
14
- iterable: boolean;
15
- })[];
16
- protected validate(): void;
17
- protected main(...values: number[]): number;
18
- }
19
- //# sourceMappingURL=min.d.ts.map
@@ -1,13 +0,0 @@
1
- import { TimeDelta } from '../../lib/time';
2
- import { BaseFunction } from './__base';
3
- export declare class MinusFunction extends BaseFunction {
4
- example: string;
5
- helpText: string[];
6
- helpArgs: {
7
- name: string;
8
- description: string;
9
- }[];
10
- protected validate(): void;
11
- protected main(v1: number | Date | TimeDelta, v2: number | Date | TimeDelta): number | Date | TimeDelta;
12
- }
13
- //# sourceMappingURL=minus.d.ts.map
@@ -1,12 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class ModFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: {
6
- name: string;
7
- description: string;
8
- }[];
9
- protected validate(): void;
10
- protected main(v1: number, v2: number): number;
11
- }
12
- //# sourceMappingURL=mod.d.ts.map
@@ -1,12 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class MultiplyFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: {
6
- name: string;
7
- description: string;
8
- }[];
9
- protected validate(): void;
10
- protected main(v1: number, v2: number): number;
11
- }
12
- //# sourceMappingURL=multiply.d.ts.map
@@ -1,12 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class NeFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: {
6
- name: string;
7
- description: string;
8
- }[];
9
- protected validate(): void;
10
- protected main(v1: number, v2: number): boolean;
11
- }
12
- //# sourceMappingURL=ne.d.ts.map
@@ -1,12 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class NotFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: {
6
- name: string;
7
- description: string;
8
- }[];
9
- protected validate(): void;
10
- protected main(v1: boolean): boolean;
11
- }
12
- //# sourceMappingURL=not.d.ts.map
@@ -1,9 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class NowFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: never[];
6
- protected validate(): void;
7
- protected main(): Date;
8
- }
9
- //# sourceMappingURL=now.d.ts.map
@@ -1,19 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class OrFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: ({
6
- name: string;
7
- description: string;
8
- optional?: undefined;
9
- iterable?: undefined;
10
- } | {
11
- name: string;
12
- description: string;
13
- optional: boolean;
14
- iterable: boolean;
15
- })[];
16
- protected validate(): void;
17
- protected main(...values: boolean[]): boolean;
18
- }
19
- //# sourceMappingURL=or.d.ts.map
@@ -1,9 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class PiFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: never[];
6
- protected validate(): void;
7
- protected main(): number;
8
- }
9
- //# sourceMappingURL=pi.d.ts.map
@@ -1,12 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class PowerFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: {
6
- name: string;
7
- description: string;
8
- }[];
9
- protected validate(): void;
10
- protected main(base: number, exponent: number): number;
11
- }
12
- //# sourceMappingURL=power.d.ts.map
@@ -1,19 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class ProductFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: ({
6
- name: string;
7
- description: string;
8
- optional?: undefined;
9
- iterable?: undefined;
10
- } | {
11
- name: string;
12
- description: string;
13
- optional: boolean;
14
- iterable: boolean;
15
- })[];
16
- protected validate(): void;
17
- protected main(...values: number[]): number;
18
- }
19
- //# sourceMappingURL=product.d.ts.map
@@ -1,12 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class RadiansFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: {
6
- name: string;
7
- description: string;
8
- }[];
9
- protected validate(): void;
10
- protected main(angle: number): number;
11
- }
12
- //# sourceMappingURL=radians.d.ts.map
@@ -1,9 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class RandFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: never[];
6
- protected validate(): void;
7
- protected main(): number;
8
- }
9
- //# sourceMappingURL=rand.d.ts.map
@@ -1,17 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class RoundFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: ({
6
- name: string;
7
- description: string;
8
- optional?: undefined;
9
- } | {
10
- name: string;
11
- description: string;
12
- optional: boolean;
13
- })[];
14
- protected validate(): void;
15
- protected main(value: number, digit?: number): number;
16
- }
17
- //# sourceMappingURL=round.d.ts.map
@@ -1,17 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class RounddownFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: ({
6
- name: string;
7
- description: string;
8
- optional?: undefined;
9
- } | {
10
- name: string;
11
- description: string;
12
- optional: boolean;
13
- })[];
14
- protected validate(): void;
15
- protected main(value: number, digit?: number): number;
16
- }
17
- //# sourceMappingURL=rounddown.d.ts.map
@@ -1,17 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class RoundupFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: ({
6
- name: string;
7
- description: string;
8
- optional?: undefined;
9
- } | {
10
- name: string;
11
- description: string;
12
- optional: boolean;
13
- })[];
14
- protected validate(): void;
15
- protected main(value: number, digit?: number): number;
16
- }
17
- //# sourceMappingURL=roundup.d.ts.map
@@ -1,13 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class RowFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: {
6
- name: string;
7
- description: string;
8
- option: boolean;
9
- }[];
10
- protected validate(): void;
11
- protected main(top: number): number;
12
- }
13
- //# sourceMappingURL=row.d.ts.map
@@ -1,12 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class SinFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: {
6
- name: string;
7
- description: string;
8
- }[];
9
- protected validate(): void;
10
- protected main(angle: number): number;
11
- }
12
- //# sourceMappingURL=sin.d.ts.map
@@ -1,12 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class SqrtFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: {
6
- name: string;
7
- description: string;
8
- }[];
9
- protected validate(): void;
10
- protected main(value: number): number;
11
- }
12
- //# sourceMappingURL=sqrt.d.ts.map
@@ -1,19 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class SumFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: ({
6
- name: string;
7
- description: string;
8
- optional?: undefined;
9
- iterable?: undefined;
10
- } | {
11
- name: string;
12
- description: string;
13
- optional: boolean;
14
- iterable: boolean;
15
- })[];
16
- protected validate(): void;
17
- protected main(...values: number[]): number;
18
- }
19
- //# sourceMappingURL=sum.d.ts.map
@@ -1,18 +0,0 @@
1
- import { Table } from '../../lib/table';
2
- import { BaseFunction } from './__base';
3
- export declare class SumifFunction extends BaseFunction {
4
- example: string;
5
- helpText: string[];
6
- helpArgs: ({
7
- name: string;
8
- description: string;
9
- optional?: undefined;
10
- } | {
11
- name: string;
12
- description: string;
13
- optional: boolean;
14
- })[];
15
- protected validate(): void;
16
- protected main(range: Table, condition: string, sumRange: Table): number;
17
- }
18
- //# sourceMappingURL=sumif.d.ts.map
@@ -1,12 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class TanFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: {
6
- name: string;
7
- description: string;
8
- }[];
9
- protected validate(): void;
10
- protected main(angle: number): number;
11
- }
12
- //# sourceMappingURL=tan.d.ts.map
@@ -1,12 +0,0 @@
1
- import { BaseFunction } from './__base';
2
- export declare class UminusFunction extends BaseFunction {
3
- example: string;
4
- helpText: string[];
5
- helpArgs: {
6
- name: string;
7
- description: string;
8
- }[];
9
- protected validate(): void;
10
- protected main(v1: number): number;
11
- }
12
- //# sourceMappingURL=uminus.d.ts.map
@@ -1,18 +0,0 @@
1
- import { Table } from '../../lib/table';
2
- import { BaseFunction } from './__base';
3
- export declare class VlookupFunction extends BaseFunction {
4
- example: string;
5
- helpText: string[];
6
- helpArgs: ({
7
- name: string;
8
- description: string;
9
- option?: undefined;
10
- } | {
11
- name: string;
12
- description: string;
13
- option: boolean;
14
- })[];
15
- protected validate(): void;
16
- protected main(key: any, range: Table, index: number, isSorted: boolean): any;
17
- }
18
- //# sourceMappingURL=vlookup.d.ts.map
@@ -1,3 +0,0 @@
1
- import { FunctionMapping } from './functions/__base';
2
- export declare const functions: FunctionMapping;
3
- //# sourceMappingURL=mapping.d.ts.map
@@ -1,26 +0,0 @@
1
- import { Table } from '../lib/table';
2
- import { Id, MatrixType, PointType, RefEvaluation } from '../types';
3
- type SolveFormulaProps = {
4
- value: any;
5
- table: Table;
6
- raise?: boolean;
7
- refEvaluation?: RefEvaluation;
8
- origin: PointType;
9
- };
10
- export declare const solveFormula: ({ value, table, raise, refEvaluation, origin }: SolveFormulaProps) => any;
11
- type SolveTableProps = {
12
- table: Table;
13
- raise?: boolean;
14
- refEvaluation?: RefEvaluation;
15
- };
16
- export declare const solveTable: ({ table, raise }: SolveTableProps) => MatrixType;
17
- export type StripTableProps = {
18
- value: any;
19
- y?: number;
20
- x?: number;
21
- raise?: boolean;
22
- history?: Set<Id>;
23
- };
24
- export declare const stripTable: ({ value, y, x, raise, history }: StripTableProps) => any;
25
- export {};
26
- //# sourceMappingURL=solver.d.ts.map
@@ -1,17 +0,0 @@
1
- import { AreaType, PointType, StoreType } from '../types';
2
- import { Table } from './table';
3
- import { CSSProperties } from 'react';
4
- export declare class Autofill {
5
- private readonly src;
6
- private readonly dst;
7
- private readonly direction;
8
- private readonly table;
9
- constructor(store: StoreType, draggingTo: PointType);
10
- get applied(): Table;
11
- get wholeArea(): AreaType;
12
- getCellStyle(target: PointType): CSSProperties;
13
- private getDestinationArea;
14
- private suggestDirection;
15
- private getChangePatterns;
16
- }
17
- //# sourceMappingURL=autofill.d.ts.map
@@ -1,3 +0,0 @@
1
- import { CellType } from '../types';
2
- export declare const filterCellFields: (cell: CellType, ignoreFields: (keyof CellType)[]) => CellType;
3
- //# sourceMappingURL=cell.d.ts.map
@@ -1,3 +0,0 @@
1
- import { StoreType, AreaType } from '../types';
2
- export declare const clip: (store: StoreType) => AreaType;
3
- //# sourceMappingURL=clipboard.d.ts.map
@@ -1,10 +0,0 @@
1
- import { Address, ExtraPointType } from '../types';
2
- export declare const x2c: (x: number) => string;
3
- export declare const c2x: (col: string, absolute?: boolean) => number;
4
- export declare const y2r: (y: number) => string;
5
- export declare const r2y: (row: number | string, absolute?: boolean) => number;
6
- export declare const p2a: ({ y, x, absX, absY }: ExtraPointType) => string;
7
- export declare const a2p: (address: Address) => ExtraPointType;
8
- export declare const grantAddressAbsolute: (address: Address, absCol: boolean, absRow: boolean) => string | undefined;
9
- export declare const stripAddressAbsolute: (address: Address) => string;
10
- //# sourceMappingURL=coords.d.ts.map
@@ -1,2 +0,0 @@
1
- export declare function parseDate(value: string): Date | undefined;
2
- //# sourceMappingURL=date.d.ts.map
@@ -1,7 +0,0 @@
1
- import { FilterCondition, FilterConditionMethod, FilterConfig } from '../types';
2
- type FilterFunction = (condition: FilterCondition, cellValue: any) => boolean;
3
- export declare const filterFunctions: Record<FilterConditionMethod, FilterFunction>;
4
- export declare function evaluateFilterCondition(condition: FilterCondition, cellValue: any): boolean;
5
- export declare function evaluateFilterConfig(filter: FilterConfig, cellValue: any): boolean;
6
- export {};
7
- //# sourceMappingURL=filter.d.ts.map