@freelog/freelog-cg-collection 1.2.14 → 1.2.16
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/CollectionPolicyCustomVisitor.js +2 -1
- package/dist/config/ConfigEvent.d.ts +22 -0
- package/dist/{resources/context_config/event_configs.json → config/ConfigEvent.js} +9 -2
- package/dist/tools/PolicyMapper.js +6 -3
- package/package.json +1 -1
- package/src/config/ConfigEvent.ts +128 -0
- package/src/tools/PolicyMapper.ts +5 -1
- package/tsconfig.json +5 -4
- package/dist/function-executor/DefaultFunctionInvoke.d.ts +0 -5
- package/dist/function-executor/DefaultFunctionInvoke.js +0 -13
- package/dist/function-executor/FunctionHandle.d.ts +0 -17
- package/dist/function-executor/FunctionHandle.js +0 -44
- package/dist/function-executor/api/FunctionApiExecutor.d.ts +0 -5
- package/dist/function-executor/api/FunctionApiExecutor.js +0 -12
- package/dist/function-executor/fun/FunctionFunExecutor.d.ts +0 -9
- package/dist/function-executor/fun/FunctionFunExecutor.js +0 -30
- package/dist/function-executor/kit/FunctionKitExecutor.d.ts +0 -5
- package/dist/function-executor/kit/FunctionKitExecutor.js +0 -12
- package/dist/function-executor/query/FunctionQueryExecutor.d.ts +0 -5
- package/dist/function-executor/query/FunctionQueryExecutor.js +0 -12
- package/dist/function-executor/time/FunctionTimeExecutor.d.ts +0 -5
- package/dist/function-executor/time/FunctionTimeExecutor.js +0 -12
- package/dist/interface/DefaultFunctionInvoke.d.ts +0 -5
- package/dist/interface/DefaultFunctionInvoke.js +0 -13
- package/dist/model/contract-declaration/ContractDeclarationInfo.d.ts +0 -6
- package/dist/model/contract-declaration/ContractDeclarationInfo.js +0 -7
- package/dist/src/calculator/CalculatorFactory.d.ts +0 -17
- package/dist/src/calculator/CalculatorFactory.js +0 -40
- package/dist/src/calculator/CalculatorFactoryBuilder.d.ts +0 -4
- package/dist/src/calculator/CalculatorFactoryBuilder.js +0 -13
- package/dist/src/calculator/ExpArgsGroupCalculator.d.ts +0 -12
- package/dist/src/calculator/ExpArgsGroupCalculator.js +0 -25
- package/dist/src/calculator/ExpBooleanCalculator.d.ts +0 -13
- package/dist/src/calculator/ExpBooleanCalculator.js +0 -81
- package/dist/src/calculator/ExpCalculator.d.ts +0 -17
- package/dist/src/calculator/ExpCalculator.js +0 -56
- package/dist/src/calculator/ExpCollectionCalculator.d.ts +0 -0
- package/dist/src/calculator/ExpCollectionCalculator.js +0 -1
- package/dist/src/calculator/ExpConditionCalculator.d.ts +0 -12
- package/dist/src/calculator/ExpConditionCalculator.js +0 -34
- package/dist/src/contract-declaration-executor/DefaultContractDeclarationExecutor.d.ts +0 -8
- package/dist/src/contract-declaration-executor/DefaultContractDeclarationExecutor.js +0 -13
- package/dist/src/contract-declaration-executor/DynamicContractDeclarationExecutor.d.ts +0 -7
- package/dist/src/contract-declaration-executor/DynamicContractDeclarationExecutor.js +0 -21
- package/dist/src/contract-declaration-executor/USEContractDeclaration.d.ts +0 -4
- package/dist/src/contract-declaration-executor/USEContractDeclaration.js +0 -23
- package/dist/src/function-executor/ApiFunctionExecutor.d.ts +0 -11
- package/dist/src/function-executor/ApiFunctionExecutor.js +0 -17
- package/dist/src/function-executor/DefaultFunctionExecutor.d.ts +0 -11
- package/dist/src/function-executor/DefaultFunctionExecutor.js +0 -19
- package/dist/src/function-executor/DynamicFunctionExecutor.d.ts +0 -13
- package/dist/src/function-executor/DynamicFunctionExecutor.js +0 -58
- package/dist/src/function-executor/FunFunctionExecutor.d.ts +0 -15
- package/dist/src/function-executor/FunFunctionExecutor.js +0 -48
- package/dist/src/function-executor/KitFunctionExecutor.d.ts +0 -9
- package/dist/src/function-executor/KitFunctionExecutor.js +0 -32
- package/dist/src/function-executor/QueryFunctionExecutor.d.ts +0 -40
- package/dist/src/function-executor/QueryFunctionExecutor.js +0 -42
- package/dist/src/function-executor/TimeFunctionExecutor.d.ts +0 -8
- package/dist/src/function-executor/TimeFunctionExecutor.js +0 -51
- package/dist/src/helper/ContractDeclarationHelper.d.ts +0 -7
- package/dist/src/helper/ContractDeclarationHelper.js +0 -28
- package/dist/src/helper/ExpHelper.d.ts +0 -16
- package/dist/src/helper/ExpHelper.js +0 -86
- package/dist/src/helper/FunctionHelper.d.ts +0 -41
- package/dist/src/helper/FunctionHelper.js +0 -161
- package/dist/src/helper/GetPostHelper.d.ts +0 -5
- package/dist/src/helper/GetPostHelper.js +0 -13
- package/dist/src/helper/PolicyHelper.d.ts +0 -102
- package/dist/src/helper/PolicyHelper.js +0 -519
- package/dist/src/interface/Calculator.d.ts +0 -5
- package/dist/src/interface/Calculator.js +0 -3
- package/dist/src/interface/ConstantForApi.d.ts +0 -12
- package/dist/src/interface/ConstantForApi.js +0 -17
- package/dist/src/interface/ContractDeclarationExecute.d.ts +0 -3
- package/dist/src/interface/ContractDeclarationExecute.js +0 -3
- package/dist/src/interface/ExpHelperAware.d.ts +0 -4
- package/dist/src/interface/ExpHelperAware.js +0 -3
- package/dist/src/interface/FunctionHelperAware.d.ts +0 -4
- package/dist/src/interface/FunctionHelperAware.js +0 -3
- package/dist/src/interface/FunctionInvoke.d.ts +0 -4
- package/dist/src/interface/FunctionInvoke.js +0 -3
- package/dist/src/interface/GetPostInvoke.d.ts +0 -4
- package/dist/src/interface/GetPostInvoke.js +0 -3
- package/dist/src/interface/OutsideApiServiceAware.d.ts +0 -4
- package/dist/src/interface/OutsideApiServiceAware.js +0 -3
- package/dist/src/interface/VarContextCapable.d.ts +0 -3
- package/dist/src/interface/VarContextCapable.js +0 -3
- package/dist/src/model/AssignmentClauseInfo.d.ts +0 -3
- package/dist/src/model/AssignmentClauseInfo.js +0 -3
- package/dist/src/model/contract-declaration/VarContractDeclarationInfo.d.ts +0 -17
- package/dist/src/model/contract-declaration/VarContractDeclarationInfo.js +0 -3
- package/dist/src/model/exp/EntityInfo.d.ts +0 -6
- package/dist/src/model/exp/EntityInfo.js +0 -3
- package/dist/src/model/exp/Exp.d.ts +0 -3
- package/dist/src/model/exp/Exp.js +0 -3
- package/dist/src/model/exp/ExpAtom.d.ts +0 -3
- package/dist/src/model/exp/ExpAtom.js +0 -3
- package/dist/src/model/exp/ExpOp.d.ts +0 -7
- package/dist/src/model/exp/ExpOp.js +0 -3
- package/dist/src/model/exp/ExpParen.d.ts +0 -5
- package/dist/src/model/exp/ExpParen.js +0 -3
- package/dist/src/model/exp/ExpSigned.d.ts +0 -6
- package/dist/src/model/exp/ExpSigned.js +0 -3
- package/dist/src/model/exp/FunctionCallInfo.d.ts +0 -12
- package/dist/src/model/exp/FunctionCallInfo.js +0 -3
- package/dist/src/model/exp/NumberInfo.d.ts +0 -5
- package/dist/src/model/exp/NumberInfo.js +0 -3
- package/dist/src/model/exp/StringInfo.d.ts +0 -5
- package/dist/src/model/exp/StringInfo.js +0 -3
- package/dist/src/model/exp/VariableChainInfo.d.ts +0 -6
- package/dist/src/model/exp/VariableChainInfo.js +0 -3
- package/dist/src/model/exp-args-group/ExpArgsGroup.d.ts +0 -9
- package/dist/src/model/exp-args-group/ExpArgsGroup.js +0 -3
- package/dist/src/model/exp-boolean/BooleanInfo.d.ts +0 -5
- package/dist/src/model/exp-boolean/BooleanInfo.js +0 -3
- package/dist/src/model/exp-boolean/ExpBoolean.d.ts +0 -3
- package/dist/src/model/exp-boolean/ExpBoolean.js +0 -3
- package/dist/src/model/exp-boolean/ExpBooleanAtom.d.ts +0 -3
- package/dist/src/model/exp-boolean/ExpBooleanAtom.js +0 -3
- package/dist/src/model/exp-boolean/ExpBooleanOpCollection.d.ts +0 -7
- package/dist/src/model/exp-boolean/ExpBooleanOpCollection.js +0 -3
- package/dist/src/model/exp-boolean/ExpBooleanOpCompare.d.ts +0 -7
- package/dist/src/model/exp-boolean/ExpBooleanOpCompare.js +0 -3
- package/dist/src/model/exp-boolean/ExpBooleanOpLogic.d.ts +0 -7
- package/dist/src/model/exp-boolean/ExpBooleanOpLogic.js +0 -3
- package/dist/src/model/exp-boolean/ExpBooleanParen.d.ts +0 -5
- package/dist/src/model/exp-boolean/ExpBooleanParen.js +0 -3
- package/dist/src/model/exp-collection/ExpCollection.d.ts +0 -9
- package/dist/src/model/exp-collection/ExpCollection.js +0 -3
- package/dist/src/model/exp-condition/ExpCondition.d.ts +0 -11
- package/dist/src/model/exp-condition/ExpCondition.js +0 -3
- package/dist/src/model/policy/ActionInfo.d.ts +0 -20
- package/dist/src/model/policy/ActionInfo.js +0 -3
- package/dist/src/model/policy/ContractDeclarationInfo.d.ts +0 -7
- package/dist/src/model/policy/ContractDeclarationInfo.js +0 -7
- package/dist/src/model/policy/EventInfo.d.ts +0 -27
- package/dist/src/model/policy/EventInfo.js +0 -3
- package/dist/src/model/policy/PolicyInfo.d.ts +0 -32
- package/dist/src/model/policy/PolicyInfo.js +0 -3
- package/dist/src/model/policy/VarDeclarationInfo.d.ts +0 -10
- package/dist/src/model/policy/VarDeclarationInfo.js +0 -3
- package/dist/src/service/OutsideApiService.d.ts +0 -58
- package/dist/src/service/OutsideApiService.js +0 -62
- package/dist/src/state-machine/ContractFsmHook.d.ts +0 -17
- package/dist/src/state-machine/ContractFsmHook.js +0 -33
- package/dist/src/state-machine/ContractStateMachine.d.ts +0 -51
- package/dist/src/state-machine/ContractStateMachine.js +0 -190
- package/dist/src/tools/PolicyDecompiler.d.ts +0 -26
- package/dist/src/tools/PolicyDecompiler.js +0 -298
- package/dist/src/tools/PolicyMapper.d.ts +0 -3
- package/dist/src/tools/PolicyMapper.js +0 -83
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR2V0UG9zdEludm9rZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvR2V0UG9zdEludm9rZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiT3V0c2lkZUFwaVNlcnZpY2VBd2FyZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvT3V0c2lkZUFwaVNlcnZpY2VBd2FyZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVmFyQ29udGV4dENhcGFibGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW50ZXJmYWNlL1ZhckNvbnRleHRDYXBhYmxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQXNzaWdubWVudENsYXVzZUluZm8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbW9kZWwvQXNzaWdubWVudENsYXVzZUluZm8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { AssignmentClauseInfo } from "../AssignmentClauseInfo";
|
|
2
|
-
export interface VarContractDeclarationInfo {
|
|
3
|
-
expType: "varContractDeclaration";
|
|
4
|
-
keyword: "DEMAND" | "USE";
|
|
5
|
-
type: string;
|
|
6
|
-
conditions: [
|
|
7
|
-
{
|
|
8
|
-
paramName: string;
|
|
9
|
-
paramValue: string;
|
|
10
|
-
paramValueObj: AssignmentClauseInfo;
|
|
11
|
-
content: string;
|
|
12
|
-
}
|
|
13
|
-
];
|
|
14
|
-
varName: string;
|
|
15
|
-
varValue: string;
|
|
16
|
-
varValueType: string;
|
|
17
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVmFyQ29udHJhY3REZWNsYXJhdGlvbkluZm8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbW9kZWwvY29udHJhY3QtZGVjbGFyYXRpb24vVmFyQ29udHJhY3REZWNsYXJhdGlvbkluZm8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRW50aXR5SW5mby5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9leHAvRW50aXR5SW5mby50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21vZGVsL2V4cC9FeHAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQXRvbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9leHAvRXhwQXRvbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwT3AuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbW9kZWwvZXhwL0V4cE9wLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwUGFyZW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbW9kZWwvZXhwL0V4cFBhcmVuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwU2lnbmVkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21vZGVsL2V4cC9FeHBTaWduZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Exp } from "./Exp";
|
|
2
|
-
import { AssignmentClauseInfo } from "../AssignmentClauseInfo";
|
|
3
|
-
export interface FunctionCallInfo extends Exp {
|
|
4
|
-
expType: "functionCall";
|
|
5
|
-
varChain?: string;
|
|
6
|
-
funcName: string;
|
|
7
|
-
paramList: {
|
|
8
|
-
paramName?: string;
|
|
9
|
-
paramValue: string;
|
|
10
|
-
paramValueObj: AssignmentClauseInfo;
|
|
11
|
-
}[];
|
|
12
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRnVuY3Rpb25DYWxsSW5mby5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9leHAvRnVuY3Rpb25DYWxsSW5mby50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTnVtYmVySW5mby5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9leHAvTnVtYmVySW5mby50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3RyaW5nSW5mby5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9leHAvU3RyaW5nSW5mby50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVmFyaWFibGVDaGFpbkluZm8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbW9kZWwvZXhwL1ZhcmlhYmxlQ2hhaW5JbmZvLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQXJnc0dyb3VwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21vZGVsL2V4cC1hcmdzLWdyb3VwL0V4cEFyZ3NHcm91cC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQm9vbGVhbkluZm8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbW9kZWwvZXhwLWJvb2xlYW4vQm9vbGVhbkluZm8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQm9vbGVhbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9leHAtYm9vbGVhbi9FeHBCb29sZWFuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQm9vbGVhbkF0b20uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbW9kZWwvZXhwLWJvb2xlYW4vRXhwQm9vbGVhbkF0b20udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQm9vbGVhbk9wQ29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9leHAtYm9vbGVhbi9FeHBCb29sZWFuT3BDb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ExpBoolean } from "./ExpBoolean";
|
|
2
|
-
export interface ExpBooleanOpCompare extends ExpBoolean {
|
|
3
|
-
expType: "expBooleanOpCompare";
|
|
4
|
-
op: "less" | "before" | "lessOrEqual" | "greater" | "after" | "greaterOrEqual" | "equal" | "notEqual" | "<" | "<=" | ">" | ">=" | "==" | "!=";
|
|
5
|
-
var1: any;
|
|
6
|
-
var2: any;
|
|
7
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQm9vbGVhbk9wQ29tcGFyZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9leHAtYm9vbGVhbi9FeHBCb29sZWFuT3BDb21wYXJlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQm9vbGVhbk9wTG9naWMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbW9kZWwvZXhwLWJvb2xlYW4vRXhwQm9vbGVhbk9wTG9naWMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQm9vbGVhblBhcmVuLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21vZGVsL2V4cC1ib29sZWFuL0V4cEJvb2xlYW5QYXJlbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AssignmentClauseInfo } from "../AssignmentClauseInfo";
|
|
2
|
-
import { Exp } from "../exp/Exp";
|
|
3
|
-
export interface ExpCollection extends AssignmentClauseInfo {
|
|
4
|
-
expType: "expCollection";
|
|
5
|
-
lSymbol: "[" | "(";
|
|
6
|
-
rSymbol: "]" | ")";
|
|
7
|
-
var1: Exp;
|
|
8
|
-
var2: Exp;
|
|
9
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQ29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9leHAtY29sbGVjdGlvbi9FeHBDb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AssignmentClauseInfo } from "../AssignmentClauseInfo";
|
|
2
|
-
import { ExpBoolean } from "../exp-boolean/ExpBoolean";
|
|
3
|
-
export interface ExpCondition extends AssignmentClauseInfo {
|
|
4
|
-
expType: "expCondition";
|
|
5
|
-
paramList: {
|
|
6
|
-
paramCondition?: string;
|
|
7
|
-
paramConditionObj?: ExpBoolean;
|
|
8
|
-
paramValue: string;
|
|
9
|
-
paramValueObj: any;
|
|
10
|
-
}[];
|
|
11
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQ29uZGl0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21vZGVsL2V4cC1jb25kaXRpb24vRXhwQ29uZGl0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { FunctionCallInfo } from "../exp/FunctionCallInfo";
|
|
2
|
-
import { AssignmentClauseInfo } from "../AssignmentClauseInfo";
|
|
3
|
-
export interface ActionInfo {
|
|
4
|
-
type: string;
|
|
5
|
-
}
|
|
6
|
-
export interface ActionFunctionCall extends ActionInfo {
|
|
7
|
-
type: "functionCall";
|
|
8
|
-
content: string;
|
|
9
|
-
actionObj: FunctionCallInfo;
|
|
10
|
-
}
|
|
11
|
-
export interface ActionVarAssignment extends ActionInfo {
|
|
12
|
-
type: "varAssignment";
|
|
13
|
-
content: string;
|
|
14
|
-
actionObj: {
|
|
15
|
-
varName: string;
|
|
16
|
-
varValue: string;
|
|
17
|
-
varValueObj: AssignmentClauseInfo;
|
|
18
|
-
varValueType: string;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQWN0aW9uSW5mby5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9wb2xpY3kvQWN0aW9uSW5mby50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ContractDeclarationInfo = void 0;
|
|
4
|
-
class ContractDeclarationInfo {
|
|
5
|
-
}
|
|
6
|
-
exports.ContractDeclarationInfo = ContractDeclarationInfo;
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29udHJhY3REZWNsYXJhdGlvbkluZm8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbW9kZWwvcG9saWN5L0NvbnRyYWN0RGVjbGFyYXRpb25JbmZvLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUVBLE1BQWEsdUJBQXVCO0NBS25DO0FBTEQsMERBS0MifQ==
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { AssignmentClauseInfo } from "../AssignmentClauseInfo";
|
|
2
|
-
import { ActionInfo } from "./ActionInfo";
|
|
3
|
-
export interface EventInfo {
|
|
4
|
-
type: "normal" | "terminate";
|
|
5
|
-
content: string;
|
|
6
|
-
eventName: string;
|
|
7
|
-
eventPath?: string;
|
|
8
|
-
eventParamList?: [
|
|
9
|
-
{
|
|
10
|
-
paramName?: string;
|
|
11
|
-
paramValue: string;
|
|
12
|
-
paramValueObj: AssignmentClauseInfo;
|
|
13
|
-
}
|
|
14
|
-
];
|
|
15
|
-
toState: string;
|
|
16
|
-
stateContextArgs?: [
|
|
17
|
-
{
|
|
18
|
-
paramName: string;
|
|
19
|
-
paramValue: string;
|
|
20
|
-
paramValueObj: AssignmentClauseInfo;
|
|
21
|
-
content: string;
|
|
22
|
-
}
|
|
23
|
-
];
|
|
24
|
-
actions: ActionInfo[];
|
|
25
|
-
eventCode?: string;
|
|
26
|
-
eventId?: string;
|
|
27
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXZlbnRJbmZvLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21vZGVsL3BvbGljeS9FdmVudEluZm8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { VarDeclarationInfo } from "./VarDeclarationInfo";
|
|
2
|
-
import { EventInfo } from "./EventInfo";
|
|
3
|
-
import { AssignmentClauseInfo } from "../AssignmentClauseInfo";
|
|
4
|
-
import { ContractDeclarationInfo } from "./ContractDeclarationInfo";
|
|
5
|
-
export interface PolicyInfo {
|
|
6
|
-
audienceSection: AudienceSection;
|
|
7
|
-
contractDeclarationSection: ContractDeclarationSection;
|
|
8
|
-
varDeclarationList: VarDeclarationInfo[];
|
|
9
|
-
stateMachine: StateInfo[];
|
|
10
|
-
}
|
|
11
|
-
export interface AudienceSection {
|
|
12
|
-
audiences: string[];
|
|
13
|
-
conditions: {
|
|
14
|
-
paramName?: string;
|
|
15
|
-
paramValue: string;
|
|
16
|
-
paramValueObj: AssignmentClauseInfo;
|
|
17
|
-
content: string;
|
|
18
|
-
}[];
|
|
19
|
-
}
|
|
20
|
-
export interface ContractDeclarationSection {
|
|
21
|
-
contractDeclarations: ContractDeclarationInfo[];
|
|
22
|
-
}
|
|
23
|
-
export interface StateInfo {
|
|
24
|
-
stateName: string;
|
|
25
|
-
assignments: VarDeclarationInfo[];
|
|
26
|
-
events: EventInfo[];
|
|
27
|
-
serviceStateSection?: {
|
|
28
|
-
serviceState?: string;
|
|
29
|
-
serviceStateCollection?: string[];
|
|
30
|
-
};
|
|
31
|
-
stateContextArgs?: string[];
|
|
32
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUG9saWN5SW5mby5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9wb2xpY3kvUG9saWN5SW5mby50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { AssignmentClauseInfo } from "../AssignmentClauseInfo";
|
|
2
|
-
export interface VarDeclarationInfo {
|
|
3
|
-
type: "varGlobal" | "varMacro" | "expCustom" | "varAssigment" | "varInitial";
|
|
4
|
-
content: string;
|
|
5
|
-
varName: string;
|
|
6
|
-
paramList?: string[];
|
|
7
|
-
varValue: string;
|
|
8
|
-
varValueObj: AssignmentClauseInfo;
|
|
9
|
-
varValueType?: "void" | "boolean" | "number" | "string" | "entity" | "array" | "argsGroup" | "any";
|
|
10
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVmFyRGVjbGFyYXRpb25JbmZvLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21vZGVsL3BvbGljeS9WYXJEZWNsYXJhdGlvbkluZm8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { GetPostInvoke } from "../interface/GetPostInvoke";
|
|
2
|
-
export declare class OutsideApiService {
|
|
3
|
-
private getPostInvoke;
|
|
4
|
-
private apiAddressMap;
|
|
5
|
-
resourceCountOfUpdates(args: {
|
|
6
|
-
subject: any;
|
|
7
|
-
interval?: "PAST_MONTH";
|
|
8
|
-
startTime?: string;
|
|
9
|
-
limitTime?: string;
|
|
10
|
-
}): Promise<number>;
|
|
11
|
-
echoLabels(args: {
|
|
12
|
-
subject: any;
|
|
13
|
-
policyId?: string;
|
|
14
|
-
licensee: any;
|
|
15
|
-
}): Promise<string[]>;
|
|
16
|
-
echoLabelInfos(args: {
|
|
17
|
-
subject: any;
|
|
18
|
-
policyId?: string;
|
|
19
|
-
licensee: any;
|
|
20
|
-
}): Promise<any[]>;
|
|
21
|
-
contractSignCount(args: {
|
|
22
|
-
node?: string;
|
|
23
|
-
subject?: any;
|
|
24
|
-
policyId?: string;
|
|
25
|
-
status?: number;
|
|
26
|
-
licensee: any;
|
|
27
|
-
}): Promise<number>;
|
|
28
|
-
contractInfos(args: {
|
|
29
|
-
subject: any;
|
|
30
|
-
policyId: string;
|
|
31
|
-
licensee: any;
|
|
32
|
-
status?: number;
|
|
33
|
-
}): Promise<any[]>;
|
|
34
|
-
transactionRecordsCount(args: {
|
|
35
|
-
subject?: any;
|
|
36
|
-
contractId?: string;
|
|
37
|
-
amount?: number;
|
|
38
|
-
licenseeOwner: number;
|
|
39
|
-
}): Promise<number>;
|
|
40
|
-
transactionAmountsSum(args: {
|
|
41
|
-
subject?: any;
|
|
42
|
-
contractId?: string;
|
|
43
|
-
interval?: "PAST_MONTH";
|
|
44
|
-
startTime?: string;
|
|
45
|
-
limitTime?: string;
|
|
46
|
-
}): Promise<number>;
|
|
47
|
-
funAppendTTL(args: any): Promise<string>;
|
|
48
|
-
funSendEvent(args: {
|
|
49
|
-
title: string;
|
|
50
|
-
}): Promise<void>;
|
|
51
|
-
funSetLabel(args: any): Promise<void>;
|
|
52
|
-
setGetPostInvoke(getPostInvoke: GetPostInvoke): void;
|
|
53
|
-
setApiAddress(api: string, url: string): void;
|
|
54
|
-
setApiAddressMulti(tuples: {
|
|
55
|
-
api: string;
|
|
56
|
-
url: string;
|
|
57
|
-
}[]): void;
|
|
58
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OutsideApiService = void 0;
|
|
4
|
-
const ConstantForApi_1 = require("../interface/ConstantForApi");
|
|
5
|
-
class OutsideApiService {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.apiAddressMap = new Map();
|
|
8
|
-
}
|
|
9
|
-
// 资源更新数
|
|
10
|
-
async resourceCountOfUpdates(args) {
|
|
11
|
-
return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.ResourceCountOfUpdates), args);
|
|
12
|
-
}
|
|
13
|
-
// 乙方标签
|
|
14
|
-
async echoLabels(args) {
|
|
15
|
-
return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.EchoLabels), args);
|
|
16
|
-
}
|
|
17
|
-
// 乙方标签信息
|
|
18
|
-
async echoLabelInfos(args) {
|
|
19
|
-
return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.EchoLabelInfos), args);
|
|
20
|
-
}
|
|
21
|
-
// 合约签约数
|
|
22
|
-
async contractSignCount(args) {
|
|
23
|
-
return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.ContractSignCount), args);
|
|
24
|
-
}
|
|
25
|
-
// 合约信息
|
|
26
|
-
async contractInfos(args) {
|
|
27
|
-
return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.ContractInfos), args);
|
|
28
|
-
}
|
|
29
|
-
// 交易记录数
|
|
30
|
-
async transactionRecordsCount(args) {
|
|
31
|
-
return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.TransactionRecordsCount), args);
|
|
32
|
-
}
|
|
33
|
-
// 交易记录额
|
|
34
|
-
async transactionAmountsSum(args) {
|
|
35
|
-
return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.TransactionAmountsSum), args);
|
|
36
|
-
}
|
|
37
|
-
// 追加时间
|
|
38
|
-
async funAppendTTL(args) {
|
|
39
|
-
return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.FunAppendTTL), args);
|
|
40
|
-
}
|
|
41
|
-
// 发送事件
|
|
42
|
-
async funSendEvent(args) {
|
|
43
|
-
return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.FunSendEvent), args);
|
|
44
|
-
}
|
|
45
|
-
// 设置用户组标签
|
|
46
|
-
async funSetLabel(args) {
|
|
47
|
-
return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.FunSetLabel), args);
|
|
48
|
-
}
|
|
49
|
-
setGetPostInvoke(getPostInvoke) {
|
|
50
|
-
this.getPostInvoke = getPostInvoke;
|
|
51
|
-
}
|
|
52
|
-
setApiAddress(api, url) {
|
|
53
|
-
this.apiAddressMap.set(api, url);
|
|
54
|
-
}
|
|
55
|
-
setApiAddressMulti(tuples) {
|
|
56
|
-
for (let tuple of tuples) {
|
|
57
|
-
this.setApiAddress(tuple.api, tuple.url);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
exports.OutsideApiService = OutsideApiService;
|
|
62
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiT3V0c2lkZUFwaVNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvc2VydmljZS9PdXRzaWRlQXBpU2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFDQSxnRUFBMkQ7QUFFM0QsTUFBYSxpQkFBaUI7SUFBOUI7UUFJWSxrQkFBYSxHQUF3QixJQUFJLEdBQUcsRUFBa0IsQ0FBQztJQXVGM0UsQ0FBQztJQXJGRyxRQUFRO0lBQ1IsS0FBSyxDQUFDLHNCQUFzQixDQUFDLElBSzVCO1FBQ0csT0FBTyxJQUFJLENBQUMsYUFBYSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLEdBQUcsQ0FBQywrQkFBYyxDQUFDLHNCQUFzQixDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUM7SUFDMUcsQ0FBQztJQUVELE9BQU87SUFDUCxLQUFLLENBQUMsVUFBVSxDQUFDLElBQXdEO1FBQ3JFLE9BQU8sSUFBSSxDQUFDLGFBQWEsQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLGFBQWEsQ0FBQyxHQUFHLENBQUMsK0JBQWMsQ0FBQyxVQUFVLENBQUMsRUFBRSxJQUFJLENBQUMsQ0FBQztJQUM5RixDQUFDO0lBRUQsU0FBUztJQUNULEtBQUssQ0FBQyxjQUFjLENBQUMsSUFBd0Q7UUFDekUsT0FBTyxJQUFJLENBQUMsYUFBYSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLEdBQUcsQ0FBQywrQkFBYyxDQUFDLGNBQWMsQ0FBQyxFQUFFLElBQUksQ0FBQyxDQUFDO0lBQ2xHLENBQUM7SUFFRCxRQUFRO0lBQ1IsS0FBSyxDQUFDLGlCQUFpQixDQUFDLElBTXZCO1FBQ0csT0FBTyxJQUFJLENBQUMsYUFBYSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLEdBQUcsQ0FBQywrQkFBYyxDQUFDLGlCQUFpQixDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUM7SUFDckcsQ0FBQztJQUVELE9BQU87SUFDUCxLQUFLLENBQUMsYUFBYSxDQUFDLElBQXdFO1FBQ3hGLE9BQU8sSUFBSSxDQUFDLGFBQWEsQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLGFBQWEsQ0FBQyxHQUFHLENBQUMsK0JBQWMsQ0FBQyxhQUFhLENBQUMsRUFBRSxJQUFJLENBQUMsQ0FBQztJQUNqRyxDQUFDO0lBRUQsUUFBUTtJQUNSLEtBQUssQ0FBQyx1QkFBdUIsQ0FBQyxJQUs3QjtRQUNHLE9BQU8sSUFBSSxDQUFDLGFBQWEsQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLGFBQWEsQ0FBQyxHQUFHLENBQUMsK0JBQWMsQ0FBQyx1QkFBdUIsQ0FBQyxFQUFFLElBQUksQ0FBQyxDQUFDO0lBQzNHLENBQUM7SUFFRCxRQUFRO0lBQ1IsS0FBSyxDQUFDLHFCQUFxQixDQUFDLElBTTNCO1FBQ0csT0FBTyxJQUFJLENBQUMsYUFBYSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLEdBQUcsQ0FBQywrQkFBYyxDQUFDLHFCQUFxQixDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUM7SUFDekcsQ0FBQztJQUVELE9BQU87SUFDUCxLQUFLLENBQUMsWUFBWSxDQUFDLElBQUk7UUFDbkIsT0FBTyxJQUFJLENBQUMsYUFBYSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLEdBQUcsQ0FBQywrQkFBYyxDQUFDLFlBQVksQ0FBQyxFQUFFLElBQUksQ0FBQyxDQUFDO0lBQ2hHLENBQUM7SUFFRCxPQUFPO0lBQ1AsS0FBSyxDQUFDLFlBQVksQ0FBQyxJQUF1QjtRQUN0QyxPQUFPLElBQUksQ0FBQyxhQUFhLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxhQUFhLENBQUMsR0FBRyxDQUFDLCtCQUFjLENBQUMsWUFBWSxDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUM7SUFDaEcsQ0FBQztJQUVELFVBQVU7SUFDVixLQUFLLENBQUMsV0FBVyxDQUFDLElBQUk7UUFDbEIsT0FBTyxJQUFJLENBQUMsYUFBYSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLEdBQUcsQ0FBQywrQkFBYyxDQUFDLFdBQVcsQ0FBQyxFQUFFLElBQUksQ0FBQyxDQUFDO0lBQy9GLENBQUM7SUFFRCxnQkFBZ0IsQ0FBQyxhQUE0QjtRQUN6QyxJQUFJLENBQUMsYUFBYSxHQUFHLGFBQWEsQ0FBQztJQUN2QyxDQUFDO0lBRUQsYUFBYSxDQUFDLEdBQVcsRUFBRSxHQUFXO1FBQ2xDLElBQUksQ0FBQyxhQUFhLENBQUMsR0FBRyxDQUFDLEdBQUcsRUFBRSxHQUFHLENBQUMsQ0FBQztJQUNyQyxDQUFDO0lBRUQsa0JBQWtCLENBQUMsTUFBc0M7UUFDckQsS0FBSyxJQUFJLEtBQUssSUFBSSxNQUFNLEVBQUUsQ0FBQztZQUN2QixJQUFJLENBQUMsYUFBYSxDQUFDLEtBQUssQ0FBQyxHQUFHLEVBQUUsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDO1FBQzdDLENBQUM7SUFDTCxDQUFDO0NBQ0o7QUEzRkQsOENBMkZDIn0=
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ContractStateMachine } from "./ContractStateMachine";
|
|
2
|
-
export declare abstract class ContractFsmHook {
|
|
3
|
-
csm: ContractStateMachine;
|
|
4
|
-
constructor(csm: ContractStateMachine);
|
|
5
|
-
doOnBeforeTransition(lifeCycle: any): Promise<void>;
|
|
6
|
-
doOnLeaveState(lifeCycle: any): Promise<void>;
|
|
7
|
-
doOnTransition(lifeCycle: any): Promise<boolean>;
|
|
8
|
-
doOnEnterState(lifeCycle: any): Promise<void>;
|
|
9
|
-
doOnAfterTransition(lifeCycle: any): Promise<void>;
|
|
10
|
-
doOnInvalidTransition(lifeCycle: any): Promise<void>;
|
|
11
|
-
getCurrentInfo(): Promise<{
|
|
12
|
-
state: any;
|
|
13
|
-
transitions: any;
|
|
14
|
-
initEventNameList: string[];
|
|
15
|
-
policyInfoResult: import("../helper/PolicyHelper").PolicyInfoResult;
|
|
16
|
-
}>;
|
|
17
|
-
}
|