monkey-front-core 0.0.178 → 0.0.181
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/esm2020/lib/core/interfaces/index.mjs +2 -1
- package/esm2020/lib/core/interfaces/monkeyecx-filter.mjs +2 -0
- package/esm2020/lib/core/specification-search/monkeyecx-specification-search.mjs +11 -1
- package/fesm2015/monkey-front-core.mjs +11 -0
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +10 -0
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/interfaces/index.d.ts +1 -0
- package/lib/core/interfaces/monkeyecx-filter.d.ts +24 -0
- package/lib/core/specification-search/monkeyecx-specification-search.d.ts +3 -1
- package/monkey-front-core-0.0.181.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.178.tgz +0 -0
|
@@ -4706,6 +4706,7 @@ var OpSearch;
|
|
|
4706
4706
|
OpSearch["LT"] = "<:value";
|
|
4707
4707
|
OpSearch["EQUAL"] = "::value";
|
|
4708
4708
|
OpSearch["IN"] = " IN :value";
|
|
4709
|
+
OpSearch["NOT"] = " !:value";
|
|
4709
4710
|
})(OpSearch || (OpSearch = {}));
|
|
4710
4711
|
class MonkeyEcxSpecificationSearch {
|
|
4711
4712
|
constructor() {
|
|
@@ -4790,6 +4791,15 @@ class MonkeyEcxSpecificationSearch {
|
|
|
4790
4791
|
throw new Error(`MonkeyEcxSpecificationSearch Error ${e}`);
|
|
4791
4792
|
}
|
|
4792
4793
|
}
|
|
4794
|
+
handleFieldSeparatedBy(field, signal = ',', op = OpSearch.EQUAL) {
|
|
4795
|
+
return this[field]?.split(signal)?.map((_) => {
|
|
4796
|
+
return {
|
|
4797
|
+
[field]: {
|
|
4798
|
+
[op]: _
|
|
4799
|
+
}
|
|
4800
|
+
};
|
|
4801
|
+
});
|
|
4802
|
+
}
|
|
4793
4803
|
}
|
|
4794
4804
|
|
|
4795
4805
|
class MonkeyFrontCoreModule {
|