@o3r/rules-engine 13.0.0-next.0 → 13.0.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@o3r/rules-engine",
|
|
3
|
-
"version": "13.0.0-next.
|
|
3
|
+
"version": "13.0.0-next.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"@ngrx/entity": "^19.0.0",
|
|
52
52
|
"@ngrx/store": "^19.0.0",
|
|
53
53
|
"@ngx-translate/core": "~16.0.4",
|
|
54
|
-
"@o3r/core": "^13.0.0-next.
|
|
55
|
-
"@o3r/extractors": "^13.0.0-next.
|
|
56
|
-
"@o3r/logger": "^13.0.0-next.
|
|
57
|
-
"@o3r/schematics": "^13.0.0-next.
|
|
54
|
+
"@o3r/core": "^13.0.0-next.2",
|
|
55
|
+
"@o3r/extractors": "^13.0.0-next.2",
|
|
56
|
+
"@o3r/logger": "^13.0.0-next.2",
|
|
57
|
+
"@o3r/schematics": "^13.0.0-next.2",
|
|
58
58
|
"@schematics/angular": "^19.0.0",
|
|
59
59
|
"globby": "^11.1.0",
|
|
60
60
|
"jasmine": "^5.0.0",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
"dependencies": {
|
|
105
|
-
"@o3r/schematics": "^13.0.0-next.
|
|
105
|
+
"@o3r/schematics": "^13.0.0-next.2",
|
|
106
106
|
"tslib": "^2.6.2"
|
|
107
107
|
},
|
|
108
108
|
"engines": {
|
|
@@ -12,6 +12,8 @@ export declare class RulesEngineRunnerService {
|
|
|
12
12
|
private readonly logger;
|
|
13
13
|
/** Rulesets to restrict the execution of the engine */
|
|
14
14
|
protected ruleSets$: Observable<string[] | undefined>;
|
|
15
|
+
/** List of action handlers */
|
|
16
|
+
protected readonly actionHandlers: Set<RulesEngineActionHandler<import("@o3r/core").RulesEngineAction<string, any>>>;
|
|
15
17
|
/** Observable of component linked to the component */
|
|
16
18
|
protected linkedComponents$: BehaviorSubject<{
|
|
17
19
|
[key: string]: number;
|
|
@@ -22,11 +24,6 @@ export declare class RulesEngineRunnerService {
|
|
|
22
24
|
events$: Observable<ActionBlock[]>;
|
|
23
25
|
/** Enable action execution on new state change */
|
|
24
26
|
enabled: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* List of action handlers
|
|
27
|
-
* @deprecated will become protected in Otter v13, instead use {@link registerActionHandlers}
|
|
28
|
-
*/
|
|
29
|
-
readonly actionHandlers: Set<RulesEngineActionHandler<import("@o3r/core").RulesEngineAction<string, any>>>;
|
|
30
27
|
constructor(store: Store<RulesetsStore>, logger: LoggerService, engineConfig?: RulesEngineServiceOptions);
|
|
31
28
|
/**
|
|
32
29
|
* Execute the list of actions
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules-engine.runner.service.d.ts","sourceRoot":"","sources":["../../../src/services/runner/rules-engine.runner.service.ts"],"names":[],"mappings":"AAQA,OAAO,EAEL,KAAK,EACN,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACV,wBAAwB,EACzB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,aAAa,EACd,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,eAAe,EAEf,UAAU,EACX,MAAM,MAAM,CAAC;AAOd,OAAO,KAAK,EACV,WAAW,EACX,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,aAAa,EACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAGL,WAAW,EACZ,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EACV,aAAa,EACd,MAAM,cAAc,CAAC;AAOtB,OAAO,EAEL,yBAAyB,EAC1B,MAAM,uBAAuB,CAAC;;AAE/B,qBACa,wBAAwB;
|
|
1
|
+
{"version":3,"file":"rules-engine.runner.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