@data7expressions/3xpr 5.0.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/CHANGELOG.md +78 -0
- package/LICENSE +201 -0
- package/README.md +144 -0
- package/expression/application/expressions.d.ts +69 -0
- package/expression/application/expressions.d.ts.map +1 -0
- package/expression/application/expressions.js +157 -0
- package/expression/application/expressions.js.map +1 -0
- package/expression/application/index.d.ts +4 -0
- package/expression/application/index.d.ts.map +1 -0
- package/expression/application/index.js +20 -0
- package/expression/application/index.js.map +1 -0
- package/expression/application/useCases/convert.d.ts +8 -0
- package/expression/application/useCases/convert.d.ts.map +1 -0
- package/expression/application/useCases/convert.js +25 -0
- package/expression/application/useCases/convert.js.map +1 -0
- package/expression/application/useCases/executor.d.ts +11 -0
- package/expression/application/useCases/executor.d.ts.map +1 -0
- package/expression/application/useCases/executor.js +23 -0
- package/expression/application/useCases/executor.js.map +1 -0
- package/expression/application/useCases/executorObserveDecorator.d.ts +16 -0
- package/expression/application/useCases/executorObserveDecorator.d.ts.map +1 -0
- package/expression/application/useCases/executorObserveDecorator.js +98 -0
- package/expression/application/useCases/executorObserveDecorator.js.map +1 -0
- package/expression/domain/expressions.d.ts +29 -0
- package/expression/domain/expressions.d.ts.map +1 -0
- package/expression/domain/expressions.js +3 -0
- package/expression/domain/expressions.js.map +1 -0
- package/expression/domain/index.d.ts +2 -0
- package/expression/domain/index.d.ts.map +1 -0
- package/expression/domain/index.js +18 -0
- package/expression/domain/index.js.map +1 -0
- package/expression/infrastructure/convertFrom/convertFromFunction.d.ts +15 -0
- package/expression/infrastructure/convertFrom/convertFromFunction.d.ts.map +1 -0
- package/expression/infrastructure/convertFrom/convertFromFunction.js +45 -0
- package/expression/infrastructure/convertFrom/convertFromFunction.js.map +1 -0
- package/expression/infrastructure/convertFrom/convertFromGraphql.d.ts +5 -0
- package/expression/infrastructure/convertFrom/convertFromGraphql.d.ts.map +1 -0
- package/expression/infrastructure/convertFrom/convertFromGraphql.js +96 -0
- package/expression/infrastructure/convertFrom/convertFromGraphql.js.map +1 -0
- package/expression/infrastructure/expressionsBuilder.d.ts +8 -0
- package/expression/infrastructure/expressionsBuilder.d.ts.map +1 -0
- package/expression/infrastructure/expressionsBuilder.js +28 -0
- package/expression/infrastructure/expressionsBuilder.js.map +1 -0
- package/expression/infrastructure/helper.d.ts +7 -0
- package/expression/infrastructure/helper.d.ts.map +1 -0
- package/expression/infrastructure/helper.js +34 -0
- package/expression/infrastructure/helper.js.map +1 -0
- package/expression/infrastructure/index.d.ts +2 -0
- package/expression/infrastructure/index.d.ts.map +1 -0
- package/expression/infrastructure/index.js +18 -0
- package/expression/infrastructure/index.js.map +1 -0
- package/expression/infrastructure/library.d.ts +30 -0
- package/expression/infrastructure/library.d.ts.map +1 -0
- package/expression/infrastructure/library.js +1813 -0
- package/expression/infrastructure/library.js.map +1 -0
- package/index.d.ts +31 -0
- package/index.d.ts.map +1 -0
- package/index.js +64 -0
- package/index.js.map +1 -0
- package/jest-unit-config.json +15 -0
- package/model/application/index.d.ts +2 -0
- package/model/application/index.d.ts.map +1 -0
- package/model/application/index.js +18 -0
- package/model/application/index.js.map +1 -0
- package/model/application/modelService.d.ts +42 -0
- package/model/application/modelService.d.ts.map +1 -0
- package/model/application/modelService.js +329 -0
- package/model/application/modelService.js.map +1 -0
- package/model/domain/index.d.ts +3 -0
- package/model/domain/index.d.ts.map +1 -0
- package/model/domain/index.js +19 -0
- package/model/domain/index.js.map +1 -0
- package/model/domain/library.d.ts +5 -0
- package/model/domain/library.d.ts.map +1 -0
- package/model/domain/library.js +3 -0
- package/model/domain/library.js.map +1 -0
- package/model/domain/services.d.ts +32 -0
- package/model/domain/services.d.ts.map +1 -0
- package/model/domain/services.js +3 -0
- package/model/domain/services.js.map +1 -0
- package/operand/application/facade.d.ts +27 -0
- package/operand/application/facade.d.ts.map +1 -0
- package/operand/application/facade.js +42 -0
- package/operand/application/facade.js.map +1 -0
- package/operand/application/index.d.ts +15 -0
- package/operand/application/index.d.ts.map +1 -0
- package/operand/application/index.js +31 -0
- package/operand/application/index.js.map +1 -0
- package/operand/application/services/builder.d.ts +17 -0
- package/operand/application/services/builder.d.ts.map +1 -0
- package/operand/application/services/builder.js +30 -0
- package/operand/application/services/builder.js.map +1 -0
- package/operand/application/services/builderCacheDecorator.d.ts +14 -0
- package/operand/application/services/builderCacheDecorator.d.ts.map +1 -0
- package/operand/application/services/builderCacheDecorator.js +29 -0
- package/operand/application/services/builderCacheDecorator.js.map +1 -0
- package/operand/application/services/factory.d.ts +10 -0
- package/operand/application/services/factory.d.ts.map +1 -0
- package/operand/application/services/factory.js +24 -0
- package/operand/application/services/factory.js.map +1 -0
- package/operand/application/services/normalizer.d.ts +4 -0
- package/operand/application/services/normalizer.d.ts.map +1 -0
- package/operand/application/services/normalizer.js +51 -0
- package/operand/application/services/normalizer.js.map +1 -0
- package/operand/application/services/parameterService.d.ts +6 -0
- package/operand/application/services/parameterService.d.ts.map +1 -0
- package/operand/application/services/parameterService.js +23 -0
- package/operand/application/services/parameterService.js.map +1 -0
- package/operand/application/services/parser.d.ts +49 -0
- package/operand/application/services/parser.d.ts.map +1 -0
- package/operand/application/services/parser.js +751 -0
- package/operand/application/services/parser.js.map +1 -0
- package/operand/application/services/serializer.d.ts +10 -0
- package/operand/application/services/serializer.d.ts.map +1 -0
- package/operand/application/services/serializer.js +40 -0
- package/operand/application/services/serializer.js.map +1 -0
- package/operand/application/services/typeService.d.ts +37 -0
- package/operand/application/services/typeService.d.ts.map +1 -0
- package/operand/application/services/typeService.js +392 -0
- package/operand/application/services/typeService.js.map +1 -0
- package/operand/application/useCases/build.d.ts +10 -0
- package/operand/application/useCases/build.d.ts.map +1 -0
- package/operand/application/useCases/build.js +25 -0
- package/operand/application/useCases/build.js.map +1 -0
- package/operand/application/useCases/clone.d.ts +10 -0
- package/operand/application/useCases/clone.d.ts.map +1 -0
- package/operand/application/useCases/clone.js +34 -0
- package/operand/application/useCases/clone.js.map +1 -0
- package/operand/application/useCases/complete.d.ts +9 -0
- package/operand/application/useCases/complete.d.ts.map +1 -0
- package/operand/application/useCases/complete.js +26 -0
- package/operand/application/useCases/complete.js.map +1 -0
- package/operand/application/useCases/normalize.d.ts +9 -0
- package/operand/application/useCases/normalize.d.ts.map +1 -0
- package/operand/application/useCases/normalize.js +43 -0
- package/operand/application/useCases/normalize.js.map +1 -0
- package/operand/application/useCases/reduce.d.ts +11 -0
- package/operand/application/useCases/reduce.d.ts.map +1 -0
- package/operand/application/useCases/reduce.js +57 -0
- package/operand/application/useCases/reduce.js.map +1 -0
- package/operand/domain/constBuilder.d.ts +5 -0
- package/operand/domain/constBuilder.d.ts.map +1 -0
- package/operand/domain/constBuilder.js +3 -0
- package/operand/domain/constBuilder.js.map +1 -0
- package/operand/domain/entities.d.ts +60 -0
- package/operand/domain/entities.d.ts.map +1 -0
- package/operand/domain/entities.js +38 -0
- package/operand/domain/entities.js.map +1 -0
- package/operand/domain/index.d.ts +4 -0
- package/operand/domain/index.d.ts.map +1 -0
- package/operand/domain/index.js +20 -0
- package/operand/domain/index.js.map +1 -0
- package/operand/domain/services.d.ts +39 -0
- package/operand/domain/services.d.ts.map +1 -0
- package/operand/domain/services.js +3 -0
- package/operand/domain/services.js.map +1 -0
- package/operand/infrastructure/constBuilder.d.ts +6 -0
- package/operand/infrastructure/constBuilder.d.ts.map +1 -0
- package/operand/infrastructure/constBuilder.js +15 -0
- package/operand/infrastructure/constBuilder.js.map +1 -0
- package/operand/infrastructure/executors/expression.d.ts +34 -0
- package/operand/infrastructure/executors/expression.d.ts.map +1 -0
- package/operand/infrastructure/executors/expression.js +534 -0
- package/operand/infrastructure/executors/expression.js.map +1 -0
- package/operand/infrastructure/executors/task.d.ts +8 -0
- package/operand/infrastructure/executors/task.d.ts.map +1 -0
- package/operand/infrastructure/executors/task.js +492 -0
- package/operand/infrastructure/executors/task.js.map +1 -0
- package/operand/infrastructure/facadeBuilder.d.ts +10 -0
- package/operand/infrastructure/facadeBuilder.d.ts.map +1 -0
- package/operand/infrastructure/facadeBuilder.js +35 -0
- package/operand/infrastructure/facadeBuilder.js.map +1 -0
- package/operand/infrastructure/helper.d.ts +20 -0
- package/operand/infrastructure/helper.d.ts.map +1 -0
- package/operand/infrastructure/helper.js +272 -0
- package/operand/infrastructure/helper.js.map +1 -0
- package/operand/infrastructure/index.d.ts +4 -0
- package/operand/infrastructure/index.d.ts.map +1 -0
- package/operand/infrastructure/index.js +20 -0
- package/operand/infrastructure/index.js.map +1 -0
- package/package.json +39 -0
- package/shared/domain/base.d.ts +32 -0
- package/shared/domain/base.d.ts.map +1 -0
- package/shared/domain/base.js +12 -0
- package/shared/domain/base.js.map +1 -0
- package/shared/domain/context.d.ts +37 -0
- package/shared/domain/context.d.ts.map +1 -0
- package/shared/domain/context.js +93 -0
- package/shared/domain/context.js.map +1 -0
- package/shared/domain/index.d.ts +6 -0
- package/shared/domain/index.d.ts.map +1 -0
- package/shared/domain/index.js +22 -0
- package/shared/domain/index.js.map +1 -0
- package/shared/domain/observer.d.ts +15 -0
- package/shared/domain/observer.d.ts.map +1 -0
- package/shared/domain/observer.js +11 -0
- package/shared/domain/observer.js.map +1 -0
- package/shared/domain/operand.d.ts +55 -0
- package/shared/domain/operand.d.ts.map +1 -0
- package/shared/domain/operand.js +69 -0
- package/shared/domain/operand.js.map +1 -0
- package/shared/domain/signals.d.ts +8 -0
- package/shared/domain/signals.d.ts.map +1 -0
- package/shared/domain/signals.js +3 -0
- package/shared/domain/signals.js.map +1 -0
- package/shared/infrastructure/helper.d.ts +9 -0
- package/shared/infrastructure/helper.d.ts.map +1 -0
- package/shared/infrastructure/helper.js +16 -0
- package/shared/infrastructure/helper.js.map +1 -0
- package/shared/infrastructure/index.d.ts +2 -0
- package/shared/infrastructure/index.d.ts.map +1 -0
- package/shared/infrastructure/index.js +18 -0
- package/shared/infrastructure/index.js.map +1 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Context } from './context';
|
|
2
|
+
import { Position } from './base';
|
|
3
|
+
import { Type } from '@data7expressions/typ3s';
|
|
4
|
+
export declare enum OperandType {
|
|
5
|
+
Const = "Const",
|
|
6
|
+
Var = "Var",
|
|
7
|
+
Env = "Env",
|
|
8
|
+
Property = "Property",
|
|
9
|
+
Template = "Template",
|
|
10
|
+
KeyVal = "KeyVal",
|
|
11
|
+
List = "List",
|
|
12
|
+
Obj = "Obj",
|
|
13
|
+
Operator = "Operator",
|
|
14
|
+
CallFunc = "CallFunc",
|
|
15
|
+
Arrow = "Arrow",
|
|
16
|
+
ChildFunc = "ChildFunc",
|
|
17
|
+
Block = "Block",
|
|
18
|
+
If = "If",
|
|
19
|
+
ElseIf = "ElseIf",
|
|
20
|
+
Else = "Else",
|
|
21
|
+
While = "While",
|
|
22
|
+
For = "For",
|
|
23
|
+
ForIn = "ForIn",
|
|
24
|
+
Switch = "Switch",
|
|
25
|
+
Case = "Case",
|
|
26
|
+
Default = "Default",
|
|
27
|
+
Break = "Break",
|
|
28
|
+
Continue = "Continue",
|
|
29
|
+
Func = "Func",
|
|
30
|
+
Return = "Return",
|
|
31
|
+
Try = "Try",
|
|
32
|
+
Catch = "Catch",
|
|
33
|
+
Throw = "Throw",
|
|
34
|
+
Args = "Args"
|
|
35
|
+
}
|
|
36
|
+
export interface IEvaluator {
|
|
37
|
+
eval(context: Context): any;
|
|
38
|
+
evalAsync(context: Context): Promise<any>;
|
|
39
|
+
}
|
|
40
|
+
export declare class Operand {
|
|
41
|
+
readonly pos: Position;
|
|
42
|
+
name: any;
|
|
43
|
+
readonly type: OperandType;
|
|
44
|
+
children: Operand[];
|
|
45
|
+
returnType?: Type | undefined;
|
|
46
|
+
evaluator?: IEvaluator;
|
|
47
|
+
number?: number;
|
|
48
|
+
id?: string;
|
|
49
|
+
constructor(pos: Position, name: any, type: OperandType, children?: Operand[], returnType?: Type | undefined);
|
|
50
|
+
eval(context: Context): any;
|
|
51
|
+
evalAsync(context: Context): Promise<any>;
|
|
52
|
+
isAsync(): boolean;
|
|
53
|
+
solve(context: Context): Promise<any>;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=operand.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operand.d.ts","sourceRoot":"","sources":["../../../../../src/lib/shared/domain/operand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAA;AAE9C,oBAAY,WAAW;IACrB,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,EAAE,OAAO;IACT,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAED,MAAM,WAAW,UAAU;IAC1B,IAAI,CAAC,OAAO,EAAE,OAAO,GAAG,GAAG,CAAA;IAC3B,SAAS,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,CAAA;CACzC;AAED,qBAAa,OAAO;aAKiB,GAAG,EAAC,QAAQ;IAAS,IAAI,EAAC,GAAG;aAAkB,IAAI,EAAC,WAAW;IAAS,QAAQ,EAAC,OAAO,EAAE;IAAc,UAAU,CAAC,EAAC,IAAI;IAJrJ,SAAS,CAAC,EAAE,UAAU,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;gBAEkB,GAAG,EAAC,QAAQ,EAAS,IAAI,EAAC,GAAG,EAAkB,IAAI,EAAC,WAAW,EAAS,QAAQ,GAAC,OAAO,EAAO,EAAS,UAAU,CAAC,EAAC,IAAI,YAAA;IACrJ,IAAI,CAAE,OAAO,EAAE,OAAO,GAAG,GAAG;IAOtB,SAAS,CAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC;IAOhD,OAAO,IAAK,OAAO;IAIb,KAAK,CAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC;CAMnD"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Operand = exports.OperandType = void 0;
|
|
4
|
+
var OperandType;
|
|
5
|
+
(function (OperandType) {
|
|
6
|
+
OperandType["Const"] = "Const";
|
|
7
|
+
OperandType["Var"] = "Var";
|
|
8
|
+
OperandType["Env"] = "Env";
|
|
9
|
+
OperandType["Property"] = "Property";
|
|
10
|
+
OperandType["Template"] = "Template";
|
|
11
|
+
OperandType["KeyVal"] = "KeyVal";
|
|
12
|
+
OperandType["List"] = "List";
|
|
13
|
+
OperandType["Obj"] = "Obj";
|
|
14
|
+
OperandType["Operator"] = "Operator";
|
|
15
|
+
OperandType["CallFunc"] = "CallFunc";
|
|
16
|
+
OperandType["Arrow"] = "Arrow";
|
|
17
|
+
OperandType["ChildFunc"] = "ChildFunc";
|
|
18
|
+
OperandType["Block"] = "Block";
|
|
19
|
+
OperandType["If"] = "If";
|
|
20
|
+
OperandType["ElseIf"] = "ElseIf";
|
|
21
|
+
OperandType["Else"] = "Else";
|
|
22
|
+
OperandType["While"] = "While";
|
|
23
|
+
OperandType["For"] = "For";
|
|
24
|
+
OperandType["ForIn"] = "ForIn";
|
|
25
|
+
OperandType["Switch"] = "Switch";
|
|
26
|
+
OperandType["Case"] = "Case";
|
|
27
|
+
OperandType["Default"] = "Default";
|
|
28
|
+
OperandType["Break"] = "Break";
|
|
29
|
+
OperandType["Continue"] = "Continue";
|
|
30
|
+
OperandType["Func"] = "Func";
|
|
31
|
+
OperandType["Return"] = "Return";
|
|
32
|
+
OperandType["Try"] = "Try";
|
|
33
|
+
OperandType["Catch"] = "Catch";
|
|
34
|
+
OperandType["Throw"] = "Throw";
|
|
35
|
+
OperandType["Args"] = "Args";
|
|
36
|
+
})(OperandType || (exports.OperandType = OperandType = {}));
|
|
37
|
+
class Operand {
|
|
38
|
+
// eslint-disable-next-line no-useless-constructor
|
|
39
|
+
constructor(pos, name, type, children = [], returnType) {
|
|
40
|
+
this.pos = pos;
|
|
41
|
+
this.name = name;
|
|
42
|
+
this.type = type;
|
|
43
|
+
this.children = children;
|
|
44
|
+
this.returnType = returnType;
|
|
45
|
+
}
|
|
46
|
+
eval(context) {
|
|
47
|
+
if (!this.evaluator) {
|
|
48
|
+
throw new Error(`${this.name} evaluator not implemented`);
|
|
49
|
+
}
|
|
50
|
+
return this.evaluator.eval(context);
|
|
51
|
+
}
|
|
52
|
+
async evalAsync(context) {
|
|
53
|
+
if (!this.evaluator) {
|
|
54
|
+
throw new Error(`${this.name} evaluator not implemented`);
|
|
55
|
+
}
|
|
56
|
+
return this.evaluator.evalAsync(context);
|
|
57
|
+
}
|
|
58
|
+
isAsync() {
|
|
59
|
+
return this.children.some(p => p.isAsync());
|
|
60
|
+
}
|
|
61
|
+
async solve(context) {
|
|
62
|
+
if (this.isAsync()) {
|
|
63
|
+
return await this.evalAsync(context);
|
|
64
|
+
}
|
|
65
|
+
return this.eval(context);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.Operand = Operand;
|
|
69
|
+
//# sourceMappingURL=operand.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operand.js","sourceRoot":"","sources":["../../../../../src/lib/shared/domain/operand.ts"],"names":[],"mappings":";;;AAIA,IAAY,WA+BX;AA/BD,WAAY,WAAW;IACrB,8BAAe,CAAA;IACf,0BAAW,CAAA;IACX,0BAAW,CAAA;IACX,oCAAqB,CAAA;IACrB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,4BAAa,CAAA;IACb,0BAAW,CAAA;IACX,oCAAqB,CAAA;IACrB,oCAAqB,CAAA;IACrB,8BAAe,CAAA;IACf,sCAAuB,CAAA;IACvB,8BAAe,CAAA;IACf,wBAAS,CAAA;IACT,gCAAiB,CAAA;IACjB,4BAAa,CAAA;IACb,8BAAe,CAAA;IACf,0BAAW,CAAA;IACX,8BAAe,CAAA;IACf,gCAAiB,CAAA;IACjB,4BAAa,CAAA;IACb,kCAAmB,CAAA;IACnB,8BAAe,CAAA;IACf,oCAAqB,CAAA;IACrB,4BAAa,CAAA;IACb,gCAAiB,CAAA;IACjB,0BAAW,CAAA;IACX,8BAAe,CAAA;IACf,8BAAe,CAAA;IACf,4BAAa,CAAA;AACf,CAAC,EA/BW,WAAW,2BAAX,WAAW,QA+BtB;AAOD,MAAa,OAAO;IAInB,kDAAkD;IAClD,YAAoC,GAAY,EAAS,IAAQ,EAAkB,IAAgB,EAAS,WAAqB,EAAE,EAAS,UAAgB;QAAxH,QAAG,GAAH,GAAG,CAAS;QAAS,SAAI,GAAJ,IAAI,CAAI;QAAkB,SAAI,GAAJ,IAAI,CAAY;QAAS,aAAQ,GAAR,QAAQ,CAAe;QAAS,eAAU,GAAV,UAAU,CAAM;IAAI,CAAC;IAC1J,IAAI,CAAE,OAAgB;QAC5B,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;YACrB,MAAM,IAAI,KAAK,CAAC,GAAG,IAAI,CAAC,IAAI,4BAA4B,CAAC,CAAA;QAC1D,CAAC;QACD,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;IACpC,CAAC;IAEM,KAAK,CAAC,SAAS,CAAE,OAAgB;QACvC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;YACrB,MAAM,IAAI,KAAK,CAAC,GAAG,IAAI,CAAC,IAAI,4BAA4B,CAAC,CAAA;QAC1D,CAAC;QACD,OAAO,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,OAAO,CAAC,CAAA;IACzC,CAAC;IAEM,OAAO;QACb,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAA;IAC5C,CAAC;IAEM,KAAK,CAAC,KAAK,CAAE,OAAgB;QACnC,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;YACpB,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAA;QACrC,CAAC;QACD,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;IAC1B,CAAC;CACD;AA9BD,0BA8BC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signals.d.ts","sourceRoot":"","sources":["../../../../../src/lib/shared/domain/signals.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,MAAM;IACtB,IAAI,EAAC,MAAM,CAAA;IACX,QAAQ,EAAE,IAAI,CAAA;CACd;AAED,MAAM,WAAW,UAAW,SAAQ,MAAM;IACzC,IAAI,EAAE,MAAM,CAAA;CACZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signals.js","sourceRoot":"","sources":["../../../../../src/lib/shared/domain/signals.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { H3lp } from '@data7expressions/h3lp';
|
|
2
|
+
import { ExpressionHelper } from '../../expression/infrastructure';
|
|
3
|
+
import { OperandHelper } from '../../operand/infrastructure';
|
|
4
|
+
export declare class ExprH3lp extends H3lp {
|
|
5
|
+
expression: ExpressionHelper;
|
|
6
|
+
operand: OperandHelper;
|
|
7
|
+
constructor(h3lp: H3lp);
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../../../src/lib/shared/infrastructure/helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AAClE,OAAO,EAAoB,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAE9E,qBAAa,QAAS,SAAQ,IAAI;IAC1B,UAAU,EAAC,gBAAgB,CAAA;IAC3B,OAAO,EAAC,aAAa,CAAA;gBACf,IAAI,EAAE,IAAI;CAMvB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExprH3lp = void 0;
|
|
4
|
+
const h3lp_1 = require("@data7expressions/h3lp");
|
|
5
|
+
const infrastructure_1 = require("../../expression/infrastructure");
|
|
6
|
+
const infrastructure_2 = require("../../operand/infrastructure");
|
|
7
|
+
class ExprH3lp extends h3lp_1.H3lp {
|
|
8
|
+
constructor(h3lp) {
|
|
9
|
+
super(h3lp.utils, h3lp.val, h3lp.fs, h3lp.http, h3lp.obj, h3lp.str, h3lp.test, h3lp.array);
|
|
10
|
+
const constBuilder = new infrastructure_2.ConstBuilderImpl();
|
|
11
|
+
this.operand = new infrastructure_2.OperandHelper(constBuilder);
|
|
12
|
+
this.expression = new infrastructure_1.ExpressionHelper(h3lp.str);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.ExprH3lp = ExprH3lp;
|
|
16
|
+
//# sourceMappingURL=helper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helper.js","sourceRoot":"","sources":["../../../../../src/lib/shared/infrastructure/helper.ts"],"names":[],"mappings":";;;AAAA,iDAA6C;AAC7C,oEAAkE;AAClE,iEAA8E;AAE9E,MAAa,QAAS,SAAQ,WAAI;IAGjC,YAAa,IAAU;QACtB,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,CAAA;QAC1F,MAAM,YAAY,GAAG,IAAI,iCAAgB,EAAE,CAAA;QAC3C,IAAI,CAAC,OAAO,GAAG,IAAI,8BAAa,CAAC,YAAY,CAAC,CAAA;QAC9C,IAAI,CAAC,UAAU,GAAG,IAAI,iCAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IACjD,CAAC;CACD;AATD,4BASC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/shared/infrastructure/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./helper"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/shared/infrastructure/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB"}
|