monkey-front-core 0.0.504 → 0.0.506
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/config/monkeyecx-alerts-config.service.mjs +2 -1
- package/esm2020/lib/core/services/config/monkeyecx-service-worker-config.service.mjs +5 -3
- package/esm2020/lib/core/services/store/monkeyecx-store.service.mjs +3 -2
- package/fesm2015/monkey-front-core.mjs +7 -3
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +7 -3
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/services/config/monkeyecx-service-worker-config.service.d.ts +2 -2
- package/monkey-front-core-0.0.506.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.504.tgz +0 -0
|
@@ -3644,7 +3644,9 @@ class MonkeyEcxServiceWorkerConfigService {
|
|
|
3644
3644
|
document.location.reload();
|
|
3645
3645
|
}
|
|
3646
3646
|
else {
|
|
3647
|
+
modalService.closeAll();
|
|
3647
3648
|
modalService.open(VersionChangedComponent, {
|
|
3649
|
+
hideClose: true,
|
|
3648
3650
|
color: 'theme',
|
|
3649
3651
|
size: 'md'
|
|
3650
3652
|
});
|
|
@@ -3667,14 +3669,14 @@ class MonkeyEcxServiceWorkerConfigService {
|
|
|
3667
3669
|
this.verify();
|
|
3668
3670
|
}
|
|
3669
3671
|
}
|
|
3670
|
-
MonkeyEcxServiceWorkerConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, deps: [{ token: i0.ApplicationRef }, { token: i1$4.SwUpdate }, { token: i1.
|
|
3672
|
+
MonkeyEcxServiceWorkerConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, deps: [{ token: i0.ApplicationRef }, { token: i1$4.SwUpdate }, { token: i1.MonkeyStyleGuideModalFixedService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3671
3673
|
MonkeyEcxServiceWorkerConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, providedIn: 'root' });
|
|
3672
3674
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxServiceWorkerConfigService, decorators: [{
|
|
3673
3675
|
type: Injectable,
|
|
3674
3676
|
args: [{
|
|
3675
3677
|
providedIn: 'root'
|
|
3676
3678
|
}]
|
|
3677
|
-
}], ctorParameters: function () { return [{ type: i0.ApplicationRef }, { type: i1$4.SwUpdate }, { type: i1.
|
|
3679
|
+
}], ctorParameters: function () { return [{ type: i0.ApplicationRef }, { type: i1$4.SwUpdate }, { type: i1.MonkeyStyleGuideModalFixedService }]; } });
|
|
3678
3680
|
|
|
3679
3681
|
/* eslint-disable no-console */
|
|
3680
3682
|
class MonkeyEcxSecurityConsoleConfigService extends MonkeyEcxCommonsService {
|
|
@@ -3881,6 +3883,7 @@ class MonkeyEcxAlertsConfigService {
|
|
|
3881
3883
|
const { img, title, message, endDate, noEndDate, action, hideClose } = config.alert;
|
|
3882
3884
|
if (moment.default().isSameOrBefore(moment.default(endDate)) || noEndDate) {
|
|
3883
3885
|
this.modalService.open(AlertsComponent, {
|
|
3886
|
+
hideClose: true,
|
|
3884
3887
|
color: 'theme',
|
|
3885
3888
|
size: 'md',
|
|
3886
3889
|
data: {
|
|
@@ -6091,11 +6094,12 @@ class MonkeyEcxCommonsStoreService extends MonkeyEcxCommonsService {
|
|
|
6091
6094
|
try {
|
|
6092
6095
|
const data = await this.monkeyecxService?.get(url).toPromise();
|
|
6093
6096
|
this.handleResponseData(data, identifier, updateLinks);
|
|
6097
|
+
this.updateControl({ isLoading: false });
|
|
6094
6098
|
}
|
|
6095
6099
|
catch (e) {
|
|
6100
|
+
this.updateControl({ isLoading: false });
|
|
6096
6101
|
throw new Error(`${e?.message}`);
|
|
6097
6102
|
}
|
|
6098
|
-
this.updateControl({ isLoading: false });
|
|
6099
6103
|
}
|
|
6100
6104
|
async loadPageData(pagination, identifier) {
|
|
6101
6105
|
const { store, selector } = this;
|