@gridsheet/react-core 0.12.2 → 0.12.4-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.
- package/README.md +1 -1
- package/dist/components/Cell.js +197 -181
- package/dist/components/Cell.js.map +1 -1
- package/dist/components/ContextMenu.js +211 -194
- package/dist/components/ContextMenu.js.map +1 -1
- package/dist/components/Editor.js +280 -263
- package/dist/components/Editor.js.map +1 -1
- package/dist/components/Emitter.js +41 -24
- package/dist/components/Emitter.js.map +1 -1
- package/dist/components/GridSheet.d.ts.map +1 -1
- package/dist/components/GridSheet.js +142 -105
- package/dist/components/GridSheet.js.map +1 -1
- package/dist/components/HeaderLeftCell.js +76 -60
- package/dist/components/HeaderLeftCell.js.map +1 -1
- package/dist/components/HeaderTopCell.js +77 -61
- package/dist/components/HeaderTopCell.js.map +1 -1
- package/dist/components/Resizer.js +91 -75
- package/dist/components/Resizer.js.map +1 -1
- package/dist/components/SearchBox.js +66 -49
- package/dist/components/SearchBox.js.map +1 -1
- package/dist/components/StoreInitializer.js +83 -66
- package/dist/components/StoreInitializer.js.map +1 -1
- package/dist/components/Tabular.d.ts.map +1 -1
- package/dist/components/Tabular.js +98 -80
- package/dist/components/Tabular.js.map +1 -1
- package/dist/constants.js +33 -19
- package/dist/constants.js.map +1 -1
- package/dist/formula/evaluator.js +500 -474
- package/dist/formula/evaluator.js.map +1 -1
- package/dist/formula/functions/__base.js +27 -13
- package/dist/formula/functions/__base.js.map +1 -1
- package/dist/formula/functions/__utils.js +113 -95
- package/dist/formula/functions/__utils.js.map +1 -1
- package/dist/formula/functions/abs.js +31 -17
- package/dist/formula/functions/abs.js.map +1 -1
- package/dist/formula/functions/abs.spec.js +35 -23
- package/dist/formula/functions/abs.spec.js.map +1 -1
- package/dist/formula/functions/acos.js +38 -24
- package/dist/formula/functions/acos.js.map +1 -1
- package/dist/formula/functions/add.js +57 -43
- package/dist/formula/functions/add.js.map +1 -1
- package/dist/formula/functions/and.js +38 -24
- package/dist/formula/functions/and.js.map +1 -1
- package/dist/formula/functions/asin.js +38 -24
- package/dist/formula/functions/asin.js.map +1 -1
- package/dist/formula/functions/atan.js +36 -22
- package/dist/formula/functions/atan.js.map +1 -1
- package/dist/formula/functions/atan2.js +42 -28
- package/dist/formula/functions/atan2.js.map +1 -1
- package/dist/formula/functions/average.js +50 -36
- package/dist/formula/functions/average.js.map +1 -1
- package/dist/formula/functions/col.js +38 -24
- package/dist/formula/functions/col.js.map +1 -1
- package/dist/formula/functions/concat.js +37 -23
- package/dist/formula/functions/concat.js.map +1 -1
- package/dist/formula/functions/concatenate.js +35 -21
- package/dist/formula/functions/concatenate.js.map +1 -1
- package/dist/formula/functions/cos.js +36 -22
- package/dist/formula/functions/cos.js.map +1 -1
- package/dist/formula/functions/count.js +45 -31
- package/dist/formula/functions/count.js.map +1 -1
- package/dist/formula/functions/counta.js +45 -31
- package/dist/formula/functions/counta.js.map +1 -1
- package/dist/formula/functions/countif.js +40 -26
- package/dist/formula/functions/countif.js.map +1 -1
- package/dist/formula/functions/divide.js +42 -28
- package/dist/formula/functions/divide.js.map +1 -1
- package/dist/formula/functions/eq.js +35 -21
- package/dist/formula/functions/eq.js.map +1 -1
- package/dist/formula/functions/exp.js +38 -24
- package/dist/formula/functions/exp.js.map +1 -1
- package/dist/formula/functions/gt.js +37 -23
- package/dist/formula/functions/gt.js.map +1 -1
- package/dist/formula/functions/gte.js +37 -23
- package/dist/formula/functions/gte.js.map +1 -1
- package/dist/formula/functions/hlookup.js +77 -63
- package/dist/formula/functions/hlookup.js.map +1 -1
- package/dist/formula/functions/if.js +46 -32
- package/dist/formula/functions/if.js.map +1 -1
- package/dist/formula/functions/iferror.js +48 -34
- package/dist/formula/functions/iferror.js.map +1 -1
- package/dist/formula/functions/iferror.spec.js +63 -51
- package/dist/formula/functions/iferror.spec.js.map +1 -1
- package/dist/formula/functions/len.js +36 -22
- package/dist/formula/functions/len.js.map +1 -1
- package/dist/formula/functions/lenb.js +36 -22
- package/dist/formula/functions/lenb.js.map +1 -1
- package/dist/formula/functions/ln.js +38 -24
- package/dist/formula/functions/ln.js.map +1 -1
- package/dist/formula/functions/log.js +43 -29
- package/dist/formula/functions/log.js.map +1 -1
- package/dist/formula/functions/log10.js +38 -24
- package/dist/formula/functions/log10.js.map +1 -1
- package/dist/formula/functions/lt.js +37 -23
- package/dist/formula/functions/lt.js.map +1 -1
- package/dist/formula/functions/lte.js +37 -23
- package/dist/formula/functions/lte.js.map +1 -1
- package/dist/formula/functions/max.js +52 -38
- package/dist/formula/functions/max.js.map +1 -1
- package/dist/formula/functions/min.js +52 -38
- package/dist/formula/functions/min.js.map +1 -1
- package/dist/formula/functions/minus.js +57 -43
- package/dist/formula/functions/minus.js.map +1 -1
- package/dist/formula/functions/mod.js +40 -26
- package/dist/formula/functions/mod.js.map +1 -1
- package/dist/formula/functions/mod.spec.js +58 -46
- package/dist/formula/functions/mod.spec.js.map +1 -1
- package/dist/formula/functions/multiply.js +37 -23
- package/dist/formula/functions/multiply.js.map +1 -1
- package/dist/formula/functions/ne.js +35 -21
- package/dist/formula/functions/ne.js.map +1 -1
- package/dist/formula/functions/not.js +40 -26
- package/dist/formula/functions/not.js.map +1 -1
- package/dist/formula/functions/now.js +31 -17
- package/dist/formula/functions/now.js.map +1 -1
- package/dist/formula/functions/or.js +38 -24
- package/dist/formula/functions/or.js.map +1 -1
- package/dist/formula/functions/pi.js +29 -15
- package/dist/formula/functions/pi.js.map +1 -1
- package/dist/formula/functions/power.js +34 -20
- package/dist/formula/functions/power.js.map +1 -1
- package/dist/formula/functions/product.js +47 -33
- package/dist/formula/functions/product.js.map +1 -1
- package/dist/formula/functions/radians.js +36 -22
- package/dist/formula/functions/radians.js.map +1 -1
- package/dist/formula/functions/rand.js +29 -15
- package/dist/formula/functions/rand.js.map +1 -1
- package/dist/formula/functions/round.js +44 -30
- package/dist/formula/functions/round.js.map +1 -1
- package/dist/formula/functions/rounddown.js +44 -30
- package/dist/formula/functions/rounddown.js.map +1 -1
- package/dist/formula/functions/roundup.js +44 -30
- package/dist/formula/functions/roundup.js.map +1 -1
- package/dist/formula/functions/row.js +38 -24
- package/dist/formula/functions/row.js.map +1 -1
- package/dist/formula/functions/sin.js +36 -22
- package/dist/formula/functions/sin.js.map +1 -1
- package/dist/formula/functions/sqrt.js +38 -24
- package/dist/formula/functions/sqrt.js.map +1 -1
- package/dist/formula/functions/sum.js +52 -38
- package/dist/formula/functions/sum.js.map +1 -1
- package/dist/formula/functions/sum.spec.js +45 -33
- package/dist/formula/functions/sum.spec.js.map +1 -1
- package/dist/formula/functions/sumif.js +66 -52
- package/dist/formula/functions/sumif.js.map +1 -1
- package/dist/formula/functions/tan.js +36 -22
- package/dist/formula/functions/tan.js.map +1 -1
- package/dist/formula/functions/uminus.js +33 -19
- package/dist/formula/functions/uminus.js.map +1 -1
- package/dist/formula/functions/vlookup.js +77 -63
- package/dist/formula/functions/vlookup.js.map +1 -1
- package/dist/formula/mapping.js +126 -113
- package/dist/formula/mapping.js.map +1 -1
- package/dist/formula/solver.js +71 -56
- package/dist/formula/solver.js.map +1 -1
- package/dist/index.js +41 -10
- package/dist/index.js.map +1 -1
- package/dist/lib/autofill.js +344 -330
- package/dist/lib/autofill.js.map +1 -1
- package/dist/lib/clipboard.js +55 -41
- package/dist/lib/clipboard.js.map +1 -1
- package/dist/lib/converters.js +140 -119
- package/dist/lib/converters.js.map +1 -1
- package/dist/lib/structs.js +266 -228
- package/dist/lib/structs.js.map +1 -1
- package/dist/lib/table.js +915 -900
- package/dist/lib/table.js.map +1 -1
- package/dist/lib/time.js +69 -55
- package/dist/lib/time.js.map +1 -1
- package/dist/lib/virtualization.js +121 -104
- package/dist/lib/virtualization.js.map +1 -1
- package/dist/parsers/core.js +119 -105
- package/dist/parsers/core.js.map +1 -1
- package/dist/renderers/checkbox.js +24 -8
- package/dist/renderers/checkbox.js.map +1 -1
- package/dist/renderers/core.js +139 -125
- package/dist/renderers/core.js.map +1 -1
- package/dist/renderers/thousand_separator.js +25 -12
- package/dist/renderers/thousand_separator.js.map +1 -1
- package/dist/store/actions.js +495 -480
- package/dist/store/actions.js.map +1 -1
- package/dist/store/helpers.js +88 -72
- package/dist/store/helpers.js.map +1 -1
- package/dist/store/index.js +38 -2
- package/dist/store/index.js.map +1 -1
- package/dist/styles/embedder.js +27 -13
- package/dist/styles/embedder.js.map +1 -1
- package/dist/styles/minified.d.ts +2 -2
- package/dist/styles/minified.d.ts.map +1 -1
- package/dist/styles/minified.js +16 -3
- package/dist/styles/minified.js.map +1 -1
- package/dist/types.js +12 -1
- package/dist/utils.js +19 -5
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,27 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
constructor() {
|
|
6
|
-
super(...arguments);
|
|
7
|
-
this.example = "MULTIPLY(6, 7)";
|
|
8
|
-
this.helpText = [
|
|
9
|
-
"Returns the product of two numbers.",
|
|
10
|
-
"This is the same as the '*' operator.",
|
|
11
|
-
];
|
|
12
|
-
this.helpArgs = [
|
|
13
|
-
{ name: "factor1", description: "First factor." },
|
|
14
|
-
{ name: "factor2", description: "Second factor." },
|
|
15
|
-
];
|
|
1
|
+
(function (factory) {
|
|
2
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
3
|
+
var v = factory(require, exports);
|
|
4
|
+
if (v !== undefined) module.exports = v;
|
|
16
5
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
throw new FormulaError("#N/A", "Number of arguments for MULTIPLY is incorrect.");
|
|
20
|
-
}
|
|
21
|
-
this.bareArgs = this.bareArgs.map((arg) => ensureNumber(arg));
|
|
6
|
+
else if (typeof define === "function" && define.amd) {
|
|
7
|
+
define(["require", "exports", "../evaluator", "./__base", "./__utils"], factory);
|
|
22
8
|
}
|
|
23
|
-
|
|
24
|
-
|
|
9
|
+
})(function (require, exports) {
|
|
10
|
+
"use strict";
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.MultiplyFunction = void 0;
|
|
13
|
+
const evaluator_1 = require("../evaluator");
|
|
14
|
+
const __base_1 = require("./__base");
|
|
15
|
+
const __utils_1 = require("./__utils");
|
|
16
|
+
class MultiplyFunction extends __base_1.BaseFunction {
|
|
17
|
+
constructor() {
|
|
18
|
+
super(...arguments);
|
|
19
|
+
this.example = "MULTIPLY(6, 7)";
|
|
20
|
+
this.helpText = [
|
|
21
|
+
"Returns the product of two numbers.",
|
|
22
|
+
"This is the same as the '*' operator.",
|
|
23
|
+
];
|
|
24
|
+
this.helpArgs = [
|
|
25
|
+
{ name: "factor1", description: "First factor." },
|
|
26
|
+
{ name: "factor2", description: "Second factor." },
|
|
27
|
+
];
|
|
28
|
+
}
|
|
29
|
+
validate() {
|
|
30
|
+
if (this.bareArgs.length !== 2) {
|
|
31
|
+
throw new evaluator_1.FormulaError("#N/A", "Number of arguments for MULTIPLY is incorrect.");
|
|
32
|
+
}
|
|
33
|
+
this.bareArgs = this.bareArgs.map((arg) => (0, __utils_1.ensureNumber)(arg));
|
|
34
|
+
}
|
|
35
|
+
main(v1, v2) {
|
|
36
|
+
return v1 * v2;
|
|
37
|
+
}
|
|
25
38
|
}
|
|
26
|
-
|
|
39
|
+
exports.MultiplyFunction = MultiplyFunction;
|
|
40
|
+
});
|
|
27
41
|
//# sourceMappingURL=multiply.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multiply.js","sourceRoot":"","sources":["../../../src/formula/functions/multiply.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"multiply.js","sourceRoot":"","sources":["../../../src/formula/functions/multiply.ts"],"names":[],"mappings":";;;;;;;;;;;;IAAA,4CAA4C;IAC5C,qCAAwC;IACxC,uCAAyC;IAEzC,MAAa,gBAAiB,SAAQ,qBAAY;QAAlD;;YACE,YAAO,GAAG,gBAAgB,CAAC;YAC3B,aAAQ,GAAG;gBACT,qCAAqC;gBACrC,uCAAuC;aACxC,CAAC;YACF,aAAQ,GAAG;gBACT,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,eAAe,EAAE;gBACjD,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,gBAAgB,EAAE;aACnD,CAAC;QAeJ,CAAC;QAbW,QAAQ;YAChB,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE;gBAC9B,MAAM,IAAI,wBAAY,CACpB,MAAM,EACN,gDAAgD,CACjD,CAAC;aACH;YACD,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,sBAAY,EAAC,GAAG,CAAC,CAAC,CAAC;QAChE,CAAC;QAES,IAAI,CAAC,EAAU,EAAE,EAAU;YACnC,OAAO,EAAE,GAAG,EAAE,CAAC;QACjB,CAAC;KACF;IAxBD,4CAwBC"}
|
|
@@ -1,25 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
super(...arguments);
|
|
6
|
-
this.example = "NE(6, 7)";
|
|
7
|
-
this.helpText = [
|
|
8
|
-
"Returns TRUE if the two specified values are not equal, FALSE if they are.",
|
|
9
|
-
"This is the same as the '<>' operator.",
|
|
10
|
-
];
|
|
11
|
-
this.helpArgs = [
|
|
12
|
-
{ name: "value1", description: "First value." },
|
|
13
|
-
{ name: "value2", description: "A value to be compared with value1." },
|
|
14
|
-
];
|
|
1
|
+
(function (factory) {
|
|
2
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
3
|
+
var v = factory(require, exports);
|
|
4
|
+
if (v !== undefined) module.exports = v;
|
|
15
5
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
throw new FormulaError("#N/A", "Number of arguments for NE is incorrect.");
|
|
19
|
-
}
|
|
6
|
+
else if (typeof define === "function" && define.amd) {
|
|
7
|
+
define(["require", "exports", "../evaluator", "./__base"], factory);
|
|
20
8
|
}
|
|
21
|
-
|
|
22
|
-
|
|
9
|
+
})(function (require, exports) {
|
|
10
|
+
"use strict";
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NeFunction = void 0;
|
|
13
|
+
const evaluator_1 = require("../evaluator");
|
|
14
|
+
const __base_1 = require("./__base");
|
|
15
|
+
class NeFunction extends __base_1.BaseFunction {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments);
|
|
18
|
+
this.example = "NE(6, 7)";
|
|
19
|
+
this.helpText = [
|
|
20
|
+
"Returns TRUE if the two specified values are not equal, FALSE if they are.",
|
|
21
|
+
"This is the same as the '<>' operator.",
|
|
22
|
+
];
|
|
23
|
+
this.helpArgs = [
|
|
24
|
+
{ name: "value1", description: "First value." },
|
|
25
|
+
{ name: "value2", description: "A value to be compared with value1." },
|
|
26
|
+
];
|
|
27
|
+
}
|
|
28
|
+
validate() {
|
|
29
|
+
if (this.bareArgs.length !== 2) {
|
|
30
|
+
throw new evaluator_1.FormulaError("#N/A", "Number of arguments for NE is incorrect.");
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
main(v1, v2) {
|
|
34
|
+
return v1 !== v2;
|
|
35
|
+
}
|
|
23
36
|
}
|
|
24
|
-
|
|
37
|
+
exports.NeFunction = NeFunction;
|
|
38
|
+
});
|
|
25
39
|
//# sourceMappingURL=ne.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ne.js","sourceRoot":"","sources":["../../../src/formula/functions/ne.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ne.js","sourceRoot":"","sources":["../../../src/formula/functions/ne.ts"],"names":[],"mappings":";;;;;;;;;;;;IAAA,4CAA4C;IAC5C,qCAAwC;IAExC,MAAa,UAAW,SAAQ,qBAAY;QAA5C;;YACE,YAAO,GAAG,UAAU,CAAC;YACrB,aAAQ,GAAG;gBACT,4EAA4E;gBAC5E,wCAAwC;aACzC,CAAC;YACF,aAAQ,GAAG;gBACT,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,cAAc,EAAE;gBAC/C,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,qCAAqC,EAAE;aACvE,CAAC;QAcJ,CAAC;QAZW,QAAQ;YAChB,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE;gBAC9B,MAAM,IAAI,wBAAY,CACpB,MAAM,EACN,0CAA0C,CAC3C,CAAC;aACH;QACH,CAAC;QAES,IAAI,CAAC,EAAU,EAAE,EAAU;YACnC,OAAO,EAAE,KAAK,EAAE,CAAC;QACnB,CAAC;KACF;IAvBD,gCAuBC"}
|
|
@@ -1,30 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
constructor() {
|
|
6
|
-
super(...arguments);
|
|
7
|
-
this.example = "NOT(TRUE)";
|
|
8
|
-
this.helpText = [
|
|
9
|
-
"Returns the inverse of the Boolean; if TRUE, NOT returns FALSE.",
|
|
10
|
-
"If FALSE, NOT returns TRUE.",
|
|
11
|
-
];
|
|
12
|
-
this.helpArgs = [
|
|
13
|
-
{
|
|
14
|
-
name: "logical expression",
|
|
15
|
-
description: "A logical expression as a boolean.",
|
|
16
|
-
},
|
|
17
|
-
];
|
|
1
|
+
(function (factory) {
|
|
2
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
3
|
+
var v = factory(require, exports);
|
|
4
|
+
if (v !== undefined) module.exports = v;
|
|
18
5
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
this.bareArgs[0] = ensureBoolean(this.bareArgs[0]);
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
throw new FormulaError("#N/A", "Number of arguments for NOT is incorrect. 1 argument must be specified.");
|
|
6
|
+
else if (typeof define === "function" && define.amd) {
|
|
7
|
+
define(["require", "exports", "../evaluator", "./__base", "./__utils"], factory);
|
|
25
8
|
}
|
|
26
|
-
|
|
27
|
-
|
|
9
|
+
})(function (require, exports) {
|
|
10
|
+
"use strict";
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NotFunction = void 0;
|
|
13
|
+
const evaluator_1 = require("../evaluator");
|
|
14
|
+
const __base_1 = require("./__base");
|
|
15
|
+
const __utils_1 = require("./__utils");
|
|
16
|
+
class NotFunction extends __base_1.BaseFunction {
|
|
17
|
+
constructor() {
|
|
18
|
+
super(...arguments);
|
|
19
|
+
this.example = "NOT(TRUE)";
|
|
20
|
+
this.helpText = [
|
|
21
|
+
"Returns the inverse of the Boolean; if TRUE, NOT returns FALSE.",
|
|
22
|
+
"If FALSE, NOT returns TRUE.",
|
|
23
|
+
];
|
|
24
|
+
this.helpArgs = [
|
|
25
|
+
{
|
|
26
|
+
name: "logical expression",
|
|
27
|
+
description: "A logical expression as a boolean.",
|
|
28
|
+
},
|
|
29
|
+
];
|
|
30
|
+
}
|
|
31
|
+
validate() {
|
|
32
|
+
if (this.bareArgs.length === 1) {
|
|
33
|
+
this.bareArgs[0] = (0, __utils_1.ensureBoolean)(this.bareArgs[0]);
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
throw new evaluator_1.FormulaError("#N/A", "Number of arguments for NOT is incorrect. 1 argument must be specified.");
|
|
37
|
+
}
|
|
38
|
+
main(v1) {
|
|
39
|
+
return !v1;
|
|
40
|
+
}
|
|
28
41
|
}
|
|
29
|
-
|
|
42
|
+
exports.NotFunction = NotFunction;
|
|
43
|
+
});
|
|
30
44
|
//# sourceMappingURL=not.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"not.js","sourceRoot":"","sources":["../../../src/formula/functions/not.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"not.js","sourceRoot":"","sources":["../../../src/formula/functions/not.ts"],"names":[],"mappings":";;;;;;;;;;;;IAAA,4CAA4C;IAC5C,qCAAwC;IACxC,uCAA0C;IAE1C,MAAa,WAAY,SAAQ,qBAAY;QAA7C;;YACE,YAAO,GAAG,WAAW,CAAC;YACtB,aAAQ,GAAG;gBACT,iEAAiE;gBACjE,6BAA6B;aAC9B,CAAC;YACF,aAAQ,GAAG;gBACT;oBACE,IAAI,EAAE,oBAAoB;oBAC1B,WAAW,EAAE,oCAAoC;iBAClD;aACF,CAAC;QAgBJ,CAAC;QAdW,QAAQ;YAChB,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE;gBAC9B,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAA,uBAAa,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;gBACnD,OAAO;aACR;YACD,MAAM,IAAI,wBAAY,CACpB,MAAM,EACN,yEAAyE,CAC1E,CAAC;QACJ,CAAC;QAES,IAAI,CAAC,EAAW;YACxB,OAAO,CAAC,EAAE,CAAC;QACb,CAAC;KACF;IA3BD,kCA2BC"}
|
|
@@ -1,21 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
super(...arguments);
|
|
6
|
-
this.example = "NOW()";
|
|
7
|
-
this.helpText = [
|
|
8
|
-
"Returns a serial value corresponding to the current date and time.",
|
|
9
|
-
];
|
|
10
|
-
this.helpArgs = [];
|
|
1
|
+
(function (factory) {
|
|
2
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
3
|
+
var v = factory(require, exports);
|
|
4
|
+
if (v !== undefined) module.exports = v;
|
|
11
5
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
throw new FormulaError("#N/A", "Number of arguments for NOW is incorrect.");
|
|
15
|
-
}
|
|
6
|
+
else if (typeof define === "function" && define.amd) {
|
|
7
|
+
define(["require", "exports", "../evaluator", "./__base"], factory);
|
|
16
8
|
}
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
})(function (require, exports) {
|
|
10
|
+
"use strict";
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NowFunction = void 0;
|
|
13
|
+
const evaluator_1 = require("../evaluator");
|
|
14
|
+
const __base_1 = require("./__base");
|
|
15
|
+
class NowFunction extends __base_1.BaseFunction {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments);
|
|
18
|
+
this.example = "NOW()";
|
|
19
|
+
this.helpText = [
|
|
20
|
+
"Returns a serial value corresponding to the current date and time.",
|
|
21
|
+
];
|
|
22
|
+
this.helpArgs = [];
|
|
23
|
+
}
|
|
24
|
+
validate() {
|
|
25
|
+
if (this.bareArgs.length !== 0) {
|
|
26
|
+
throw new evaluator_1.FormulaError("#N/A", "Number of arguments for NOW is incorrect.");
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
main() {
|
|
30
|
+
return new Date();
|
|
31
|
+
}
|
|
19
32
|
}
|
|
20
|
-
|
|
33
|
+
exports.NowFunction = NowFunction;
|
|
34
|
+
});
|
|
21
35
|
//# sourceMappingURL=now.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"now.js","sourceRoot":"","sources":["../../../src/formula/functions/now.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"now.js","sourceRoot":"","sources":["../../../src/formula/functions/now.ts"],"names":[],"mappings":";;;;;;;;;;;;IAAA,4CAA4C;IAC5C,qCAAwC;IAExC,MAAa,WAAY,SAAQ,qBAAY;QAA7C;;YACE,YAAO,GAAG,OAAO,CAAC;YAClB,aAAQ,GAAG;gBACT,oEAAoE;aACrE,CAAC;YACF,aAAQ,GAAG,EAAE,CAAC;QAchB,CAAC;QAZW,QAAQ;YAChB,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE;gBAC9B,MAAM,IAAI,wBAAY,CACpB,MAAM,EACN,2CAA2C,CAC5C,CAAC;aACH;QACH,CAAC;QAES,IAAI;YACZ,OAAO,IAAI,IAAI,EAAE,CAAC;QACpB,CAAC;KACF;IAnBD,kCAmBC"}
|
|
@@ -1,28 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
super(...arguments);
|
|
6
|
-
this.example = "OR(A1=1, A2=2)";
|
|
7
|
-
this.helpText = [
|
|
8
|
-
"Returns TRUE if any argument is logically true.",
|
|
9
|
-
"Returns FALSE if all arguments are logically false.",
|
|
10
|
-
];
|
|
11
|
-
this.helpArgs = [
|
|
12
|
-
{ name: "expression1", description: "First logical expression." },
|
|
13
|
-
{
|
|
14
|
-
name: "expression2",
|
|
15
|
-
description: "Additional expressions",
|
|
16
|
-
optional: true,
|
|
17
|
-
iterable: true,
|
|
18
|
-
},
|
|
19
|
-
];
|
|
1
|
+
(function (factory) {
|
|
2
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
3
|
+
var v = factory(require, exports);
|
|
4
|
+
if (v !== undefined) module.exports = v;
|
|
20
5
|
}
|
|
21
|
-
|
|
22
|
-
|
|
6
|
+
else if (typeof define === "function" && define.amd) {
|
|
7
|
+
define(["require", "exports", "./__base", "./__utils"], factory);
|
|
23
8
|
}
|
|
24
|
-
|
|
25
|
-
|
|
9
|
+
})(function (require, exports) {
|
|
10
|
+
"use strict";
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.OrFunction = void 0;
|
|
13
|
+
const __base_1 = require("./__base");
|
|
14
|
+
const __utils_1 = require("./__utils");
|
|
15
|
+
class OrFunction extends __base_1.BaseFunction {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments);
|
|
18
|
+
this.example = "OR(A1=1, A2=2)";
|
|
19
|
+
this.helpText = [
|
|
20
|
+
"Returns TRUE if any argument is logically true.",
|
|
21
|
+
"Returns FALSE if all arguments are logically false.",
|
|
22
|
+
];
|
|
23
|
+
this.helpArgs = [
|
|
24
|
+
{ name: "expression1", description: "First logical expression." },
|
|
25
|
+
{
|
|
26
|
+
name: "expression2",
|
|
27
|
+
description: "Additional expressions",
|
|
28
|
+
optional: true,
|
|
29
|
+
iterable: true,
|
|
30
|
+
},
|
|
31
|
+
];
|
|
32
|
+
}
|
|
33
|
+
validate() {
|
|
34
|
+
this.bareArgs = this.bareArgs.map((arg) => (0, __utils_1.ensureBoolean)(arg));
|
|
35
|
+
}
|
|
36
|
+
main(...values) {
|
|
37
|
+
return values.reduce((a, b) => a || b);
|
|
38
|
+
}
|
|
26
39
|
}
|
|
27
|
-
|
|
40
|
+
exports.OrFunction = OrFunction;
|
|
41
|
+
});
|
|
28
42
|
//# sourceMappingURL=or.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"or.js","sourceRoot":"","sources":["../../../src/formula/functions/or.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"or.js","sourceRoot":"","sources":["../../../src/formula/functions/or.ts"],"names":[],"mappings":";;;;;;;;;;;;IAAA,qCAAwC;IACxC,uCAA0C;IAE1C,MAAa,UAAW,SAAQ,qBAAY;QAA5C;;YACE,YAAO,GAAG,gBAAgB,CAAC;YAC3B,aAAQ,GAAG;gBACT,iDAAiD;gBACjD,qDAAqD;aACtD,CAAC;YACF,aAAQ,GAAG;gBACT,EAAE,IAAI,EAAE,aAAa,EAAE,WAAW,EAAE,2BAA2B,EAAE;gBACjE;oBACE,IAAI,EAAE,aAAa;oBACnB,WAAW,EAAE,wBAAwB;oBACrC,QAAQ,EAAE,IAAI;oBACd,QAAQ,EAAE,IAAI;iBACf;aACF,CAAC;QASJ,CAAC;QAPW,QAAQ;YAChB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,uBAAa,EAAC,GAAG,CAAC,CAAC,CAAC;QACjE,CAAC;QAES,IAAI,CAAC,GAAG,MAAiB;YACjC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;QACzC,CAAC;KACF;IAvBD,gCAuBC"}
|
|
@@ -1,19 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
super(...arguments);
|
|
6
|
-
this.example = "PI()";
|
|
7
|
-
this.helpText = ["Returns the value of pi."];
|
|
8
|
-
this.helpArgs = [];
|
|
1
|
+
(function (factory) {
|
|
2
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
3
|
+
var v = factory(require, exports);
|
|
4
|
+
if (v !== undefined) module.exports = v;
|
|
9
5
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
throw new FormulaError("#N/A", "Number of arguments for PI is incorrect.");
|
|
13
|
-
}
|
|
6
|
+
else if (typeof define === "function" && define.amd) {
|
|
7
|
+
define(["require", "exports", "../evaluator", "./__base"], factory);
|
|
14
8
|
}
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
})(function (require, exports) {
|
|
10
|
+
"use strict";
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.PiFunction = void 0;
|
|
13
|
+
const evaluator_1 = require("../evaluator");
|
|
14
|
+
const __base_1 = require("./__base");
|
|
15
|
+
class PiFunction extends __base_1.BaseFunction {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments);
|
|
18
|
+
this.example = "PI()";
|
|
19
|
+
this.helpText = ["Returns the value of pi."];
|
|
20
|
+
this.helpArgs = [];
|
|
21
|
+
}
|
|
22
|
+
validate() {
|
|
23
|
+
if (this.bareArgs.length !== 0) {
|
|
24
|
+
throw new evaluator_1.FormulaError("#N/A", "Number of arguments for PI is incorrect.");
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
main() {
|
|
28
|
+
return Math.PI;
|
|
29
|
+
}
|
|
17
30
|
}
|
|
18
|
-
|
|
31
|
+
exports.PiFunction = PiFunction;
|
|
32
|
+
});
|
|
19
33
|
//# sourceMappingURL=pi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pi.js","sourceRoot":"","sources":["../../../src/formula/functions/pi.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pi.js","sourceRoot":"","sources":["../../../src/formula/functions/pi.ts"],"names":[],"mappings":";;;;;;;;;;;;IAAA,4CAA4C;IAC5C,qCAAwC;IAExC,MAAa,UAAW,SAAQ,qBAAY;QAA5C;;YACE,YAAO,GAAG,MAAM,CAAC;YACjB,aAAQ,GAAG,CAAC,0BAA0B,CAAC,CAAC;YACxC,aAAQ,GAAG,EAAE,CAAC;QAchB,CAAC;QAZW,QAAQ;YAChB,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE;gBAC9B,MAAM,IAAI,wBAAY,CACpB,MAAM,EACN,0CAA0C,CAC3C,CAAC;aACH;QACH,CAAC;QAES,IAAI;YACZ,OAAO,IAAI,CAAC,EAAE,CAAC;QACjB,CAAC;KACF;IAjBD,gCAiBC"}
|
|
@@ -1,24 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
constructor() {
|
|
6
|
-
super(...arguments);
|
|
7
|
-
this.example = "POWER(4,0.5)";
|
|
8
|
-
this.helpText = ["Returns a number multiplied by an exponent."];
|
|
9
|
-
this.helpArgs = [
|
|
10
|
-
{ name: "base", description: "A number to be multiplied by an exponent." },
|
|
11
|
-
{ name: "exponent", description: "An exponent to power the base." },
|
|
12
|
-
];
|
|
1
|
+
(function (factory) {
|
|
2
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
3
|
+
var v = factory(require, exports);
|
|
4
|
+
if (v !== undefined) module.exports = v;
|
|
13
5
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
throw new FormulaError("#N/A", "Number of arguments for POWER is incorrect.");
|
|
17
|
-
}
|
|
18
|
-
this.bareArgs = this.bareArgs.map((arg) => ensureNumber(arg));
|
|
6
|
+
else if (typeof define === "function" && define.amd) {
|
|
7
|
+
define(["require", "exports", "../evaluator", "./__base", "./__utils"], factory);
|
|
19
8
|
}
|
|
20
|
-
|
|
21
|
-
|
|
9
|
+
})(function (require, exports) {
|
|
10
|
+
"use strict";
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.PowerFunction = void 0;
|
|
13
|
+
const evaluator_1 = require("../evaluator");
|
|
14
|
+
const __base_1 = require("./__base");
|
|
15
|
+
const __utils_1 = require("./__utils");
|
|
16
|
+
class PowerFunction extends __base_1.BaseFunction {
|
|
17
|
+
constructor() {
|
|
18
|
+
super(...arguments);
|
|
19
|
+
this.example = "POWER(4,0.5)";
|
|
20
|
+
this.helpText = ["Returns a number multiplied by an exponent."];
|
|
21
|
+
this.helpArgs = [
|
|
22
|
+
{ name: "base", description: "A number to be multiplied by an exponent." },
|
|
23
|
+
{ name: "exponent", description: "An exponent to power the base." },
|
|
24
|
+
];
|
|
25
|
+
}
|
|
26
|
+
validate() {
|
|
27
|
+
if (this.bareArgs.length !== 2) {
|
|
28
|
+
throw new evaluator_1.FormulaError("#N/A", "Number of arguments for POWER is incorrect.");
|
|
29
|
+
}
|
|
30
|
+
this.bareArgs = this.bareArgs.map((arg) => (0, __utils_1.ensureNumber)(arg));
|
|
31
|
+
}
|
|
32
|
+
main(base, exponent) {
|
|
33
|
+
return Math.pow(base, exponent);
|
|
34
|
+
}
|
|
22
35
|
}
|
|
23
|
-
|
|
36
|
+
exports.PowerFunction = PowerFunction;
|
|
37
|
+
});
|
|
24
38
|
//# sourceMappingURL=power.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"power.js","sourceRoot":"","sources":["../../../src/formula/functions/power.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"power.js","sourceRoot":"","sources":["../../../src/formula/functions/power.ts"],"names":[],"mappings":";;;;;;;;;;;;IAAA,4CAA4C;IAC5C,qCAAwC;IACxC,uCAAyC;IAEzC,MAAa,aAAc,SAAQ,qBAAY;QAA/C;;YACE,YAAO,GAAG,cAAc,CAAC;YACzB,aAAQ,GAAG,CAAC,6CAA6C,CAAC,CAAC;YAC3D,aAAQ,GAAG;gBACT,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,2CAA2C,EAAE;gBAC1E,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,gCAAgC,EAAE;aACpE,CAAC;QAeJ,CAAC;QAbW,QAAQ;YAChB,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE;gBAC9B,MAAM,IAAI,wBAAY,CACpB,MAAM,EACN,6CAA6C,CAC9C,CAAC;aACH;YACD,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,IAAA,sBAAY,EAAC,GAAG,CAAC,CAAC,CAAC;QAChE,CAAC;QAES,IAAI,CAAC,IAAY,EAAE,QAAgB;YAC3C,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QAClC,CAAC;KACF;IArBD,sCAqBC"}
|
|
@@ -1,37 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export class ProductFunction extends BaseFunction {
|
|
6
|
-
constructor() {
|
|
7
|
-
super(...arguments);
|
|
8
|
-
this.example = "PRODUCT(A2:A100)";
|
|
9
|
-
this.helpText = ["Returns the product of a series of numbers or cells."];
|
|
10
|
-
this.helpArgs = [
|
|
11
|
-
{ name: "value1", description: "First number or range." },
|
|
12
|
-
{
|
|
13
|
-
name: "value2",
|
|
14
|
-
description: "Additional numbers or ranges",
|
|
15
|
-
optional: true,
|
|
16
|
-
iterable: true,
|
|
17
|
-
},
|
|
18
|
-
];
|
|
1
|
+
(function (factory) {
|
|
2
|
+
if (typeof module === "object" && typeof module.exports === "object") {
|
|
3
|
+
var v = factory(require, exports);
|
|
4
|
+
if (v !== undefined) module.exports = v;
|
|
19
5
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
this.bareArgs.forEach((arg) => {
|
|
23
|
-
if (arg instanceof Table) {
|
|
24
|
-
spreaded.push(...solveTable({ table: arg })
|
|
25
|
-
.reduce((a, b) => a.concat(b))
|
|
26
|
-
.filter((v) => typeof v === "number"));
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
spreaded.push(ensureNumber(arg));
|
|
30
|
-
});
|
|
31
|
-
this.bareArgs = spreaded;
|
|
6
|
+
else if (typeof define === "function" && define.amd) {
|
|
7
|
+
define(["require", "exports", "../solver", "../../lib/table", "./__base", "./__utils"], factory);
|
|
32
8
|
}
|
|
33
|
-
|
|
34
|
-
|
|
9
|
+
})(function (require, exports) {
|
|
10
|
+
"use strict";
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ProductFunction = void 0;
|
|
13
|
+
const solver_1 = require("../solver");
|
|
14
|
+
const table_1 = require("../../lib/table");
|
|
15
|
+
const __base_1 = require("./__base");
|
|
16
|
+
const __utils_1 = require("./__utils");
|
|
17
|
+
class ProductFunction extends __base_1.BaseFunction {
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments);
|
|
20
|
+
this.example = "PRODUCT(A2:A100)";
|
|
21
|
+
this.helpText = ["Returns the product of a series of numbers or cells."];
|
|
22
|
+
this.helpArgs = [
|
|
23
|
+
{ name: "value1", description: "First number or range." },
|
|
24
|
+
{
|
|
25
|
+
name: "value2",
|
|
26
|
+
description: "Additional numbers or ranges",
|
|
27
|
+
optional: true,
|
|
28
|
+
iterable: true,
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
}
|
|
32
|
+
validate() {
|
|
33
|
+
const spreaded = [];
|
|
34
|
+
this.bareArgs.forEach((arg) => {
|
|
35
|
+
if (arg instanceof table_1.Table) {
|
|
36
|
+
spreaded.push(...(0, solver_1.solveTable)({ table: arg })
|
|
37
|
+
.reduce((a, b) => a.concat(b))
|
|
38
|
+
.filter((v) => typeof v === "number"));
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
spreaded.push((0, __utils_1.ensureNumber)(arg));
|
|
42
|
+
});
|
|
43
|
+
this.bareArgs = spreaded;
|
|
44
|
+
}
|
|
45
|
+
main(...values) {
|
|
46
|
+
return values.reduce((a, b) => a * b);
|
|
47
|
+
}
|
|
35
48
|
}
|
|
36
|
-
|
|
49
|
+
exports.ProductFunction = ProductFunction;
|
|
50
|
+
});
|
|
37
51
|
//# sourceMappingURL=product.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.js","sourceRoot":"","sources":["../../../src/formula/functions/product.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product.js","sourceRoot":"","sources":["../../../src/formula/functions/product.ts"],"names":[],"mappings":";;;;;;;;;;;;IAAA,sCAAuC;IACvC,2CAAwC;IACxC,qCAAwC;IACxC,uCAAyC;IAEzC,MAAa,eAAgB,SAAQ,qBAAY;QAAjD;;YACE,YAAO,GAAG,kBAAkB,CAAC;YAC7B,aAAQ,GAAG,CAAC,sDAAsD,CAAC,CAAC;YACpE,aAAQ,GAAG;gBACT,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,wBAAwB,EAAE;gBACzD;oBACE,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,8BAA8B;oBAC3C,QAAQ,EAAE,IAAI;oBACd,QAAQ,EAAE,IAAI;iBACf;aACF,CAAC;QAqBJ,CAAC;QAnBW,QAAQ;YAChB,MAAM,QAAQ,GAAa,EAAE,CAAC;YAC9B,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;gBAC5B,IAAI,GAAG,YAAY,aAAK,EAAE;oBACxB,QAAQ,CAAC,IAAI,CACX,GAAG,IAAA,mBAAU,EAAC,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC;yBAC1B,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;yBAC7B,MAAM,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,QAAQ,CAAC,CAC7C,CAAC;oBACF,OAAO;iBACR;gBACD,QAAQ,CAAC,IAAI,CAAC,IAAA,sBAAY,EAAC,GAAG,CAAC,CAAC,CAAC;YACnC,CAAC,CAAC,CAAC;YACH,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAC3B,CAAC;QAES,IAAI,CAAC,GAAG,MAAgB;YAChC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;QACxC,CAAC;KACF;IAhCD,0CAgCC"}
|