wt-front-shared 1.0.72 → 1.0.73
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/+state/main/main.effects.mjs +13 -6
- package/esm2020/lib/models/config/app-config.mjs +1 -1
- package/fesm2015/wt-front-shared.mjs +12 -4
- package/fesm2015/wt-front-shared.mjs.map +1 -1
- package/fesm2020/wt-front-shared.mjs +10 -4
- package/fesm2020/wt-front-shared.mjs.map +1 -1
- package/lib/core/+state/main/main.effects.d.ts +3 -1
- package/lib/models/config/app-config.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3793,19 +3793,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3793
3793
|
}], ctorParameters: function () { return [{ type: i1$2.Actions }, { type: i1.Store }, { type: UiUnitsFacade }]; } });
|
|
3794
3794
|
|
|
3795
3795
|
class MainEffects {
|
|
3796
|
-
constructor(actions$, store) {
|
|
3796
|
+
constructor(actions$, store, config) {
|
|
3797
3797
|
this.actions$ = actions$;
|
|
3798
3798
|
this.store = store;
|
|
3799
|
+
this.config = config;
|
|
3799
3800
|
this.notificationAdd$ = createEffect(() => this.actions$.pipe(tap((action) => {
|
|
3800
|
-
|
|
3801
|
+
if (this.config.env === 'develop') {
|
|
3802
|
+
console.info('[ action ]', action.type);
|
|
3803
|
+
}
|
|
3801
3804
|
})), { dispatch: false });
|
|
3802
3805
|
}
|
|
3803
3806
|
}
|
|
3804
|
-
MainEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MainEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3807
|
+
MainEffects.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MainEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: CORE_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3805
3808
|
MainEffects.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MainEffects });
|
|
3806
3809
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MainEffects, decorators: [{
|
|
3807
3810
|
type: Injectable
|
|
3808
|
-
}], ctorParameters: function () { return [{ type: i1$2.Actions }, { type: i1.Store }
|
|
3811
|
+
}], ctorParameters: function () { return [{ type: i1$2.Actions }, { type: i1.Store }, { type: undefined, decorators: [{
|
|
3812
|
+
type: Inject,
|
|
3813
|
+
args: [CORE_CONFIG]
|
|
3814
|
+
}] }]; } });
|
|
3809
3815
|
|
|
3810
3816
|
const TAGS_FEATURE_KEY = 'tags';
|
|
3811
3817
|
const initialState$8 = {
|