monkey-front-core 0.0.359 → 0.0.361
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/services/commons/monkeyecx-commons.service.mjs +7 -1
- package/esm2020/lib/core/services/pagination/monkeyecx-pagination.service.mjs +5 -1
- package/fesm2015/monkey-front-core.mjs +10 -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/monkey-front-core-0.0.361.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.359.tgz +0 -0
|
@@ -2772,9 +2772,13 @@ class MonkeyEcxCommonsService {
|
|
|
2772
2772
|
return arg.country === arg.envCountry;
|
|
2773
2773
|
}
|
|
2774
2774
|
handlePaginationOptions() {
|
|
2775
|
+
console.log('core ==> handlePaginationOptions');
|
|
2775
2776
|
const { __paginationOptions } = this;
|
|
2776
2777
|
if (__paginationOptions) {
|
|
2778
|
+
console.log('__paginationOptions');
|
|
2779
|
+
console.log(__paginationOptions);
|
|
2777
2780
|
const { service, callback, name } = __paginationOptions;
|
|
2781
|
+
console.log(service, callback, name);
|
|
2778
2782
|
service?.setCallback((type) => {
|
|
2779
2783
|
this.doPaginationv2(type, callback);
|
|
2780
2784
|
}, name || 'main');
|
|
@@ -2868,7 +2872,9 @@ class MonkeyEcxCommonsService {
|
|
|
2868
2872
|
this.__callbackPagination = otherArgs.callbackPagination;
|
|
2869
2873
|
}
|
|
2870
2874
|
if (otherArgs?.paginationOptions) {
|
|
2875
|
+
console.log('core => veio pagination options');
|
|
2871
2876
|
this.__paginationOptions = otherArgs?.paginationOptions;
|
|
2877
|
+
console.log(this.__paginationOptions);
|
|
2872
2878
|
this.handlePaginationOptions();
|
|
2873
2879
|
}
|
|
2874
2880
|
if (otherArgs?.feature) {
|
|
@@ -4576,8 +4582,12 @@ class MonkeyEcxPaginationService {
|
|
|
4576
4582
|
};
|
|
4577
4583
|
}
|
|
4578
4584
|
execute(type, name = 'main') {
|
|
4585
|
+
console.log('core => execute pagination');
|
|
4579
4586
|
const { callbacks } = this;
|
|
4587
|
+
console.log(callbacks);
|
|
4588
|
+
console.log(type, name);
|
|
4580
4589
|
const callback = callbacks?.[name];
|
|
4590
|
+
console.log(callback);
|
|
4581
4591
|
if (callback)
|
|
4582
4592
|
callback(type);
|
|
4583
4593
|
}
|