@gridsheet/react-core 3.0.0-rc.0 → 3.0.0-rc.2
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/components/Cell.d.ts.map +1 -1
- package/dist/components/CellStateOverlay.d.ts.map +1 -1
- package/dist/components/ColumnMenu.d.ts.map +1 -1
- package/dist/components/ContextMenu.d.ts +1 -0
- package/dist/components/ContextMenu.d.ts.map +1 -1
- package/dist/components/Editor.d.ts.map +1 -1
- package/dist/components/EditorOptions.d.ts +11 -0
- package/dist/components/EditorOptions.d.ts.map +1 -0
- package/dist/components/FormulaBar.d.ts.map +1 -1
- package/dist/components/FunctionGuide.d.ts +20 -0
- package/dist/components/FunctionGuide.d.ts.map +1 -0
- package/dist/components/GridSheet.d.ts.map +1 -1
- package/dist/components/HeaderCellLeft.d.ts.map +1 -1
- package/dist/components/HeaderCellTop.d.ts.map +1 -1
- package/dist/components/Resizer.d.ts.map +1 -1
- package/dist/components/RowMenu.d.ts.map +1 -1
- package/dist/components/ScrollHandle.d.ts.map +1 -1
- package/dist/components/SearchBar.d.ts.map +1 -1
- package/dist/components/Tabular.d.ts.map +1 -1
- package/dist/components/useAutocomplete.d.ts +25 -0
- package/dist/components/useAutocomplete.d.ts.map +1 -0
- package/dist/constants.d.ts +1 -13
- package/dist/constants.d.ts.map +1 -1
- package/dist/formula/evaluator.d.ts +10 -15
- package/dist/formula/evaluator.d.ts.map +1 -1
- package/dist/formula/formula-error.d.ts +10 -0
- package/dist/formula/formula-error.d.ts.map +1 -0
- package/dist/formula/functions/__async.d.ts +16 -8
- package/dist/formula/functions/__async.d.ts.map +1 -1
- package/dist/formula/functions/__base.d.ts +102 -14
- package/dist/formula/functions/__base.d.ts.map +1 -1
- package/dist/formula/functions/__utils.d.ts +4 -0
- package/dist/formula/functions/__utils.d.ts.map +1 -1
- package/dist/formula/functions/abs.d.ts +5 -8
- package/dist/formula/functions/abs.d.ts.map +1 -1
- package/dist/formula/functions/add.d.ts +6 -9
- package/dist/formula/functions/add.d.ts.map +1 -1
- package/dist/formula/functions/and.d.ts +5 -15
- package/dist/formula/functions/and.d.ts.map +1 -1
- package/dist/formula/functions/arrayformula.d.ts +12 -0
- package/dist/formula/functions/arrayformula.d.ts.map +1 -0
- package/dist/formula/functions/average.d.ts +5 -15
- package/dist/formula/functions/average.d.ts.map +1 -1
- package/dist/formula/functions/concat.d.ts +5 -8
- package/dist/formula/functions/concat.d.ts.map +1 -1
- package/dist/formula/functions/count.d.ts +4 -14
- package/dist/formula/functions/count.d.ts.map +1 -1
- package/dist/formula/functions/counta.d.ts +4 -14
- package/dist/formula/functions/counta.d.ts.map +1 -1
- package/dist/formula/functions/divide.d.ts +5 -7
- package/dist/formula/functions/divide.d.ts.map +1 -1
- package/dist/formula/functions/eq.d.ts +4 -7
- package/dist/formula/functions/eq.d.ts.map +1 -1
- package/dist/formula/functions/gt.d.ts +5 -8
- package/dist/formula/functions/gt.d.ts.map +1 -1
- package/dist/formula/functions/gte.d.ts +5 -8
- package/dist/formula/functions/gte.d.ts.map +1 -1
- package/dist/formula/functions/if.d.ts +5 -13
- package/dist/formula/functions/if.d.ts.map +1 -1
- package/dist/formula/functions/iferror.d.ts +7 -17
- package/dist/formula/functions/iferror.d.ts.map +1 -1
- package/dist/formula/functions/len.d.ts +5 -8
- package/dist/formula/functions/len.d.ts.map +1 -1
- package/dist/formula/functions/lt.d.ts +5 -8
- package/dist/formula/functions/lt.d.ts.map +1 -1
- package/dist/formula/functions/lte.d.ts +5 -8
- package/dist/formula/functions/lte.d.ts.map +1 -1
- package/dist/formula/functions/max.d.ts +5 -15
- package/dist/formula/functions/max.d.ts.map +1 -1
- package/dist/formula/functions/min.d.ts +5 -15
- package/dist/formula/functions/min.d.ts.map +1 -1
- package/dist/formula/functions/minus.d.ts +7 -9
- package/dist/formula/functions/minus.d.ts.map +1 -1
- package/dist/formula/functions/multiply.d.ts +5 -8
- package/dist/formula/functions/multiply.d.ts.map +1 -1
- package/dist/formula/functions/ne.d.ts +4 -7
- package/dist/formula/functions/ne.d.ts.map +1 -1
- package/dist/formula/functions/not.d.ts +5 -8
- package/dist/formula/functions/not.d.ts.map +1 -1
- package/dist/formula/functions/now.d.ts +4 -4
- package/dist/formula/functions/now.d.ts.map +1 -1
- package/dist/formula/functions/or.d.ts +5 -15
- package/dist/formula/functions/or.d.ts.map +1 -1
- package/dist/formula/functions/power.d.ts +5 -8
- package/dist/formula/functions/power.d.ts.map +1 -1
- package/dist/formula/functions/sum.d.ts +5 -15
- package/dist/formula/functions/sum.d.ts.map +1 -1
- package/dist/formula/functions/uminus.d.ts +5 -8
- package/dist/formula/functions/uminus.d.ts.map +1 -1
- package/dist/formula/mapping.d.ts +9 -1
- package/dist/formula/mapping.d.ts.map +1 -1
- package/dist/formula/solver.d.ts +6 -4
- package/dist/formula/solver.d.ts.map +1 -1
- package/dist/index.d.ts +14 -14
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7633 -6928
- package/dist/index.js.map +1 -1
- package/dist/lib/autofill.d.ts.map +1 -1
- package/dist/lib/cell.d.ts +13 -1
- package/dist/lib/cell.d.ts.map +1 -1
- package/dist/lib/clipboard.d.ts +16 -1
- package/dist/lib/clipboard.d.ts.map +1 -1
- package/dist/lib/coords.d.ts +1 -1
- package/dist/lib/coords.d.ts.map +1 -1
- package/dist/lib/dom.d.ts +2 -0
- package/dist/lib/dom.d.ts.map +1 -0
- package/dist/lib/hub.d.ts +13 -25
- package/dist/lib/hub.d.ts.map +1 -1
- package/dist/lib/input.d.ts +9 -0
- package/dist/lib/input.d.ts.map +1 -1
- package/dist/lib/operation.d.ts +0 -3
- package/dist/lib/operation.d.ts.map +1 -1
- package/dist/lib/reference.d.ts.map +1 -1
- package/dist/lib/spatial.d.ts +2 -0
- package/dist/lib/spatial.d.ts.map +1 -1
- package/dist/lib/table.d.ts +77 -51
- package/dist/lib/table.d.ts.map +1 -1
- package/dist/lib/time.d.ts +19 -15
- package/dist/lib/time.d.ts.map +1 -1
- package/dist/policy/checkbox.d.ts +3 -0
- package/dist/policy/checkbox.d.ts.map +1 -0
- package/dist/policy/core.d.ts +136 -19
- package/dist/policy/core.d.ts.map +1 -1
- package/dist/policy/thousand_separator.d.ts +4 -0
- package/dist/policy/thousand_separator.d.ts.map +1 -0
- package/dist/sentinels.d.ts +39 -0
- package/dist/sentinels.d.ts.map +1 -0
- package/dist/store/actions.d.ts +12 -0
- package/dist/store/actions.d.ts.map +1 -1
- package/dist/store/dispatchers.d.ts +2 -0
- package/dist/store/dispatchers.d.ts.map +1 -1
- package/dist/store/helpers.d.ts +4 -6
- package/dist/store/helpers.d.ts.map +1 -1
- package/dist/styles/minified.d.ts +2 -2
- package/dist/styles/minified.d.ts.map +1 -1
- package/dist/types.d.ts +26 -28
- package/dist/types.d.ts.map +1 -1
- package/package.json +14 -2
- package/dist/formula/functions/acos.d.ts +0 -12
- package/dist/formula/functions/acos.d.ts.map +0 -1
- package/dist/formula/functions/asin.d.ts +0 -12
- package/dist/formula/functions/asin.d.ts.map +0 -1
- package/dist/formula/functions/atan.d.ts +0 -12
- package/dist/formula/functions/atan.d.ts.map +0 -1
- package/dist/formula/functions/atan2.d.ts +0 -12
- package/dist/formula/functions/atan2.d.ts.map +0 -1
- package/dist/formula/functions/col.d.ts +0 -13
- package/dist/formula/functions/col.d.ts.map +0 -1
- package/dist/formula/functions/concatenate.d.ts +0 -19
- package/dist/formula/functions/concatenate.d.ts.map +0 -1
- package/dist/formula/functions/cos.d.ts +0 -12
- package/dist/formula/functions/cos.d.ts.map +0 -1
- package/dist/formula/functions/countif.d.ts +0 -13
- package/dist/formula/functions/countif.d.ts.map +0 -1
- package/dist/formula/functions/exp.d.ts +0 -12
- package/dist/formula/functions/exp.d.ts.map +0 -1
- package/dist/formula/functions/hlookup.d.ts +0 -18
- package/dist/formula/functions/hlookup.d.ts.map +0 -1
- package/dist/formula/functions/index.d.ts +0 -18
- package/dist/formula/functions/index.d.ts.map +0 -1
- package/dist/formula/functions/lenb.d.ts +0 -12
- package/dist/formula/functions/lenb.d.ts.map +0 -1
- package/dist/formula/functions/ln.d.ts +0 -12
- package/dist/formula/functions/ln.d.ts.map +0 -1
- package/dist/formula/functions/log.d.ts +0 -12
- package/dist/formula/functions/log.d.ts.map +0 -1
- package/dist/formula/functions/log10.d.ts +0 -12
- package/dist/formula/functions/log10.d.ts.map +0 -1
- package/dist/formula/functions/match.d.ts +0 -18
- 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/mod.d.ts +0 -12
- package/dist/formula/functions/mod.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/product.d.ts +0 -19
- package/dist/formula/functions/product.d.ts.map +0 -1
- package/dist/formula/functions/radians.d.ts +0 -12
- 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 -17
- package/dist/formula/functions/round.d.ts.map +0 -1
- package/dist/formula/functions/rounddown.d.ts +0 -17
- package/dist/formula/functions/rounddown.d.ts.map +0 -1
- package/dist/formula/functions/roundup.d.ts +0 -17
- package/dist/formula/functions/roundup.d.ts.map +0 -1
- package/dist/formula/functions/row.d.ts +0 -13
- package/dist/formula/functions/row.d.ts.map +0 -1
- package/dist/formula/functions/sin.d.ts +0 -12
- package/dist/formula/functions/sin.d.ts.map +0 -1
- package/dist/formula/functions/sqrt.d.ts +0 -12
- package/dist/formula/functions/sqrt.d.ts.map +0 -1
- package/dist/formula/functions/sumif.d.ts +0 -18
- package/dist/formula/functions/sumif.d.ts.map +0 -1
- package/dist/formula/functions/tan.d.ts +0 -12
- package/dist/formula/functions/tan.d.ts.map +0 -1
- package/dist/formula/functions/vlookup.d.ts +0 -18
- package/dist/formula/functions/vlookup.d.ts.map +0 -1
- package/dist/parsers/core.d.ts +0 -38
- package/dist/parsers/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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"round.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/round.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,qBAAa,aAAc,SAAQ,YAAY;IAC7C,OAAO,SAAoB;IAC3B,QAAQ,WAA6F;IACrG,QAAQ;;;;;;;;SAUN;IAEF,SAAS,CAAC,QAAQ;IAOlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,SAAI;CAIxC"}
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rounddown.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/rounddown.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,qBAAa,iBAAkB,SAAQ,YAAY;IACjD,OAAO,SAAwB;IAC/B,QAAQ,WAAkG;IAC1G,QAAQ;;;;;;;;SAUN;IAEF,SAAS,CAAC,QAAQ;IAOlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,SAAI;CAIxC"}
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"roundup.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/roundup.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,qBAAa,eAAgB,SAAQ,YAAY;IAC/C,OAAO,SAAsB;IAC7B,QAAQ,WAAgG;IACxG,QAAQ;;;;;;;;SAUN;IAEF,SAAS,CAAC,QAAQ;IAOlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,SAAI;CAIxC"}
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"row.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/row.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAa;IACpB,QAAQ,WAAmD;IAC3D,QAAQ;;;;QAMN;IAEF,SAAS,CAAC,QAAQ;IAWlB,SAAS,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM;CAG3B"}
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sin.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/sin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAiB;IACxB,QAAQ,WAA0D;IAClE,QAAQ;;;QAKN;IAEF,SAAS,CAAC,QAAQ;IAOlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM;CAG7B"}
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sqrt.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/sqrt.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,qBAAa,YAAa,SAAQ,YAAY;IAC5C,OAAO,SAAa;IACpB,QAAQ,WAA8D;IACtE,QAAQ;;;QAKN;IAEF,SAAS,CAAC,QAAQ;IAUlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM;CAG7B"}
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sumif.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/sumif.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAKxC,qBAAa,aAAc,SAAQ,YAAY;IAC7C,OAAO,SAAyB;IAChC,QAAQ,WAA6C;IACrD,QAAQ;;;;;;;;SAWN;IAEF,SAAS,CAAC,QAAQ;IAUlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK;CA2BhE"}
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tan.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/tan.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAY;IACnB,QAAQ,WAA0D;IAClE,QAAQ;;;QAKN;IAEF,SAAS,CAAC,QAAQ;IAOlB,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM;CAG7B"}
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vlookup.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/vlookup.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAIxC,qBAAa,eAAgB,SAAQ,YAAY;IAC/C,OAAO,SAAsC;IAC7C,QAAQ,WAEN;IACF,QAAQ;;;;;;;;SAgBN;IAEF,SAAS,CAAC,QAAQ;IAclB,SAAS,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO;CA2BxE"}
|
package/dist/parsers/core.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { CellType } from '../types';
|
|
2
|
-
import { TimeDelta } from '../lib/time';
|
|
3
|
-
type Condition = (value: string) => boolean;
|
|
4
|
-
type Stringify = (value: string) => any;
|
|
5
|
-
type Props = {
|
|
6
|
-
condition?: Condition;
|
|
7
|
-
complement?: Stringify;
|
|
8
|
-
mixins?: ParserMixinType[];
|
|
9
|
-
};
|
|
10
|
-
export interface ParserMixinType {
|
|
11
|
-
functions?: ((value: string, cell?: CellType) => any)[];
|
|
12
|
-
callback?(parsed: any, cell?: CellType): CellType;
|
|
13
|
-
parse?(value: string, cell: CellType): any;
|
|
14
|
-
any?(value: string, cell?: CellType): string | undefined;
|
|
15
|
-
bool?(value: string, cell?: CellType): boolean | undefined;
|
|
16
|
-
number?(value: string, cell?: CellType): number | undefined;
|
|
17
|
-
timedelta?(value: string, cell?: CellType): TimeDelta | undefined;
|
|
18
|
-
date?(value: string, cell?: CellType): Date | undefined;
|
|
19
|
-
}
|
|
20
|
-
export declare class Parser implements ParserMixinType {
|
|
21
|
-
functions: ((value: string, cell?: CellType) => any)[];
|
|
22
|
-
private condition?;
|
|
23
|
-
private complement?;
|
|
24
|
-
constructor(props?: Props);
|
|
25
|
-
private applyMixins;
|
|
26
|
-
call(value: string, cell: CellType): CellType;
|
|
27
|
-
callback(parsed: any, cell?: CellType): CellType;
|
|
28
|
-
parse(value: string, cell?: CellType): any;
|
|
29
|
-
any(value: string, cell?: CellType): string | undefined;
|
|
30
|
-
bool(value: string, cell?: CellType): boolean | undefined;
|
|
31
|
-
number(value: string, cell?: CellType): number | undefined;
|
|
32
|
-
timedelta(value: string, cell?: CellType): TimeDelta | undefined;
|
|
33
|
-
date(value: string, cell?: CellType): Date | undefined;
|
|
34
|
-
}
|
|
35
|
-
export type ParserType = Parser;
|
|
36
|
-
export declare const defaultParser: Parser;
|
|
37
|
-
export {};
|
|
38
|
-
//# sourceMappingURL=core.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/parsers/core.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,KAAK,SAAS,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;AAC5C,KAAK,SAAS,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,GAAG,CAAC;AAExC,KAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,MAAM,CAAC,EAAE,eAAe,EAAE,CAAC;CAC5B,CAAC;AAIF,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,QAAQ,KAAK,GAAG,CAAC,EAAE,CAAC;IACxD,QAAQ,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAClD,KAAK,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ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AO,GAAG,SAAS;IAIzD,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS;IAO1D,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS;IAOhE,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,QAAQ,GAAG,IAAI,GAAG,SAAS;CAGvD;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAEhC,eAAO,MAAM,aAAa,QAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../src/renderers/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,eAAO,MAAM,qBAAqB;wCACI,WAAW,CAAC,OAAO,CAAC,GAAG,GAAG;CAc/D,CAAC"}
|
package/dist/renderers/core.d.ts
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { CellType, PointType } from '../types';
|
|
2
|
-
import { Table, UserTable } from '../lib/table';
|
|
3
|
-
import { TimeDelta } from '../lib/time';
|
|
4
|
-
type Condition = (value: any) => boolean;
|
|
5
|
-
type Stringify = (value: any) => string;
|
|
6
|
-
export type Props = {
|
|
7
|
-
condition?: Condition;
|
|
8
|
-
complement?: Stringify;
|
|
9
|
-
mixins?: RendererMixinType[];
|
|
10
|
-
};
|
|
11
|
-
export type RendererCallProps = {
|
|
12
|
-
table: Table;
|
|
13
|
-
point: PointType;
|
|
14
|
-
sync?: (table: UserTable) => void;
|
|
15
|
-
};
|
|
16
|
-
export type RenderProps<T extends any = any> = {
|
|
17
|
-
value: T;
|
|
18
|
-
cell?: CellType<T>;
|
|
19
|
-
table: Table;
|
|
20
|
-
point: PointType;
|
|
21
|
-
sync?: (table: UserTable) => void;
|
|
22
|
-
};
|
|
23
|
-
export interface RendererMixinType {
|
|
24
|
-
datetimeFormat?: string;
|
|
25
|
-
dateFormat?: string;
|
|
26
|
-
timeDeltaFormat?: string;
|
|
27
|
-
decorate?(rendered: any, props: RenderProps): any;
|
|
28
|
-
render?(props: RenderProps): any;
|
|
29
|
-
stringify?(props: RenderProps): string;
|
|
30
|
-
string?(props: RenderProps<string>): any;
|
|
31
|
-
table?(props: RenderProps<Table>): any;
|
|
32
|
-
bool?(props: RenderProps<boolean>): any;
|
|
33
|
-
number?(props: RenderProps<number>): any;
|
|
34
|
-
date?(props: RenderProps<Date>): any;
|
|
35
|
-
timedelta?(props: RenderProps<TimeDelta>): any;
|
|
36
|
-
array?(props: RenderProps<any[]>): any;
|
|
37
|
-
object?(props: RenderProps<any>): any;
|
|
38
|
-
null?(props: RenderProps<null | undefined>): any;
|
|
39
|
-
}
|
|
40
|
-
export declare class Renderer implements RendererMixinType {
|
|
41
|
-
datetimeFormat: string;
|
|
42
|
-
dateFormat: string;
|
|
43
|
-
timeDeltaFormat: string;
|
|
44
|
-
private condition?;
|
|
45
|
-
private complement?;
|
|
46
|
-
constructor(props?: Props);
|
|
47
|
-
private applyMixins;
|
|
48
|
-
call(props: RendererCallProps): any;
|
|
49
|
-
decorate(rendered: any, props: RenderProps): any;
|
|
50
|
-
render(props: RenderProps): any;
|
|
51
|
-
pending(_props: RenderProps): any;
|
|
52
|
-
stringify({ value, cell, table, point }: RenderProps): string;
|
|
53
|
-
string({ value }: RenderProps<string>): any;
|
|
54
|
-
table(props: RenderProps<Table>): any;
|
|
55
|
-
bool({ value }: RenderProps<boolean>): any;
|
|
56
|
-
number({ value }: RenderProps<number>): any;
|
|
57
|
-
date({ value }: RenderProps<Date>): any;
|
|
58
|
-
timedelta({ value }: RenderProps<TimeDelta>): string;
|
|
59
|
-
array(props: RenderProps<any[]>): any;
|
|
60
|
-
object({ value }: RenderProps<any>): any;
|
|
61
|
-
null({}: RenderProps<null | undefined>): any;
|
|
62
|
-
}
|
|
63
|
-
export type RendererType = Renderer;
|
|
64
|
-
export declare const defaultRenderer: Renderer;
|
|
65
|
-
export {};
|
|
66
|
-
//# sourceMappingURL=core.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../src/renderers/core.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAc,MAAM,UAAU,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIhD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,KAAK,SAAS,GAAG,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC;AAEzC,KAAK,SAAS,GAAG,CAAC,KAAK,EAAE,GAAG,KAAK,MAAM,CAAC;AAExC,MAAM,MAAM,KAAK,GAAG;IAClB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,MAAM,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,GAAG,GAAG,GAAG,IAAI;IAC7C,KAAK,EAAE,CAAC,CAAC;IACT,IAAI,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,MAAM,WAAW,iBAAiB;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC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