@gridsheet/preact-core 2.0.0-rc.0

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 (115) hide show
  1. package/dist/components/Cell.d.ts +9 -0
  2. package/dist/components/ContextMenu.d.ts +20 -0
  3. package/dist/components/Editor.d.ts +10 -0
  4. package/dist/components/Emitter.d.ts +9 -0
  5. package/dist/components/Fixed.d.ts +10 -0
  6. package/dist/components/FormulaBar.d.ts +2 -0
  7. package/dist/components/GridSheet.d.ts +3 -0
  8. package/dist/components/HeaderCellLeft.d.ts +7 -0
  9. package/dist/components/HeaderCellTop.d.ts +7 -0
  10. package/dist/components/PluginBase.d.ts +21 -0
  11. package/dist/components/Resizer.d.ts +2 -0
  12. package/dist/components/ScrollHandle.d.ts +9 -0
  13. package/dist/components/SearchBar.d.ts +2 -0
  14. package/dist/components/StoreObserver.d.ts +8 -0
  15. package/dist/components/Tabular.d.ts +8 -0
  16. package/dist/components/hooks.d.ts +10 -0
  17. package/dist/components/svg/AddIcon.d.ts +3 -0
  18. package/dist/components/svg/Base.d.ts +12 -0
  19. package/dist/components/svg/CloseIcon.d.ts +3 -0
  20. package/dist/components/svg/SearchIcon.d.ts +3 -0
  21. package/dist/constants.d.ts +21 -0
  22. package/dist/formula/evaluator.d.ts +120 -0
  23. package/dist/formula/functions/__base.d.ts +26 -0
  24. package/dist/formula/functions/__utils.d.ts +12 -0
  25. package/dist/formula/functions/abs.d.ts +12 -0
  26. package/dist/formula/functions/acos.d.ts +12 -0
  27. package/dist/formula/functions/add.d.ts +13 -0
  28. package/dist/formula/functions/and.d.ts +19 -0
  29. package/dist/formula/functions/asin.d.ts +12 -0
  30. package/dist/formula/functions/atan.d.ts +12 -0
  31. package/dist/formula/functions/atan2.d.ts +12 -0
  32. package/dist/formula/functions/average.d.ts +19 -0
  33. package/dist/formula/functions/col.d.ts +13 -0
  34. package/dist/formula/functions/concat.d.ts +12 -0
  35. package/dist/formula/functions/concatenate.d.ts +19 -0
  36. package/dist/formula/functions/cos.d.ts +12 -0
  37. package/dist/formula/functions/count.d.ts +19 -0
  38. package/dist/formula/functions/counta.d.ts +19 -0
  39. package/dist/formula/functions/countif.d.ts +13 -0
  40. package/dist/formula/functions/divide.d.ts +12 -0
  41. package/dist/formula/functions/eq.d.ts +12 -0
  42. package/dist/formula/functions/exp.d.ts +12 -0
  43. package/dist/formula/functions/gt.d.ts +12 -0
  44. package/dist/formula/functions/gte.d.ts +12 -0
  45. package/dist/formula/functions/hlookup.d.ts +18 -0
  46. package/dist/formula/functions/if.d.ts +17 -0
  47. package/dist/formula/functions/iferror.d.ts +20 -0
  48. package/dist/formula/functions/len.d.ts +12 -0
  49. package/dist/formula/functions/lenb.d.ts +12 -0
  50. package/dist/formula/functions/ln.d.ts +12 -0
  51. package/dist/formula/functions/log.d.ts +12 -0
  52. package/dist/formula/functions/log10.d.ts +12 -0
  53. package/dist/formula/functions/lt.d.ts +12 -0
  54. package/dist/formula/functions/lte.d.ts +12 -0
  55. package/dist/formula/functions/max.d.ts +19 -0
  56. package/dist/formula/functions/min.d.ts +19 -0
  57. package/dist/formula/functions/minus.d.ts +13 -0
  58. package/dist/formula/functions/mod.d.ts +12 -0
  59. package/dist/formula/functions/multiply.d.ts +12 -0
  60. package/dist/formula/functions/ne.d.ts +12 -0
  61. package/dist/formula/functions/not.d.ts +12 -0
  62. package/dist/formula/functions/now.d.ts +9 -0
  63. package/dist/formula/functions/or.d.ts +19 -0
  64. package/dist/formula/functions/pi.d.ts +9 -0
  65. package/dist/formula/functions/power.d.ts +12 -0
  66. package/dist/formula/functions/product.d.ts +19 -0
  67. package/dist/formula/functions/radians.d.ts +12 -0
  68. package/dist/formula/functions/rand.d.ts +9 -0
  69. package/dist/formula/functions/round.d.ts +17 -0
  70. package/dist/formula/functions/rounddown.d.ts +17 -0
  71. package/dist/formula/functions/roundup.d.ts +17 -0
  72. package/dist/formula/functions/row.d.ts +13 -0
  73. package/dist/formula/functions/sin.d.ts +12 -0
  74. package/dist/formula/functions/sqrt.d.ts +12 -0
  75. package/dist/formula/functions/sum.d.ts +19 -0
  76. package/dist/formula/functions/sumif.d.ts +18 -0
  77. package/dist/formula/functions/tan.d.ts +12 -0
  78. package/dist/formula/functions/uminus.d.ts +12 -0
  79. package/dist/formula/functions/vlookup.d.ts +18 -0
  80. package/dist/formula/mapping.d.ts +3 -0
  81. package/dist/formula/solver.d.ts +16 -0
  82. package/dist/index.d.ts +60 -0
  83. package/dist/index.js +7166 -0
  84. package/dist/lib/autofill.d.ts +17 -0
  85. package/dist/lib/clipboard.d.ts +3 -0
  86. package/dist/lib/converters.d.ts +10 -0
  87. package/dist/lib/events.d.ts +6 -0
  88. package/dist/lib/hub.d.ts +39 -0
  89. package/dist/lib/input.d.ts +15 -0
  90. package/dist/lib/operation.d.ts +27 -0
  91. package/dist/lib/palette.d.ts +2 -0
  92. package/dist/lib/paste.d.ts +4 -0
  93. package/dist/lib/sheet.d.ts +3 -0
  94. package/dist/lib/structs.d.ts +64 -0
  95. package/dist/lib/table.d.ts +388 -0
  96. package/dist/lib/time.d.ts +24 -0
  97. package/dist/lib/virtualization.d.ts +22 -0
  98. package/dist/parsers/core.d.ts +36 -0
  99. package/dist/policy/core.d.ts +47 -0
  100. package/dist/renderers/checkbox.d.ts +5 -0
  101. package/dist/renderers/core.d.ts +62 -0
  102. package/dist/renderers/thousand_separator.d.ts +4 -0
  103. package/dist/store/actions.d.ts +194 -0
  104. package/dist/store/dispatchers.d.ts +13 -0
  105. package/dist/store/helpers.d.ts +31 -0
  106. package/dist/store/index.d.ts +10 -0
  107. package/dist/styles/embedder.d.ts +2 -0
  108. package/dist/styles/minified.d.ts +3 -0
  109. package/dist/types.d.ts +310 -0
  110. package/dist/utils.d.ts +2 -0
  111. package/exports.ts +35 -0
  112. package/index.ts +3 -0
  113. package/package.json +28 -0
  114. package/tsconfig.json +25 -0
  115. package/vite.config.js +37 -0
