@gridsheet/react-core 3.0.0-rc.1 → 3.0.0-rc.3
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/ColumnMenu.d.ts.map +1 -1
- package/dist/components/ColumnMenuFilterSection.d.ts +5 -0
- package/dist/components/ColumnMenuFilterSection.d.ts.map +1 -0
- package/dist/components/ColumnMenuLabelSection.d.ts +5 -0
- package/dist/components/ColumnMenuLabelSection.d.ts.map +1 -0
- package/dist/components/ColumnMenuSortSection.d.ts +5 -0
- package/dist/components/ColumnMenuSortSection.d.ts.map +1 -0
- package/dist/components/ContextMenu.d.ts +0 -19
- package/dist/components/ContextMenu.d.ts.map +1 -1
- package/dist/components/Editor.d.ts.map +1 -1
- package/dist/components/EditorOptions.d.ts.map +1 -1
- package/dist/components/FormulaBar.d.ts.map +1 -1
- package/dist/components/FunctionGuide.d.ts +3 -2
- package/dist/components/FunctionGuide.d.ts.map +1 -1
- package/dist/components/GridSheet.d.ts +6 -4
- 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/MenuItem.d.ts +18 -0
- package/dist/components/MenuItem.d.ts.map +1 -0
- package/dist/components/PluginBase.d.ts +2 -2
- package/dist/components/PluginBase.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/StoreObserver.d.ts +7 -4
- package/dist/components/StoreObserver.d.ts.map +1 -1
- package/dist/components/Tabular.d.ts.map +1 -1
- package/dist/components/useAutocomplete.d.ts.map +1 -1
- package/dist/constants.d.ts +4 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/formula/evaluator.d.ts +36 -40
- 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 +17 -12
- package/dist/formula/functions/__async.d.ts.map +1 -1
- package/dist/formula/functions/__base.d.ts +82 -23
- 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 -5
- package/dist/formula/functions/abs.d.ts.map +1 -1
- package/dist/formula/functions/add.d.ts +6 -6
- package/dist/formula/functions/add.d.ts.map +1 -1
- package/dist/formula/functions/and.d.ts +5 -5
- 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 -5
- package/dist/formula/functions/average.d.ts.map +1 -1
- package/dist/formula/functions/concat.d.ts +5 -5
- package/dist/formula/functions/concat.d.ts.map +1 -1
- package/dist/formula/functions/count.d.ts +4 -4
- package/dist/formula/functions/count.d.ts.map +1 -1
- package/dist/formula/functions/counta.d.ts +4 -4
- package/dist/formula/functions/counta.d.ts.map +1 -1
- package/dist/formula/functions/divide.d.ts +5 -4
- package/dist/formula/functions/divide.d.ts.map +1 -1
- package/dist/formula/functions/eq.d.ts +4 -4
- package/dist/formula/functions/eq.d.ts.map +1 -1
- package/dist/formula/functions/gt.d.ts +5 -5
- package/dist/formula/functions/gt.d.ts.map +1 -1
- package/dist/formula/functions/gte.d.ts +5 -5
- package/dist/formula/functions/gte.d.ts.map +1 -1
- package/dist/formula/functions/if.d.ts +5 -5
- package/dist/formula/functions/if.d.ts.map +1 -1
- package/dist/formula/functions/iferror.d.ts +7 -9
- package/dist/formula/functions/iferror.d.ts.map +1 -1
- package/dist/formula/functions/len.d.ts +5 -5
- package/dist/formula/functions/len.d.ts.map +1 -1
- package/dist/formula/functions/lt.d.ts +5 -5
- package/dist/formula/functions/lt.d.ts.map +1 -1
- package/dist/formula/functions/lte.d.ts +5 -5
- package/dist/formula/functions/lte.d.ts.map +1 -1
- package/dist/formula/functions/max.d.ts +5 -5
- package/dist/formula/functions/max.d.ts.map +1 -1
- package/dist/formula/functions/min.d.ts +5 -5
- package/dist/formula/functions/min.d.ts.map +1 -1
- package/dist/formula/functions/minus.d.ts +6 -6
- package/dist/formula/functions/minus.d.ts.map +1 -1
- package/dist/formula/functions/multiply.d.ts +5 -5
- package/dist/formula/functions/multiply.d.ts.map +1 -1
- package/dist/formula/functions/ne.d.ts +4 -4
- package/dist/formula/functions/ne.d.ts.map +1 -1
- package/dist/formula/functions/not.d.ts +5 -5
- 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 -5
- package/dist/formula/functions/or.d.ts.map +1 -1
- package/dist/formula/functions/power.d.ts +5 -5
- package/dist/formula/functions/power.d.ts.map +1 -1
- package/dist/formula/functions/sum.d.ts +5 -5
- package/dist/formula/functions/sum.d.ts.map +1 -1
- package/dist/formula/functions/uminus.d.ts +5 -5
- package/dist/formula/functions/uminus.d.ts.map +1 -1
- package/dist/formula/mapping.d.ts +4 -3
- package/dist/formula/mapping.d.ts.map +1 -1
- package/dist/formula/solver.d.ts +28 -15
- package/dist/formula/solver.d.ts.map +1 -1
- package/dist/index.d.ts +25 -23
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7875 -8226
- package/dist/index.js.map +1 -1
- package/dist/lib/autofill.d.ts +3 -3
- package/dist/lib/autofill.d.ts.map +1 -1
- package/dist/lib/{hub.d.ts → book.d.ts} +30 -45
- package/dist/lib/book.d.ts.map +1 -0
- package/dist/lib/cell.d.ts +6 -4
- 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 +13 -1
- package/dist/lib/coords.d.ts.map +1 -1
- package/dist/lib/dom.d.ts +7 -0
- package/dist/lib/dom.d.ts.map +1 -0
- package/dist/lib/input.d.ts +11 -2
- package/dist/lib/input.d.ts.map +1 -1
- package/dist/lib/label.d.ts +4 -0
- package/dist/lib/label.d.ts.map +1 -0
- package/dist/lib/menu.d.ts +99 -0
- package/dist/lib/menu.d.ts.map +1 -0
- package/dist/lib/operation.d.ts +0 -3
- package/dist/lib/operation.d.ts.map +1 -1
- package/dist/lib/popup.d.ts +24 -0
- package/dist/lib/popup.d.ts.map +1 -0
- package/dist/lib/reference.d.ts +10 -4
- package/dist/lib/reference.d.ts.map +1 -1
- package/dist/lib/sheet.d.ts +507 -2
- package/dist/lib/sheet.d.ts.map +1 -1
- package/dist/lib/sheet_utils.d.ts +55 -0
- package/dist/lib/sheet_utils.d.ts.map +1 -0
- package/dist/lib/spatial.d.ts +5 -20
- package/dist/lib/spatial.d.ts.map +1 -1
- package/dist/lib/time.d.ts +19 -15
- package/dist/lib/time.d.ts.map +1 -1
- package/dist/lib/virtualization.d.ts +4 -4
- package/dist/policy/checkbox.d.ts +3 -0
- package/dist/policy/checkbox.d.ts.map +1 -0
- package/dist/policy/core.d.ts +128 -18
- 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 +21 -4
- package/dist/sentinels.d.ts.map +1 -1
- package/dist/store/actions.d.ts +3 -3
- package/dist/store/actions.d.ts.map +1 -1
- package/dist/store/dispatchers.d.ts +38 -34
- package/dist/store/dispatchers.d.ts.map +1 -1
- package/dist/store/helpers.d.ts +13 -4
- 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 +59 -55
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/formula/functions/acos.d.ts +0 -9
- package/dist/formula/functions/acos.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/col.d.ts +0 -9
- package/dist/formula/functions/col.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/countif.d.ts +0 -10
- package/dist/formula/functions/countif.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/hlookup.d.ts +0 -10
- package/dist/formula/functions/hlookup.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/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/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/mod.d.ts +0 -9
- 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 -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/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/vlookup.d.ts +0 -10
- package/dist/formula/functions/vlookup.d.ts.map +0 -1
- package/dist/lib/hub.d.ts.map +0 -1
- package/dist/lib/table.d.ts +0 -463
- package/dist/lib/table.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,23 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Sheet } from '../../lib/sheet';
|
|
2
|
+
import { Id } from '../../types';
|
|
3
3
|
import { Expression } from '../evaluator';
|
|
4
|
+
/** Duck-type check for Sheet instances (avoids runtime import cycle). */
|
|
5
|
+
export declare const isSheet: (v: any) => v is Sheet;
|
|
6
|
+
export type FunctionCategory = 'math' | 'statistics' | 'text' | 'time' | 'lookup' | 'information' | 'finance' | 'engineering' | 'logical' | 'other';
|
|
4
7
|
export type FunctionProps = {
|
|
5
8
|
args: Expression[];
|
|
6
|
-
|
|
7
|
-
|
|
9
|
+
sheet: Sheet;
|
|
10
|
+
at?: Id;
|
|
8
11
|
};
|
|
9
|
-
export type
|
|
12
|
+
export type FunctionArgumentType = 'number' | 'string' | 'boolean' | 'date' | 'time' | 'matrix' | 'reference' | 'any';
|
|
13
|
+
export type FunctionArgumentDefinition = {
|
|
10
14
|
name: string;
|
|
11
15
|
description: string;
|
|
12
16
|
optional?: boolean;
|
|
13
|
-
|
|
14
|
-
|
|
17
|
+
nullable?: boolean;
|
|
18
|
+
variadic?: boolean;
|
|
19
|
+
errorTolerant?: boolean;
|
|
20
|
+
acceptedTypes?: FunctionArgumentType[];
|
|
21
|
+
/** When true, this argument takes a range/matrix value — broadcasting is suppressed for it. */
|
|
22
|
+
takesMatrix?: boolean;
|
|
15
23
|
};
|
|
16
|
-
export declare const conditionArg:
|
|
24
|
+
export declare const conditionArg: FunctionArgumentDefinition;
|
|
25
|
+
/**
|
|
26
|
+
* Check if a value is a "matrix" (Sheet, Spilling, or 2D array).
|
|
27
|
+
*/
|
|
28
|
+
export declare const isMatrix: (value: any) => boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Extract the scalar from a 1×1 matrix (Sheet, Spilling, or plain 2D array).
|
|
31
|
+
* Returns the value unchanged if it is not a matrix.
|
|
32
|
+
*/
|
|
33
|
+
export declare const stripMatrix: (value: any, at: Id) => any;
|
|
34
|
+
/**
|
|
35
|
+
* Check if a value is a matrix that is larger than 1×1.
|
|
36
|
+
*/
|
|
37
|
+
export declare const isMultiCell: (value: any) => boolean;
|
|
17
38
|
export declare class BaseFunction {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
39
|
+
defs: FunctionArgumentDefinition[];
|
|
40
|
+
example: string | undefined;
|
|
41
|
+
description: string;
|
|
42
|
+
category: FunctionCategory;
|
|
21
43
|
/** Indicates if this function is async. Override in subclass or use BaseFunctionAsync. */
|
|
22
44
|
protected isAsync: boolean;
|
|
23
45
|
/** Cache TTL in milliseconds. Override in subclass to set expiry. undefined = never expires. */
|
|
@@ -26,19 +48,56 @@ export declare class BaseFunction {
|
|
|
26
48
|
protected hashPrecision: number;
|
|
27
49
|
/** If true, reuse the same in-flight promise for matching cache keys across different cells. */
|
|
28
50
|
protected useInflight: boolean;
|
|
29
|
-
|
|
30
|
-
protected
|
|
31
|
-
protected
|
|
32
|
-
|
|
33
|
-
|
|
51
|
+
/** If true, broadcasting is unconditionally disabled for this function. */
|
|
52
|
+
protected broadcastDisabled: boolean;
|
|
53
|
+
protected args: any[];
|
|
54
|
+
protected autoSpilling: boolean;
|
|
55
|
+
sheet: Sheet;
|
|
56
|
+
at: Id;
|
|
57
|
+
static __name: string;
|
|
58
|
+
constructor({ args, sheet, at }: FunctionProps);
|
|
59
|
+
private _main;
|
|
60
|
+
/**
|
|
61
|
+
* Validate and normalise arguments before `main()` is called.
|
|
62
|
+
*
|
|
63
|
+
* Checks:
|
|
64
|
+
* 1. Argument count satisfies defs (respecting optional / variadic).
|
|
65
|
+
* 2. Each argument's runtime type matches the corresponding def's `type` list.
|
|
66
|
+
*
|
|
67
|
+
* Subclasses may override for additional coercion / spreading.
|
|
68
|
+
*/
|
|
69
|
+
protected validate(args: any[]): any[];
|
|
70
|
+
eachMatrix: (value: any, callback: (v: any) => void) => void;
|
|
71
|
+
/**
|
|
72
|
+
* Extract a 2D array from a matrix value (Spilling, Sheet, or nested array).
|
|
73
|
+
* Default behavior for Sheet is value.solve(). Functions like COL can override
|
|
74
|
+
* this to preserve Sheet metadata per cell.
|
|
75
|
+
*/
|
|
76
|
+
protected toMatrix(value: any): any[][];
|
|
77
|
+
/**
|
|
78
|
+
* Collapse a 1×1 matrix value (Sheet, Spilling, or 2D array) to a scalar.
|
|
79
|
+
* Non-matrix values pass through unchanged.
|
|
80
|
+
*
|
|
81
|
+
* Override in sub-classes that need the original Sheet / reference
|
|
82
|
+
* metadata (e.g. COL, ROW) — for instance, to extract position
|
|
83
|
+
* information before collapsing.
|
|
84
|
+
*/
|
|
85
|
+
protected toScalar(value: any): any;
|
|
34
86
|
call(): any;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
87
|
+
/**
|
|
88
|
+
* If any broadcastable argument is a matrix (multi-cell), expand the call
|
|
89
|
+
* across all element positions and return a Spilling.
|
|
90
|
+
* Returns `undefined` when no broadcast is necessary.
|
|
91
|
+
*
|
|
92
|
+
* Rules:
|
|
93
|
+
* - broadcastDisabled = true → never broadcast
|
|
94
|
+
* - An arg is broadcastable when its corresponding args[].takesMatrix is not true
|
|
95
|
+
* - A Sheet/Spilling/2D-array whose size is (1,1) is treated as a scalar
|
|
96
|
+
* (not broadcast); only multi-cell matrices trigger broadcast
|
|
97
|
+
* - For variadic args, extra args are assigned round-robin
|
|
98
|
+
* across the variadic helpArg positions
|
|
99
|
+
*/
|
|
100
|
+
private broadcast;
|
|
42
101
|
}
|
|
43
102
|
/**
|
|
44
103
|
* Base class for async functions.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"__base.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/__base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"__base.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/__base.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Sheet } from '../../lib/sheet';
|
|
2
|
+
import { Id, PointType } from '../../types';
|
|
1
3
|
export declare const gt: (left: any, right: any) => boolean;
|
|
2
4
|
export declare const gte: (left: any, right: any) => boolean;
|
|
3
5
|
export declare const lt: (left: any, right: any) => boolean;
|
|
@@ -16,4 +18,6 @@ export declare const ensureNumber: (value: any, options?: EnsureNumberOptions) =
|
|
|
16
18
|
export declare const ensureString: (value: any) => string;
|
|
17
19
|
export declare const ensureBoolean: (value: any, options?: EnsureBooleanOptions) => boolean;
|
|
18
20
|
export declare const check: (value: any, condition: string) => boolean;
|
|
21
|
+
export declare const eachMatrix: (value: any, callback: (v: any, relativePoint: PointType) => void, at: Id) => void;
|
|
22
|
+
export declare const createBooleanMask: (sheets: Sheet[], conditions: string[], at: Id) => boolean[][];
|
|
19
23
|
//# sourceMappingURL=__utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"__utils.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/__utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"__utils.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/__utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAKxC,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGjD,eAAO,MAAM,EAAE,GAAI,MAAM,GAAG,EAAE,OAAO,GAAG,KAAG,OAS1C,CAAC;AAEF,eAAO,MAAM,GAAG,GAAI,MAAM,GAAG,EAAE,OAAO,GAAG,KAAG,OAS3C,CAAC;AAEF,eAAO,MAAM,EAAE,GAAI,MAAM,GAAG,EAAE,OAAO,GAAG,KAAG,OAE1C,CAAC;AAEF,eAAO,MAAM,GAAG,GAAI,MAAM,GAAG,EAAE,OAAO,GAAG,KAAG,OAE3C,CAAC;AAEF,eAAO,MAAM,EAAE,GAAI,MAAM,GAAG,EAAE,OAAO,GAAG,KAAG,OAE1C,CAAC;AAEF,eAAO,MAAM,EAAE,GAAI,MAAM,GAAG,EAAE,OAAO,GAAG,KAAG,OAE1C,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,OAAO,GAAG,EAAE,UAAU,mBAAmB,KAAG,MAsCxE,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,OAAO,GAAG,KAAG,MAsBzC,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,GAAG,EAAE,UAAU,oBAAoB,KAAG,OA0B1E,CAAC;AAIF,eAAO,MAAM,KAAK,GAAI,OAAO,GAAG,EAAE,WAAW,MAAM,KAAG,OAqCrD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,GAAG,EAAE,UAAU,CAAC,CAAC,EAAE,GAAG,EAAE,aAAa,EAAE,SAAS,KAAK,IAAI,EAAE,IAAI,EAAE,SAwBlG,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,QAAQ,KAAK,EAAE,EAAE,YAAY,MAAM,EAAE,EAAE,IAAI,EAAE,KAAG,OAAO,EAAE,EAsB1F,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseFunction,
|
|
1
|
+
import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
|
|
2
2
|
export declare class AbsFunction extends BaseFunction {
|
|
3
3
|
example: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
protected main(value:
|
|
4
|
+
description: string;
|
|
5
|
+
defs: FunctionArgumentDefinition[];
|
|
6
|
+
category: FunctionCategory;
|
|
7
|
+
protected main(value: any): number;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=abs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abs.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/abs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"abs.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/abs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAKtF,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAa;IACpB,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAAgF;IAClH,QAAQ,EAAE,gBAAgB,CAAU;IAEpC,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG;CAG1B"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BaseFunction,
|
|
2
|
-
import {
|
|
1
|
+
import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
|
|
2
|
+
import { Time } from '../../lib/time';
|
|
3
3
|
export declare class AddFunction extends BaseFunction {
|
|
4
4
|
example: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
protected main(v1: number | Date |
|
|
5
|
+
description: string;
|
|
6
|
+
defs: FunctionArgumentDefinition[];
|
|
7
|
+
category: FunctionCategory;
|
|
8
|
+
protected main(v1: number | Date | Time, v2: number | Date | Time): number | Date;
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=add.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/add.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/add.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,KAAK,gBAAgB,EAAE,KAAK,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAEhG,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAMtC,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAe;IACtB,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAGhC;IACF,QAAQ,EAAE,gBAAgB,CAAU;IAEpC,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,EAAE,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;CA0BlE"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseFunction,
|
|
1
|
+
import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
|
|
2
2
|
export declare class AndFunction extends BaseFunction {
|
|
3
3
|
example: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
protected main(...values:
|
|
4
|
+
description: string;
|
|
5
|
+
defs: FunctionArgumentDefinition[];
|
|
6
|
+
category: FunctionCategory;
|
|
7
|
+
protected main(...values: any[]): boolean;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=and.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"and.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/and.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"and.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/and.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAMtF,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAqB;IAC5B,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAOhC;IACF,QAAQ,EAAE,gBAAgB,CAAa;IAEvC,SAAS,CAAC,IAAI,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;CAGhC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Spilling } from '../../sentinels';
|
|
2
|
+
import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
|
|
3
|
+
export declare class ArrayformulaFunction extends BaseFunction {
|
|
4
|
+
autoSpilling: boolean;
|
|
5
|
+
example: string;
|
|
6
|
+
description: string;
|
|
7
|
+
defs: FunctionArgumentDefinition[];
|
|
8
|
+
category: FunctionCategory;
|
|
9
|
+
protected broadcastDisabled: boolean;
|
|
10
|
+
protected main(value: any): any[] | Spilling;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=arrayformula.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrayformula.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/arrayformula.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAKtF,qBAAa,oBAAqB,SAAQ,YAAY;IACpD,YAAY,UAAQ;IACpB,OAAO,SAAmC;IAC1C,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAOhC;IACF,QAAQ,EAAE,gBAAgB,CAAa;IACvC,SAAS,CAAC,iBAAiB,UAAQ;IAEnC,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG;CAY1B"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseFunction,
|
|
1
|
+
import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
|
|
2
2
|
export declare class AverageFunction extends BaseFunction {
|
|
3
3
|
example: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
protected main(...values:
|
|
4
|
+
description: string;
|
|
5
|
+
defs: FunctionArgumentDefinition[];
|
|
6
|
+
category: FunctionCategory;
|
|
7
|
+
protected main(...values: any[]): number;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=average.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"average.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/average.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"average.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/average.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAY,MAAM,UAAU,CAAC;AAKhG,qBAAa,eAAgB,SAAQ,YAAY;IAC/C,OAAO,SAA2B;IAClC,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAQhC;IACF,QAAQ,EAAE,gBAAgB,CAAgB;IAE1C,SAAS,CAAC,IAAI,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;CA2BhC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseFunction,
|
|
1
|
+
import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
|
|
2
2
|
export declare class ConcatFunction extends BaseFunction {
|
|
3
3
|
example: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
protected main(v1:
|
|
4
|
+
description: string;
|
|
5
|
+
defs: FunctionArgumentDefinition[];
|
|
6
|
+
category: FunctionCategory;
|
|
7
|
+
protected main(v1: any, v2: any): string;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=concat.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"concat.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/concat.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"concat.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/concat.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAMtF,qBAAa,cAAe,SAAQ,YAAY;IAC9C,OAAO,SAA8B;IACrC,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAWhC;IACF,QAAQ,EAAE,gBAAgB,CAAU;IAEpC,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG;CAGhC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseFunction,
|
|
1
|
+
import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
|
|
2
2
|
export declare class CountFunction extends BaseFunction {
|
|
3
3
|
example: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
description: string;
|
|
5
|
+
defs: FunctionArgumentDefinition[];
|
|
6
|
+
category: FunctionCategory;
|
|
7
7
|
protected main(...values: any[]): number;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=count.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"count.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/count.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"count.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/count.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAY,MAAM,UAAU,CAAC;AAKhG,qBAAa,aAAc,SAAQ,YAAY;IAC7C,OAAO,SAAiC;IACxC,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAQhC;IACF,QAAQ,EAAE,gBAAgB,CAAU;IAEpC,SAAS,CAAC,IAAI,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;CAoBhC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseFunction,
|
|
1
|
+
import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
|
|
2
2
|
export declare class CountaFunction extends BaseFunction {
|
|
3
3
|
example: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
description: string;
|
|
5
|
+
defs: FunctionArgumentDefinition[];
|
|
6
|
+
category: FunctionCategory;
|
|
7
7
|
protected main(...values: any[]): number;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=counta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"counta.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/counta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"counta.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/counta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAKtF,qBAAa,cAAe,SAAQ,YAAY;IAC9C,OAAO,SAAkC;IACzC,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAQhC;IACF,QAAQ,EAAE,gBAAgB,CAAU;IAEpC,SAAS,CAAC,IAAI,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;CAehC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { BaseFunction,
|
|
1
|
+
import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
|
|
2
2
|
export declare class DivideFunction extends BaseFunction {
|
|
3
3
|
example: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
description: string;
|
|
5
|
+
defs: FunctionArgumentDefinition[];
|
|
6
|
+
category: FunctionCategory;
|
|
7
|
+
protected validate(args: any[]): any[];
|
|
7
8
|
protected main(divided: number, divisor: number): number;
|
|
8
9
|
}
|
|
9
10
|
//# sourceMappingURL=divide.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"divide.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/divide.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"divide.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/divide.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAMtF,qBAAa,cAAe,SAAQ,YAAY;IAC9C,OAAO,SAAkB;IACzB,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAWhC;IACF,QAAQ,EAAE,gBAAgB,CAAU;IAEpC,SAAS,CAAC,QAAQ,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,GAAG,EAAE;IAQtC,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;CAGhD"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseFunction,
|
|
1
|
+
import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
|
|
2
2
|
export declare class EqFunction extends BaseFunction {
|
|
3
3
|
example: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
description: string;
|
|
5
|
+
defs: FunctionArgumentDefinition[];
|
|
6
|
+
category: FunctionCategory;
|
|
7
7
|
protected main(v1: any, v2: any): boolean;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=eq.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eq.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/eq.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"eq.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/eq.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAMtF,qBAAa,UAAW,SAAQ,YAAY;IAC1C,OAAO,SAAc;IACrB,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAGhC;IACF,QAAQ,EAAE,gBAAgB,CAAa;IAEvC,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG;CAGhC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseFunction,
|
|
1
|
+
import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
|
|
2
2
|
export declare class GtFunction extends BaseFunction {
|
|
3
3
|
example: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
protected main(v1:
|
|
4
|
+
description: string;
|
|
5
|
+
defs: FunctionArgumentDefinition[];
|
|
6
|
+
category: FunctionCategory;
|
|
7
|
+
protected main(v1: any, v2: any): boolean;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=gt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gt.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/gt.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"gt.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/gt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAMtF,qBAAa,UAAW,SAAQ,YAAY;IAC1C,OAAO,SAAc;IACrB,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAGhC;IACF,QAAQ,EAAE,gBAAgB,CAAa;IAEvC,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG;CAGhC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseFunction,
|
|
1
|
+
import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
|
|
2
2
|
export declare class GteFunction extends BaseFunction {
|
|
3
3
|
example: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
protected main(v1:
|
|
4
|
+
description: string;
|
|
5
|
+
defs: FunctionArgumentDefinition[];
|
|
6
|
+
category: FunctionCategory;
|
|
7
|
+
protected main(v1: any, v2: any): boolean;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=gte.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gte.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/gte.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"gte.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/gte.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAMtF,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAe;IACtB,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAGhC;IACF,QAAQ,EAAE,gBAAgB,CAAa;IAEvC,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG;CAGhC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseFunction,
|
|
1
|
+
import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
|
|
2
2
|
export declare class IfFunction extends BaseFunction {
|
|
3
3
|
example: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
protected main(condition:
|
|
4
|
+
description: string;
|
|
5
|
+
defs: FunctionArgumentDefinition[];
|
|
6
|
+
category: FunctionCategory;
|
|
7
|
+
protected main(condition: any, v1: any, v2?: any): any;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=if.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"if.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/if.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"if.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/if.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAMtF,qBAAa,UAAW,SAAQ,YAAY;IAC1C,OAAO,SAAwC;IAC/C,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAahC;IACF,QAAQ,EAAE,gBAAgB,CAAa;IAEvC,SAAS,CAAC,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,GAAE,GAAW;CAGxD"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class IfErrorFunction {
|
|
1
|
+
import { FunctionArgumentDefinition, BaseFunction, FunctionCategory } from './__base';
|
|
2
|
+
export declare class IfErrorFunction extends BaseFunction {
|
|
3
3
|
example: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
protected validate(): void;
|
|
10
|
-
call(): any;
|
|
4
|
+
description: string;
|
|
5
|
+
defs: FunctionArgumentDefinition[];
|
|
6
|
+
category: FunctionCategory;
|
|
7
|
+
protected broadcastDisabled: boolean;
|
|
8
|
+
protected main(value: any, valueIfError?: any): any;
|
|
11
9
|
}
|
|
12
10
|
//# sourceMappingURL=iferror.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iferror.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/iferror.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"iferror.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/iferror.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,0BAA0B,EAC1B,YAAY,EACZ,gBAAgB,EAIjB,MAAM,UAAU,CAAC;AAIlB,qBAAa,eAAgB,SAAQ,YAAY;IAC/C,OAAO,SAAqC;IAC5C,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAahC;IACF,QAAQ,EAAE,gBAAgB,CAAa;IACvC,SAAS,CAAC,iBAAiB,UAAQ;IAEnC,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE,YAAY,CAAC,EAAE,GAAG;CAM9C"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseFunction,
|
|
1
|
+
import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
|
|
2
2
|
export declare class LenFunction extends BaseFunction {
|
|
3
3
|
example: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
protected main(text:
|
|
4
|
+
description: string;
|
|
5
|
+
defs: FunctionArgumentDefinition[];
|
|
6
|
+
category: FunctionCategory;
|
|
7
|
+
protected main(text: any): number;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=len.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"len.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/len.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"len.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/len.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAKtF,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAa;IACpB,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAMhC;IACF,QAAQ,EAAE,gBAAgB,CAAU;IAEpC,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG;CAGzB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseFunction,
|
|
1
|
+
import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
|
|
2
2
|
export declare class LtFunction extends BaseFunction {
|
|
3
3
|
example: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
protected main(v1:
|
|
4
|
+
description: string;
|
|
5
|
+
defs: FunctionArgumentDefinition[];
|
|
6
|
+
category: FunctionCategory;
|
|
7
|
+
protected main(v1: any, v2: any): boolean;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=lt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lt.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/lt.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lt.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/lt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAMtF,qBAAa,UAAW,SAAQ,YAAY;IAC1C,OAAO,SAAc;IACrB,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAGhC;IACF,QAAQ,EAAE,gBAAgB,CAAa;IAEvC,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG;CAGhC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseFunction,
|
|
1
|
+
import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
|
|
2
2
|
export declare class LteFunction extends BaseFunction {
|
|
3
3
|
example: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
protected main(v1:
|
|
4
|
+
description: string;
|
|
5
|
+
defs: FunctionArgumentDefinition[];
|
|
6
|
+
category: FunctionCategory;
|
|
7
|
+
protected main(v1: any, v2: any): boolean;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=lte.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lte.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/lte.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lte.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/lte.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAMtF,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAe;IACtB,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAGhC;IACF,QAAQ,EAAE,gBAAgB,CAAa;IAEvC,SAAS,CAAC,IAAI,CAAC,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG;CAGhC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseFunction,
|
|
1
|
+
import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
|
|
2
2
|
export declare class MaxFunction extends BaseFunction {
|
|
3
3
|
example: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
protected main(...values:
|
|
4
|
+
description: string;
|
|
5
|
+
defs: FunctionArgumentDefinition[];
|
|
6
|
+
category: FunctionCategory;
|
|
7
|
+
protected main(...values: any[]): number;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=max.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"max.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/max.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"max.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/max.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAY,MAAM,UAAU,CAAC;AAKhG,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAuB;IAC9B,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAQhC;IACF,QAAQ,EAAE,gBAAgB,CAAgB;IAE1C,SAAS,CAAC,IAAI,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;CA2BhC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BaseFunction,
|
|
1
|
+
import { BaseFunction, FunctionCategory, FunctionArgumentDefinition } from './__base';
|
|
2
2
|
export declare class MinFunction extends BaseFunction {
|
|
3
3
|
example: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
protected main(...values:
|
|
4
|
+
description: string;
|
|
5
|
+
defs: FunctionArgumentDefinition[];
|
|
6
|
+
category: FunctionCategory;
|
|
7
|
+
protected main(...values: any[]): number;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=min.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"min.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/min.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"min.d.ts","sourceRoot":"","sources":["../../../src/formula/functions/min.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,0BAA0B,EAAY,MAAM,UAAU,CAAC;AAKhG,qBAAa,WAAY,SAAQ,YAAY;IAC3C,OAAO,SAAuB;IAC9B,WAAW,SAAe;IAC1B,IAAI,EAAE,0BAA0B,EAAE,CAQhC;IACF,QAAQ,EAAE,gBAAgB,CAAgB;IAE1C,SAAS,CAAC,IAAI,CAAC,GAAG,MAAM,EAAE,GAAG,EAAE;CA2BhC"}
|