@o3r/rules-engine 12.1.0-prerelease.7 → 12.1.0-prerelease.71
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/builders/rules-engine-extractor/index.d.ts +1 -1
- package/engine/operator/operators/date-based.operators.d.ts +3 -3
- package/engine/operator/operators/date-based.operators.d.ts.map +1 -1
- package/engine/operator/operators/index.d.ts +1 -1
- package/engine/operator/operators/index.d.ts.map +1 -1
- package/engine/operator/operators/number-based.operators.d.ts +5 -5
- package/engine/operator/operators/number-based.operators.d.ts.map +1 -1
- package/fesm2022/o3r-rules-engine.mjs +59 -59
- package/fesm2022/o3r-rules-engine.mjs.map +1 -1
- package/package.json +10 -6
- package/rules.operators.metadata.json +4 -10
- package/schematics/cms-adapter/index.d.ts +1 -3
- package/schematics/cms-adapter/index.d.ts.map +1 -1
- package/schematics/cms-adapter/index.js +1 -1
- package/schematics/facts-service/index.d.ts +1 -2
- package/schematics/facts-service/index.d.ts.map +1 -1
- package/schematics/facts-service/index.js +1 -1
- package/schematics/ng-add/index.d.ts.map +1 -1
- package/schematics/ng-add/index.js +2 -2
- package/schematics/ng-add/schema.json +1 -2
- package/schematics/ng-update/index.d.ts +2 -2
- package/schematics/ng-update/index.d.ts.map +1 -1
- package/schematics/ng-update/index.js +2 -2
- package/schematics/operator/index.d.ts +1 -2
- package/schematics/operator/index.d.ts.map +1 -1
- package/schematics/operator/index.js +1 -1
- package/schematics/rules-engine-to-component/index.d.ts +1 -2
- package/schematics/rules-engine-to-component/index.d.ts.map +1 -1
- package/schematics/rules-engine-to-component/index.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@o3r/rules-engine",
|
|
3
|
-
"version": "12.1.0-prerelease.
|
|
3
|
+
"version": "12.1.0-prerelease.71",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
"./schemas/*.json": {
|
|
20
20
|
"default": "./schemas/*.json"
|
|
21
21
|
},
|
|
22
|
+
"./builders/*": {
|
|
23
|
+
"types": "./builders/*.d.ts",
|
|
24
|
+
"default": "./builders/*"
|
|
25
|
+
},
|
|
22
26
|
".": {
|
|
23
27
|
"types": "./index.d.ts",
|
|
24
28
|
"default": "./fesm2022/o3r-rules-engine.mjs"
|
|
@@ -33,7 +37,7 @@
|
|
|
33
37
|
}
|
|
34
38
|
},
|
|
35
39
|
"peerDependencies": {
|
|
36
|
-
"@angular-devkit/architect": "
|
|
40
|
+
"@angular-devkit/architect": ">=0.1900.0 <0.2000.0-0",
|
|
37
41
|
"@angular-devkit/core": "^19.0.0",
|
|
38
42
|
"@angular-devkit/schematics": "^19.0.0",
|
|
39
43
|
"@angular/common": "^19.0.0",
|
|
@@ -44,10 +48,10 @@
|
|
|
44
48
|
"@ngrx/entity": "^19.0.0",
|
|
45
49
|
"@ngrx/store": "^19.0.0",
|
|
46
50
|
"@ngx-translate/core": "~16.0.4",
|
|
47
|
-
"@o3r/core": "^12.1.0-prerelease.
|
|
48
|
-
"@o3r/extractors": "^12.1.0-prerelease.
|
|
49
|
-
"@o3r/logger": "^12.1.0-prerelease.
|
|
50
|
-
"@o3r/schematics": "^12.1.0-prerelease.
|
|
51
|
+
"@o3r/core": "^12.1.0-prerelease.71",
|
|
52
|
+
"@o3r/extractors": "^12.1.0-prerelease.71",
|
|
53
|
+
"@o3r/logger": "^12.1.0-prerelease.71",
|
|
54
|
+
"@o3r/schematics": "^12.1.0-prerelease.71",
|
|
51
55
|
"@schematics/angular": "^19.0.0",
|
|
52
56
|
"globby": "^11.1.0",
|
|
53
57
|
"jasmine": "^5.0.0",
|
|
@@ -679,7 +679,6 @@
|
|
|
679
679
|
],
|
|
680
680
|
"rightOperand": {
|
|
681
681
|
"types": [
|
|
682
|
-
"string",
|
|
683
682
|
"number"
|
|
684
683
|
],
|
|
685
684
|
"nbValues": 1
|
|
@@ -700,7 +699,6 @@
|
|
|
700
699
|
],
|
|
701
700
|
"rightOperand": {
|
|
702
701
|
"types": [
|
|
703
|
-
"string",
|
|
704
702
|
"number"
|
|
705
703
|
],
|
|
706
704
|
"nbValues": 1
|
|
@@ -794,8 +792,7 @@
|
|
|
794
792
|
},
|
|
795
793
|
"rightOperand": {
|
|
796
794
|
"types": [
|
|
797
|
-
"number"
|
|
798
|
-
"string"
|
|
795
|
+
"number"
|
|
799
796
|
],
|
|
800
797
|
"nbValues": 1
|
|
801
798
|
}
|
|
@@ -812,8 +809,7 @@
|
|
|
812
809
|
},
|
|
813
810
|
"rightOperand": {
|
|
814
811
|
"types": [
|
|
815
|
-
"number"
|
|
816
|
-
"string"
|
|
812
|
+
"number"
|
|
817
813
|
],
|
|
818
814
|
"nbValues": 1
|
|
819
815
|
}
|
|
@@ -830,8 +826,7 @@
|
|
|
830
826
|
},
|
|
831
827
|
"rightOperand": {
|
|
832
828
|
"types": [
|
|
833
|
-
"number"
|
|
834
|
-
"string"
|
|
829
|
+
"number"
|
|
835
830
|
],
|
|
836
831
|
"nbValues": 1
|
|
837
832
|
}
|
|
@@ -848,8 +843,7 @@
|
|
|
848
843
|
},
|
|
849
844
|
"rightOperand": {
|
|
850
845
|
"types": [
|
|
851
|
-
"number"
|
|
852
|
-
"string"
|
|
846
|
+
"number"
|
|
853
847
|
],
|
|
854
848
|
"nbValues": 1
|
|
855
849
|
}
|
|
@@ -4,7 +4,5 @@ import { Rule } from '@angular-devkit/schematics';
|
|
|
4
4
|
* @param options @see RuleFactory.options
|
|
5
5
|
* @param options.projectName
|
|
6
6
|
*/
|
|
7
|
-
export declare const updateCmsAdapter: (options:
|
|
8
|
-
projectName?: string | undefined;
|
|
9
|
-
}) => Rule;
|
|
7
|
+
export declare const updateCmsAdapter: (options: any) => Rule;
|
|
10
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/cms-adapter/index.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,IAAI,EAGL,MAAM,4BAA4B,CAAC;AAiFpC;;;;GAIG;AACH,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/cms-adapter/index.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,IAAI,EAGL,MAAM,4BAA4B,CAAC;AAiFpC;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,wBAA2C,CAAC"}
|
|
@@ -72,5 +72,5 @@ function updateCmsAdapterFn(options) {
|
|
|
72
72
|
* @param options @see RuleFactory.options
|
|
73
73
|
* @param options.projectName
|
|
74
74
|
*/
|
|
75
|
-
exports.updateCmsAdapter = (0, schematics_2.
|
|
75
|
+
exports.updateCmsAdapter = (0, schematics_2.createOtterSchematic)(updateCmsAdapterFn);
|
|
76
76
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Rule } from '@angular-devkit/schematics';
|
|
2
|
-
import { NgGenerateFactsServiceSchematicsSchema } from './schema';
|
|
3
2
|
/**
|
|
4
3
|
* Generate the facts service
|
|
5
4
|
* @param options
|
|
6
5
|
*/
|
|
7
|
-
export declare const ngGenerateFactsService: (options:
|
|
6
|
+
export declare const ngGenerateFactsService: (options: any) => Rule;
|
|
8
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/facts-service/index.ts"],"names":[],"mappings":"AAKA,OAAO,EASL,IAAI,EAGL,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/facts-service/index.ts"],"names":[],"mappings":"AAKA,OAAO,EASL,IAAI,EAGL,MAAM,4BAA4B,CAAC;AAiEpC;;;GAGG;AACH,eAAO,MAAM,sBAAsB,wBAAiD,CAAC"}
|
|
@@ -60,5 +60,5 @@ function ngGenerateFactsServiceFn(options) {
|
|
|
60
60
|
* Generate the facts service
|
|
61
61
|
* @param options
|
|
62
62
|
*/
|
|
63
|
-
exports.ngGenerateFactsService = (0, schematics_2.
|
|
63
|
+
exports.ngGenerateFactsService = (0, schematics_2.createOtterSchematic)(ngGenerateFactsServiceFn);
|
|
64
64
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,IAAI,EACV,MAAM,4BAA4B,CAAC;AAcpC,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAiHlB;;;GAGG;AACH,eAAO,MAAM,KAAK,YAAa,qBAAqB,KAAG,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,IAAI,EACV,MAAM,4BAA4B,CAAC;AAcpC,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAiHlB;;;GAGG;AACH,eAAO,MAAM,KAAK,YAAa,qBAAqB,KAAG,IAKtD,CAAC"}
|
|
@@ -96,8 +96,8 @@ function ngAddFn(options) {
|
|
|
96
96
|
* @param options
|
|
97
97
|
*/
|
|
98
98
|
const ngAdd = (options) => async (_, { logger }) => {
|
|
99
|
-
const {
|
|
100
|
-
return
|
|
99
|
+
const { createOtterSchematic } = await Promise.resolve().then(() => tslib_1.__importStar(require('@o3r/schematics'))).catch(reportMissingSchematicsDep(logger));
|
|
100
|
+
return createOtterSchematic(ngAddFn)(options);
|
|
101
101
|
};
|
|
102
102
|
exports.ngAdd = ngAdd;
|
|
103
103
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,9 +2,9 @@ import { Rule } from '@angular-devkit/schematics';
|
|
|
2
2
|
/**
|
|
3
3
|
* update of Otter library V10.0
|
|
4
4
|
*/
|
|
5
|
-
export declare const updateV100: (options:
|
|
5
|
+
export declare const updateV100: (options: any) => Rule;
|
|
6
6
|
/**
|
|
7
7
|
* Update of Otter library V11.6
|
|
8
8
|
*/
|
|
9
|
-
export declare const updateV116: (options:
|
|
9
|
+
export declare const updateV116: (options: any) => Rule;
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-update/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,IAAI,EACL,MAAM,4BAA4B,CAAC;AAyBpC;;GAEG;AACH,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-update/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,IAAI,EACL,MAAM,4BAA4B,CAAC;AAyBpC;;GAEG;AACH,eAAO,MAAM,UAAU,wBAAqC,CAAC;AAQ7D;;GAEG;AACH,eAAO,MAAM,UAAU,wBAAqC,CAAC"}
|
|
@@ -20,7 +20,7 @@ function updateV100Fn() {
|
|
|
20
20
|
/**
|
|
21
21
|
* update of Otter library V10.0
|
|
22
22
|
*/
|
|
23
|
-
exports.updateV100 = (0, schematics_2.
|
|
23
|
+
exports.updateV100 = (0, schematics_2.createOtterSchematic)(updateV100Fn);
|
|
24
24
|
function updateV116Fn() {
|
|
25
25
|
return (0, schematics_1.chain)([
|
|
26
26
|
use_register_action_handlers_1.useRegisterActionHandlers
|
|
@@ -29,5 +29,5 @@ function updateV116Fn() {
|
|
|
29
29
|
/**
|
|
30
30
|
* Update of Otter library V11.6
|
|
31
31
|
*/
|
|
32
|
-
exports.updateV116 = (0, schematics_2.
|
|
32
|
+
exports.updateV116 = (0, schematics_2.createOtterSchematic)(updateV116Fn);
|
|
33
33
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Rule } from '@angular-devkit/schematics';
|
|
2
|
-
import type { NgGenerateOperatorSchematicsSchema } from './schema';
|
|
3
2
|
/**
|
|
4
3
|
* Generate the operator
|
|
5
4
|
* @param options
|
|
6
5
|
*/
|
|
7
|
-
export declare const ngGenerateOperator: (options:
|
|
6
|
+
export declare const ngGenerateOperator: (options: any) => Rule;
|
|
8
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/operator/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAQL,IAAI,EAGL,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/operator/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAQL,IAAI,EAGL,MAAM,4BAA4B,CAAC;AAsCpC;;;GAGG;AACH,eAAO,MAAM,kBAAkB,wBAA6C,CAAC"}
|
|
@@ -37,5 +37,5 @@ function ngGenerateOperatorFn(options) {
|
|
|
37
37
|
* Generate the operator
|
|
38
38
|
* @param options
|
|
39
39
|
*/
|
|
40
|
-
exports.ngGenerateOperator = (0, schematics_2.
|
|
40
|
+
exports.ngGenerateOperator = (0, schematics_2.createOtterSchematic)(ngGenerateOperatorFn);
|
|
41
41
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { Rule } from '@angular-devkit/schematics';
|
|
2
|
-
import { NgGenerateRulesEngineToComponentSchematicsSchema } from './schema';
|
|
3
2
|
/**
|
|
4
3
|
* Generate the code to enable rules-engine on a component
|
|
5
4
|
* @param options
|
|
6
5
|
*/
|
|
7
|
-
export declare const ngGenerateRulesEngineToComponent: (options:
|
|
6
|
+
export declare const ngGenerateRulesEngineToComponent: (options: any) => Rule;
|
|
8
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/rules-engine-to-component/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,IAAI,EAEL,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/rules-engine-to-component/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,IAAI,EAEL,MAAM,4BAA4B,CAAC;AA+MpC;;;GAGG;AACH,eAAO,MAAM,gCAAgC,wBAA2D,CAAC"}
|
|
@@ -130,5 +130,5 @@ function ngGenerateRulesEngineToComponentFn(options) {
|
|
|
130
130
|
* Generate the code to enable rules-engine on a component
|
|
131
131
|
* @param options
|
|
132
132
|
*/
|
|
133
|
-
exports.ngGenerateRulesEngineToComponent = (0, schematics_2.
|
|
133
|
+
exports.ngGenerateRulesEngineToComponent = (0, schematics_2.createOtterSchematic)(ngGenerateRulesEngineToComponentFn);
|
|
134
134
|
//# sourceMappingURL=index.js.map
|