@@ -0,0 +1,12 @@
1
+ import { BaseFunction } from './__base';
2
+ export declare class ExpFunction extends BaseFunction {
3
+ example: string;
4
+ helpText: string[];
5
+ helpArgs: {
6
+ name: string;
7
+ description: string;
8
+ }[];
9
+ protected validate(): void;
10
+ protected main(exponent: number): number;
11
+ }
12
+ //# sourceMappingURL=exp.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { BaseFunction } from './__base';
2
+ export declare class GtFunction 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=gt.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { BaseFunction } from './__base';
2
+ export declare class GteFunction 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=gte.d.ts.map
@@ -0,0 +1,18 @@
1
+ import { Table } from '../../lib/table';
2
+ import { BaseFunction } from './__base';
3
+ export declare class HlookupFunction 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=hlookup.d.ts.map
@@ -0,0 +1,17 @@
1
+ import { BaseFunction } from './__base';
2
+ export declare class IfFunction 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(condition: boolean, v1: any, v2?: any): any;
16
+ }
17
+ //# sourceMappingURL=if.d.ts.map
@@ -0,0 +1,20 @@
1
+ import { FunctionProps } from './__base';
2
+ export declare class IfErrorFunction {
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
+ private args;
15
+ private table;
16
+ constructor({ args, table }: FunctionProps);
17
+ protected validate(): void;
18
+ call(): any;
19
+ }
20
+ //# sourceMappingURL=iferror.d.ts.map
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,19 @@
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
@@ -0,0 +1,19 @@
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
@@ -0,0 +1,13 @@
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
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,9 @@
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
@@ -0,0 +1,19 @@
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
@@ -0,0 +1,9 @@
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
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,19 @@
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
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,9 @@
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
@@ -0,0 +1,17 @@
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
@@ -0,0 +1,17 @@
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
@@ -0,0 +1,17 @@
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
@@ -0,0 +1,13 @@
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
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,19 @@
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
@@ -0,0 +1,18 @@
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
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,12 @@
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
@@ -0,0 +1,18 @@
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
@@ -0,0 +1,3 @@
1
+ import { FunctionMapping } from './functions/__base';
2
+ export declare const functions: FunctionMapping;
3
+ //# sourceMappingURL=mapping.d.ts.map
@@ -0,0 +1,16 @@
1
+ import { Table } from '../lib/table';
2
+ import { MatrixType, PointType } from '../types';
3
+ type SolveFormulaType = {
4
+ value: any;
5
+ table: Table;
6
+ raise?: boolean;
7
+ evaluates?: boolean | null;
8
+ origin?: PointType;
9
+ };
10
+ export declare const solveFormula: ({ value, table, raise, evaluates, origin }: SolveFormulaType) => any;
11
+ export declare const solveTable: ({ table, raise }: {
12
+ table: Table;
13
+ raise?: boolean;
14
+ }) => MatrixType;
15
+ export {};
16
+ //# sourceMappingURL=solver.d.ts.map