monkey-front-core 0.0.177 → 0.0.180
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/services/config/monkeyecx-i18n-config.service.mjs +2 -3
- package/esm2020/lib/core/specification-search/monkeyecx-specification-search.mjs +10 -1
- package/fesm2015/monkey-front-core.mjs +11 -2
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +10 -2
- 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 +1 -0
- package/monkey-front-core-0.0.180.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.177.tgz +0 -0
|
@@ -2730,10 +2730,9 @@ class MonkeyEcxi18nConfigService extends MonkeyEcxCommonsService {
|
|
|
2730
2730
|
EXTERNAL: externali18n
|
|
2731
2731
|
};
|
|
2732
2732
|
}
|
|
2733
|
+
this.translateService.setTranslation('pt-BR', data, true);
|
|
2733
2734
|
this.translateService.setTranslation(lang, data, true);
|
|
2734
2735
|
this.translateService.use(lang);
|
|
2735
|
-
if (change)
|
|
2736
|
-
document.location.reload();
|
|
2737
2736
|
}, (err) => {
|
|
2738
2737
|
console.error(`i18n ${i18n?.lang} not found!`);
|
|
2739
2738
|
monkeyecxErrorConfigService.apply('i18n');
|
|
@@ -4791,6 +4790,15 @@ class MonkeyEcxSpecificationSearch {
|
|
|
4791
4790
|
throw new Error(`MonkeyEcxSpecificationSearch Error ${e}`);
|
|
4792
4791
|
}
|
|
4793
4792
|
}
|
|
4793
|
+
handleFieldSeparatedBy(field, signal = ',', op = OpSearch.EQUAL) {
|
|
4794
|
+
return this[field]?.split(signal)?.map((_) => {
|
|
4795
|
+
return {
|
|
4796
|
+
[field]: {
|
|
4797
|
+
[op]: _
|
|
4798
|
+
}
|
|
4799
|
+
};
|
|
4800
|
+
});
|
|
4801
|
+
}
|
|
4794
4802
|
}
|
|
4795
4803
|
|
|
4796
4804
|
class MonkeyFrontCoreModule {
|