monkey-front-core 0.0.362 → 0.0.363
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 +1 -7
- package/esm2020/lib/core/services/pagination/monkeyecx-pagination.service.mjs +1 -11
- package/fesm2015/monkey-front-core.mjs +0 -16
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +0 -16
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.363.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.362.tgz +0 -0
|
@@ -2772,13 +2772,9 @@ class MonkeyEcxCommonsService {
|
|
|
2772
2772
|
return arg.country === arg.envCountry;
|
|
2773
2773
|
}
|
|
2774
2774
|
handlePaginationOptions() {
|
|
2775
|
-
console.log('core ==> handlePaginationOptions');
|
|
2776
2775
|
const { __paginationOptions } = this;
|
|
2777
2776
|
if (__paginationOptions) {
|
|
2778
|
-
console.log('__paginationOptions');
|
|
2779
|
-
console.log(__paginationOptions);
|
|
2780
2777
|
const { service, callback, name } = __paginationOptions;
|
|
2781
|
-
console.log(service, callback, name);
|
|
2782
2778
|
service?.setCallback((type) => {
|
|
2783
2779
|
this.doPaginationv2(type, callback);
|
|
2784
2780
|
}, name || 'main');
|
|
@@ -2872,9 +2868,7 @@ class MonkeyEcxCommonsService {
|
|
|
2872
2868
|
this.__callbackPagination = otherArgs.callbackPagination;
|
|
2873
2869
|
}
|
|
2874
2870
|
if (otherArgs?.paginationOptions) {
|
|
2875
|
-
console.log('core => veio pagination options');
|
|
2876
2871
|
this.__paginationOptions = otherArgs?.paginationOptions;
|
|
2877
|
-
console.log(this.__paginationOptions);
|
|
2878
2872
|
this.handlePaginationOptions();
|
|
2879
2873
|
}
|
|
2880
2874
|
if (otherArgs?.feature) {
|
|
@@ -4577,24 +4571,14 @@ class MonkeyEcxPaginationService {
|
|
|
4577
4571
|
// not to do
|
|
4578
4572
|
}
|
|
4579
4573
|
setCallback(callback, name = 'main') {
|
|
4580
|
-
console.log('this.callbacks');
|
|
4581
|
-
console.log(this.callbacks);
|
|
4582
|
-
console.log('name');
|
|
4583
|
-
console.log(name);
|
|
4584
|
-
console.log('callback');
|
|
4585
|
-
console.log(callback);
|
|
4586
4574
|
this.callbacks = {
|
|
4587
4575
|
...this.callbacks,
|
|
4588
4576
|
[name]: callback
|
|
4589
4577
|
};
|
|
4590
4578
|
}
|
|
4591
4579
|
execute(type, name = 'main') {
|
|
4592
|
-
console.log('core => execute pagination');
|
|
4593
4580
|
const { callbacks } = this;
|
|
4594
|
-
console.log(callbacks);
|
|
4595
|
-
console.log(type, name);
|
|
4596
4581
|
const callback = callbacks?.[name];
|
|
4597
|
-
console.log(callback);
|
|
4598
4582
|
if (callback)
|
|
4599
4583
|
callback(type);
|
|
4600
4584
|
}
|