wt-front-shared 1.0.24 → 1.0.26
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/README.md +6 -6
- package/esm2020/lib/core/+state/actions/actions.effects.mjs +2 -6
- package/esm2020/lib/core/+state/actions/actions.facade.mjs +2 -2
- package/esm2020/lib/core/+state/actions/actions.reducer.mjs +2 -7
- package/esm2020/lib/core/+state/actions/actions.selectors.mjs +1 -1
- package/esm2020/lib/core/+state/actions/constants.mjs +7 -0
- package/esm2020/lib/core/+state/cache-data/cache-data.effects.mjs +2 -5
- package/esm2020/lib/core/+state/cache-data/cache-data.facade.mjs +2 -2
- package/esm2020/lib/core/+state/core.facade.mjs +2 -2
- package/esm2020/lib/core/+state/files/files.effects.mjs +2 -6
- package/esm2020/lib/core/+state/files/files.facade.mjs +2 -2
- package/esm2020/lib/core/+state/form-delete-file/form-delete-file.effects.mjs +2 -5
- package/esm2020/lib/core/+state/form-delete-file/form-delete-file.facade.mjs +1 -2
- package/esm2020/lib/core/+state/form-errors/form-errors.effects.mjs +1 -3
- package/esm2020/lib/core/+state/form-errors/form-errors.facade.mjs +2 -2
- package/esm2020/lib/core/+state/form-validation/form-validation.effects.mjs +2 -5
- package/esm2020/lib/core/+state/form-validation/form-validation.facade.mjs +2 -2
- package/esm2020/lib/core/+state/forms/forms.effects.mjs +2 -4
- package/esm2020/lib/core/+state/forms/forms.facade.mjs +2 -2
- package/esm2020/lib/core/+state/index.mjs +7 -45
- package/esm2020/lib/core/+state/main/main.effects.mjs +2 -3
- package/esm2020/lib/core/+state/main/main.facade.mjs +2 -2
- package/esm2020/lib/core/+state/notifications/notifications.effects.mjs +2 -6
- package/esm2020/lib/core/+state/notifications/notifications.facade.mjs +1 -2
- package/esm2020/lib/core/+state/publication-messages/publication-messages.effects.mjs +2 -5
- package/esm2020/lib/core/+state/publication-messages/publication-messages.facade.mjs +2 -2
- package/esm2020/lib/core/+state/reports/reports.effects.mjs +2 -5
- package/esm2020/lib/core/+state/reports/reports.facade.mjs +2 -2
- package/esm2020/lib/core/+state/requests/requests.effects.mjs +27 -0
- package/esm2020/lib/core/+state/requests/requests.facade.mjs +2 -2
- package/esm2020/lib/core/+state/router/router.effects.mjs +2 -5
- package/esm2020/lib/core/+state/router/router.facade.mjs +1 -2
- package/esm2020/lib/core/+state/static-data/constans.mjs +6 -0
- package/esm2020/lib/core/+state/static-data/static-data.effects.mjs +2 -7
- package/esm2020/lib/core/+state/static-data/static-data.facade.mjs +2 -2
- package/esm2020/lib/core/+state/tags/tags.effects.mjs +2 -5
- package/esm2020/lib/core/+state/tags/tags.facade.mjs +2 -2
- package/esm2020/lib/core/+state/uiUnits/uiUnits.effects.mjs +1 -4
- package/esm2020/lib/core/+state/uiUnits/uiUnits.facade.mjs +2 -2
- package/esm2020/lib/core/+state/update-entities/update-entities.effects.mjs +3 -3
- package/esm2020/lib/core/+state/users/users.effects.mjs +5 -10
- package/esm2020/lib/core/+state/users/users.facade.mjs +8 -3
- package/esm2020/lib/core/animations/appearFromRight.mjs +18 -0
- package/esm2020/lib/core/animations/appearOpacity2.mjs +16 -0
- package/esm2020/lib/core/animations/index.mjs +10 -0
- package/esm2020/lib/core/components/auto-form/components/form-field-file/form-field-file.component.mjs +2 -6
- package/esm2020/lib/core/components/auto-form/components/form-field-file-show/form-field-file-show.component.mjs +1 -2
- package/esm2020/lib/core/components/auto-form/components/form-field-files/form-field-files.component.mjs +2 -3
- package/esm2020/lib/core/components/auto-form/components/form-field-files-show/form-field-files-show.component.mjs +1 -2
- package/esm2020/lib/core/components/auto-form/components/form-field-input/form-field-input.component.mjs +2 -3
- package/esm2020/lib/core/components/auto-form/components/form-field-select/form-field-select.component.mjs +3 -4
- package/esm2020/lib/core/components/auto-form/components/form-field-select-show/form-field-select-show.component.mjs +2 -3
- package/esm2020/lib/core/components/auto-form/components/form-field-slide-toggle/form-field-slide-toggle.component.mjs +1 -2
- package/esm2020/lib/core/components/auto-form/components/form-field-tags/form-field-tags.component.mjs +3 -5
- package/esm2020/lib/core/components/auto-form/components/form-message-box/form-message-box.component.mjs +2 -4
- package/esm2020/lib/core/components/auto-form/containers/auto-form-main/auto-form-main.component.mjs +2 -7
- package/esm2020/lib/core/components/auto-form/containers/form-field/form-field.component.mjs +2 -6
- package/esm2020/lib/core/components/auto-form/containers/publish-messages/publish-messages.component.mjs +2 -5
- package/esm2020/lib/core/components/chips-input/chips-input.component.mjs +2 -3
- package/esm2020/lib/core/components/files-upload/file-list-card/file-list-card.component.mjs +2 -6
- package/esm2020/lib/core/components/files-upload/files-upload/files-upload.component.mjs +2 -4
- package/esm2020/lib/core/components/files-upload/files-upload-list-images/files-upload-list-images.component.mjs +1 -2
- package/esm2020/lib/core/components/files-upload/table-files-uploading/table-files-uploading.component.mjs +2 -5
- package/esm2020/lib/core/components/form-field-error/form-field-error.component.mjs +1 -3
- package/esm2020/lib/core/components/form-field-publish-error/form-field-publish-error.component.mjs +1 -3
- package/esm2020/lib/core/components/image/image.component.mjs +1 -2
- package/esm2020/lib/core/components/index.mjs +49 -0
- package/esm2020/lib/core/components/panel-header/panel-header.component.mjs +23 -0
- package/esm2020/lib/core/components/panel-header/panel-header.module.mjs +44 -0
- package/esm2020/lib/core/components/sticky-sidebar/sticky-sidebar.directive.mjs +2 -3
- package/esm2020/lib/core/config/app-config.mjs +2 -0
- package/esm2020/lib/core/constants/async-validators-messages.mjs +14 -0
- package/esm2020/lib/core/constants/base-errors.const.mjs +10 -0
- package/esm2020/lib/core/constants/form-errors.const.mjs +6 -0
- package/esm2020/lib/core/constants/global-errors-messages.mjs +9 -0
- package/esm2020/lib/core/constants/index.mjs +10 -0
- package/esm2020/lib/core/constants/main.const.mjs +6 -0
- package/esm2020/lib/core/dialogs/common-dialog/common-dialog.component.mjs +4 -3
- package/esm2020/lib/core/dialogs/delete/delete.component.mjs +4 -3
- package/esm2020/lib/core/dialogs/dialog.service.mjs +1 -2
- package/esm2020/lib/core/dialogs/dialogs.module.mjs +34 -0
- package/esm2020/lib/core/dialogs/index.mjs +2 -0
- package/esm2020/lib/core/interceptors/headers.interceptor.mjs +223 -0
- package/esm2020/lib/core/interceptors/jwt.interceptor.mjs +26 -0
- package/esm2020/lib/core/models/forms/form-value.mjs +2 -0
- package/esm2020/lib/core/models/forms/image-form-value.mjs +2 -0
- package/esm2020/lib/core/models/forms/index.mjs +3 -0
- package/esm2020/lib/core/models/storage.mjs +2 -0
- package/esm2020/lib/core/pipes/date-format.pipe.mjs +6 -4
- package/esm2020/lib/core/pipes/index.mjs +6 -0
- package/esm2020/lib/core/pipes/safe.pipe.mjs +1 -2
- package/esm2020/lib/core/services/actions/actions.service.mjs +1 -4
- package/esm2020/lib/core/services/auth/authentication.service.mjs +1 -2
- package/esm2020/lib/core/services/auto-form/auto-form.service.mjs +4 -5
- package/esm2020/lib/core/services/cache-data/cache-data.service.mjs +1 -4
- package/esm2020/lib/core/services/cookies/browser/browser-cookies.service.mjs +71 -0
- package/esm2020/lib/core/services/cookies/cookies-options.mjs +3 -0
- package/esm2020/lib/core/services/cookies/cookies-provider.mjs +16 -0
- package/esm2020/lib/core/services/cookies/cookies.service.mjs +55 -0
- package/esm2020/lib/core/services/cookies/utils.mjs +38 -0
- package/esm2020/lib/core/services/files/files.service.mjs +1 -4
- package/esm2020/lib/core/services/form-delete-file/form-delete-file.service.mjs +1 -4
- package/esm2020/lib/core/services/form-validation/form-validation.service.mjs +1 -4
- package/esm2020/lib/core/services/index.mjs +18 -2
- package/esm2020/lib/core/services/model-services/tags/tags.service.mjs +1 -4
- package/esm2020/lib/core/services/publish/publish.service.mjs +1 -4
- package/esm2020/lib/core/services/reports/reports.service.mjs +1 -4
- package/esm2020/lib/core/services/router/router.service.mjs +1 -2
- package/esm2020/lib/core/services/social/providers/base-login-provider.mjs +29 -0
- package/esm2020/lib/core/services/social/providers/fb-login-provider.mjs +107 -0
- package/esm2020/lib/core/services/social/providers/index.mjs +4 -0
- package/esm2020/lib/core/services/social/providers/login-provider.mjs +2 -0
- package/esm2020/lib/core/services/social/social-auth-service-config.mjs +10 -0
- package/esm2020/lib/core/services/social/social-auth-service.mjs +75 -0
- package/esm2020/lib/core/services/static-data/static-data.service.mjs +1 -4
- package/esm2020/lib/core/services/storage/storage.service.mjs +33 -0
- package/esm2020/lib/core/services/users/users.service.mjs +1 -4
- package/esm2020/lib/models/endpoints/index.mjs +13 -3
- package/esm2020/lib/models/index.mjs +17 -1
- package/esm2020/lib/models/models/paging.model.mjs +3 -0
- package/esm2020/lib/models/models/ui-units/index.mjs +2 -0
- package/esm2020/lib/models/models/ui-units/ui-units.firms-data.mjs +2 -0
- package/esm2020/lib/models/social/fb-login-options.mjs +2 -0
- package/esm2020/lib/models/social/index.mjs +2 -0
- package/esm2020/lib/models/social/login-options.mjs +2 -0
- package/esm2020/lib/models/social/social-user.mjs +2 -0
- package/esm2020/lib/wt-front-shared.module.mjs +4 -29
- package/esm2020/public-api.mjs +67 -56
- package/fesm2015/wt-front-shared.mjs +2902 -2254
- package/fesm2015/wt-front-shared.mjs.map +1 -1
- package/fesm2020/wt-front-shared.mjs +2886 -2238
- package/fesm2020/wt-front-shared.mjs.map +1 -1
- package/lib/core/+state/actions/actions.facade.d.ts +2 -1
- package/lib/core/+state/actions/actions.reducer.d.ts +2 -13
- package/lib/core/+state/actions/actions.selectors.d.ts +5 -5
- package/lib/core/+state/actions/constants.d.ts +12 -0
- package/lib/core/+state/form-validation/form-validation.selectors.d.ts +2 -2
- package/lib/core/+state/forms/forms.effects.d.ts +1 -1
- package/lib/core/+state/index.d.ts +7 -25
- package/lib/core/+state/main/main.facade.d.ts +1 -1
- package/lib/core/+state/main/main.selectors.d.ts +1 -1
- package/lib/core/+state/publication-messages/publication-messages.selectors.d.ts +1 -1
- package/lib/core/+state/requests/requests.effects.d.ts +12 -0
- package/lib/core/+state/requests/requests.selectors.d.ts +2 -2
- package/lib/core/+state/static-data/constans.d.ts +11 -0
- package/lib/core/+state/static-data/static-data.selectors.d.ts +2 -2
- package/lib/core/+state/tags/tags.selectors.d.ts +1 -1
- package/lib/core/+state/users/users.facade.d.ts +2 -6
- package/lib/core/animations/appearFromRight.d.ts +1 -0
- package/lib/core/animations/appearOpacity2.d.ts +1 -0
- package/lib/core/animations/index.d.ts +9 -0
- package/lib/core/components/index.d.ts +48 -0
- package/lib/core/components/panel-header/panel-header.component.d.ts +11 -0
- package/lib/core/components/panel-header/panel-header.module.d.ts +14 -0
- package/lib/core/config/app-config.d.ts +17 -0
- package/lib/core/constants/async-validators-messages.d.ts +12 -0
- package/lib/core/constants/base-errors.const.d.ts +9 -0
- package/lib/core/constants/form-errors.const.d.ts +5 -0
- package/lib/core/constants/global-errors-messages.d.ts +23 -0
- package/lib/core/constants/index.d.ts +9 -0
- package/lib/core/constants/main.const.d.ts +5 -0
- package/lib/core/dialogs/dialogs.module.d.ts +12 -0
- package/lib/core/dialogs/index.d.ts +1 -0
- package/lib/core/interceptors/headers.interceptor.d.ts +37 -0
- package/lib/core/interceptors/jwt.interceptor.d.ts +11 -0
- package/lib/core/models/forms/form-value.d.ts +2 -0
- package/lib/core/models/forms/image-form-value.d.ts +10 -0
- package/lib/core/models/forms/index.d.ts +2 -0
- package/lib/core/models/storage.d.ts +7 -0
- package/lib/core/pipes/index.d.ts +5 -0
- package/lib/core/services/auth/authentication.service.d.ts +1 -1
- package/lib/core/services/cookies/browser/browser-cookies.service.d.ts +17 -0
- package/lib/core/services/cookies/cookies-options.d.ts +9 -0
- package/lib/core/services/cookies/cookies-provider.d.ts +4 -0
- package/lib/core/services/cookies/cookies.service.d.ts +27 -0
- package/lib/core/services/cookies/utils.d.ts +9 -0
- package/lib/core/services/index.d.ts +17 -1
- package/lib/core/services/social/providers/base-login-provider.d.ts +13 -0
- package/lib/core/services/social/providers/fb-login-provider.d.ts +1 -0
- package/lib/core/services/social/providers/index.d.ts +3 -0
- package/lib/core/services/social/providers/login-provider.d.ts +7 -0
- package/lib/core/services/social/social-auth-service-config.d.ts +9 -0
- package/lib/core/services/social/social-auth-service.d.ts +12 -0
- package/lib/core/services/storage/storage.service.d.ts +19 -0
- package/lib/models/endpoints/index.d.ts +12 -2
- package/lib/models/index.d.ts +16 -0
- package/lib/models/models/paging.model.d.ts +5 -0
- package/lib/models/models/ui-units/index.d.ts +1 -0
- package/lib/models/models/ui-units/ui-units.firms-data.d.ts +5 -0
- package/lib/models/social/fb-login-options.d.ts +11 -0
- package/lib/models/social/index.d.ts +3 -0
- package/lib/models/social/login-options.d.ts +2 -0
- package/lib/models/social/social-user.d.ts +12 -0
- package/lib/wt-front-shared.module.d.ts +0 -3
- package/package.json +8 -4
- package/public-api.d.ts +53 -54
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { ActionsMeta
|
|
3
|
+
import { ActionsMeta } from "./constants";
|
|
4
4
|
import { ActionsModel } from "../../../models/models/actions";
|
|
5
|
+
import { ActionsState } from "./actions.reducer";
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class ActionsFacade {
|
|
7
8
|
private store;
|
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ActionsMeta } from "./constants";
|
|
2
|
+
import { ActionsModel } from "../../../models";
|
|
2
3
|
export declare const STATIC_DATA_FEATURE_KEY = "actions";
|
|
3
|
-
export declare enum ActionsMetaStatus {
|
|
4
|
-
LOADING = "loading",
|
|
5
|
-
SUCCESS = "success",
|
|
6
|
-
FAIL = "fail"
|
|
7
|
-
}
|
|
8
|
-
export interface ActionsMeta {
|
|
9
|
-
status?: ActionsMetaStatus;
|
|
10
|
-
error?: string;
|
|
11
|
-
page?: number;
|
|
12
|
-
totalCount?: number;
|
|
13
|
-
perPage?: number;
|
|
14
|
-
}
|
|
15
4
|
export interface ActionsState {
|
|
16
5
|
list: {
|
|
17
6
|
[key: string]: ActionsModel;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ActionsState } from './actions.reducer';
|
|
2
2
|
export declare const actionsQuery: {
|
|
3
|
-
getStatus: (action: string, actionId: number) => import("@ngrx/store").MemoizedSelector<object, ActionsMetaStatus, (s1: ActionsState) => ActionsMetaStatus>;
|
|
4
|
-
getLoaded: (action: string, actionId: number) => import("@ngrx/store").MemoizedSelector<object, ActionsMetaStatus, (s1: ActionsState) => ActionsMetaStatus>;
|
|
3
|
+
getStatus: (action: string, actionId: number) => import("@ngrx/store").MemoizedSelector<object, import("wt-front-shared").ActionsMetaStatus, (s1: ActionsState) => import("wt-front-shared").ActionsMetaStatus>;
|
|
4
|
+
getLoaded: (action: string, actionId: number) => import("@ngrx/store").MemoizedSelector<object, import("wt-front-shared").ActionsMetaStatus, (s1: ActionsState) => import("wt-front-shared").ActionsMetaStatus>;
|
|
5
5
|
getError: (action: string) => import("@ngrx/store").MemoizedSelector<object, string, (s1: ActionsState) => string>;
|
|
6
|
-
getActionItem: (action: string, actionId: number) => import("@ngrx/store").MemoizedSelector<object, import("
|
|
7
|
-
getActionMeta: (action: string, actionId: number) => import("@ngrx/store").MemoizedSelector<object, import("
|
|
6
|
+
getActionItem: (action: string, actionId: number) => import("@ngrx/store").MemoizedSelector<object, import("wt-front-shared").ActionsModel, (s1: ActionsState) => import("wt-front-shared").ActionsModel>;
|
|
7
|
+
getActionMeta: (action: string, actionId: number) => import("@ngrx/store").MemoizedSelector<object, import("wt-front-shared").ActionsMeta, (s1: ActionsState) => import("wt-front-shared").ActionsMeta>;
|
|
8
8
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormValidationState } from "./form-validation.reducer";
|
|
2
|
-
export declare const getFormValidation: (type: string, value: string) => import("@ngrx/store").MemoizedSelector<object, import("
|
|
2
|
+
export declare const getFormValidation: (type: string, value: string) => import("@ngrx/store").MemoizedSelector<object, import("wt-front-shared").FormValidation, (s1: FormValidationState) => import("wt-front-shared").FormValidation>;
|
|
3
3
|
export declare const formValidationQuery: {
|
|
4
|
-
getFormValidation: (type: string, value: string) => import("@ngrx/store").MemoizedSelector<object, import("
|
|
4
|
+
getFormValidation: (type: string, value: string) => import("@ngrx/store").MemoizedSelector<object, import("wt-front-shared").FormValidation, (s1: FormValidationState) => import("wt-front-shared").FormValidation>;
|
|
5
5
|
};
|
|
@@ -8,7 +8,7 @@ export declare class FormsEffects {
|
|
|
8
8
|
protected store: Store<SharedState>;
|
|
9
9
|
protected notificationsFacade: NotificationsFacade;
|
|
10
10
|
fileDelete$: import("rxjs").Observable<{
|
|
11
|
-
payload: import("
|
|
11
|
+
payload: import("wt-front-shared").Form;
|
|
12
12
|
} & import("@ngrx/store/src/models").TypedAction<"[Forms] Update Form">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
13
13
|
constructor(actions$: Actions, store: Store<SharedState>, notificationsFacade: NotificationsFacade);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormsEffects, never>;
|
|
@@ -8,7 +8,6 @@ import { FilesEffects, FilesFacade, filesReducer, FilesState } from './files';
|
|
|
8
8
|
import { MainEffects } from './main/main.effects';
|
|
9
9
|
import { UiUnitsFacade, uiUnitsReducer, UiUnitsState } from './uiUnits';
|
|
10
10
|
import { NotificationsFacade, notificationsReducer, NotificationsState } from './notifications';
|
|
11
|
-
import { RouterFacade } from './router/router.facade';
|
|
12
11
|
import { formReducer, FormsFacade, FormsState } from './forms';
|
|
13
12
|
import { TagsFacade, tagsReducer, TagsState } from './tags';
|
|
14
13
|
import { MainFacade, mainReducer, MainState } from './main';
|
|
@@ -23,39 +22,22 @@ import { PublicationMessagesEffects } from './publication-messages/publication-m
|
|
|
23
22
|
import { PublicationMessagesFacade, publicationMessagesReducer, PublicationMessagesState } from './publication-messages';
|
|
24
23
|
import { UpdateEntitiesEffects } from './update-entities/update-entities.effects';
|
|
25
24
|
import { StaticDataEffects } from './static-data/static-data.effects';
|
|
26
|
-
import { StaticDataFacade } from './static-data/static-data.facade';
|
|
27
25
|
import { staticDataReducer, StaticDataState } from './static-data/static-data.reducer';
|
|
28
26
|
import { ActionsEffects } from "./actions/actions.effects";
|
|
29
|
-
import { ActionsFacade } from "./actions/actions.facade";
|
|
30
27
|
import { actionsReducer, ActionsState } from "./actions/actions.reducer";
|
|
31
|
-
import { CoreFacade } from "./core.facade";
|
|
32
28
|
import { CacheDataEffects } from "./cache-data/cache-data.effects";
|
|
33
|
-
import { CacheDataFacade } from "./cache-data/cache-data.facade";
|
|
34
29
|
import { cacheDataReducer, CacheDataState } from "./cache-data/cache-data.reducer";
|
|
35
|
-
import { ReportsFacade } from "./reports/reports.facade";
|
|
36
30
|
import { reportsReducer, ReportsState } from "./reports/reports.reducer";
|
|
37
31
|
import { ReportsEffects } from "./reports/reports.effects";
|
|
38
|
-
import {
|
|
32
|
+
import { ActionsFacade } from "./actions/actions.facade";
|
|
33
|
+
import { CacheDataFacade } from "./cache-data/cache-data.facade";
|
|
34
|
+
import { ReportsFacade } from "./reports/reports.facade";
|
|
35
|
+
import { CoreFacade } from "./core.facade";
|
|
36
|
+
import { RouterFacade } from "./router/router.facade";
|
|
37
|
+
import { StaticDataFacade } from "./static-data/static-data.facade";
|
|
39
38
|
import { FormDeleteFileFacade } from "./form-delete-file";
|
|
40
39
|
export declare const sharedEffects: (typeof RouterEffects | typeof UsersEffects | typeof FilesEffects | typeof NotificationsEffects | typeof TagsEffects | typeof UiUnitsEffects | typeof MainEffects | typeof FormValidationEffects | typeof FormErrorsEffects | typeof FormsEffects | typeof FormDeleteFileEffects | typeof PublicationMessagesEffects | typeof UpdateEntitiesEffects | typeof StaticDataEffects | typeof ActionsEffects | typeof CacheDataEffects | typeof ReportsEffects)[];
|
|
41
|
-
export declare const
|
|
42
|
-
export declare const UsersFacadeInjection: InjectionToken<any>;
|
|
43
|
-
export declare const UiUnitsFacadeInjection: InjectionToken<any>;
|
|
44
|
-
export declare const NotificationsFacadeInjection: InjectionToken<any>;
|
|
45
|
-
export declare const RouterFacadeInjection: InjectionToken<any>;
|
|
46
|
-
export declare const FilesFacadeInjection: InjectionToken<any>;
|
|
47
|
-
export declare const TagsFacadeInjection: InjectionToken<any>;
|
|
48
|
-
export declare const MainFacadeInjection: InjectionToken<any>;
|
|
49
|
-
export declare const StaticDataFacadeInjection: InjectionToken<any>;
|
|
50
|
-
export declare const FormsFacadeInjection: InjectionToken<any>;
|
|
51
|
-
export declare const FormValidationFacadeInjection: InjectionToken<any>;
|
|
52
|
-
export declare const FormErrorsFacadeInjection: InjectionToken<any>;
|
|
53
|
-
export declare const RequestsFacadeInjection: InjectionToken<any>;
|
|
54
|
-
export declare const PublicationMessagesFacadeInjection: InjectionToken<any>;
|
|
55
|
-
export declare const ActionsFacadeInjection: InjectionToken<any>;
|
|
56
|
-
export declare const CacheDataFacadeInjection: InjectionToken<any>;
|
|
57
|
-
export declare const ReportsFacadeInjection: InjectionToken<any>;
|
|
58
|
-
export declare const sharedFacades: (typeof FormValidationFacade | typeof RequestsFacade | typeof FormsFacade | typeof NotificationsFacade | typeof UsersFacade | typeof FilesFacade | typeof UiUnitsFacade | typeof RouterFacade | typeof TagsFacade | typeof MainFacade | typeof FormErrorsFacade | typeof PublicationMessagesFacade | typeof StaticDataFacade | typeof ActionsFacade | typeof CoreFacade | typeof CacheDataFacade | typeof ReportsFacade | typeof FormDeleteFileFacade)[];
|
|
40
|
+
export declare const sharedFacades: (typeof FormValidationFacade | typeof RequestsFacade | typeof FormsFacade | typeof NotificationsFacade | typeof UsersFacade | typeof FilesFacade | typeof UiUnitsFacade | typeof TagsFacade | typeof MainFacade | typeof FormErrorsFacade | typeof PublicationMessagesFacade | typeof RouterFacade | typeof ActionsFacade | typeof CacheDataFacade | typeof ReportsFacade | typeof CoreFacade | typeof StaticDataFacade | typeof FormDeleteFileFacade)[];
|
|
59
41
|
export interface SharedState {
|
|
60
42
|
requests: RequestsState;
|
|
61
43
|
files: FilesState;
|
|
@@ -4,7 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class MainFacade {
|
|
5
5
|
private store;
|
|
6
6
|
constructor(store: Store<MainState>);
|
|
7
|
-
getMetadata(): import("rxjs").Observable<import("
|
|
7
|
+
getMetadata(): import("rxjs").Observable<import("wt-front-shared").MetaDataModel>;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<MainFacade, never>;
|
|
9
9
|
static ɵprov: i0.ɵɵInjectableDeclaration<MainFacade>;
|
|
10
10
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { MainState } from './main.reducer';
|
|
2
2
|
export declare const mainQuery: {
|
|
3
|
-
getMetaData: import("@ngrx/store").MemoizedSelector<object, import("
|
|
3
|
+
getMetaData: import("@ngrx/store").MemoizedSelector<object, import("wt-front-shared").MetaDataModel, (s1: MainState) => import("wt-front-shared").MetaDataModel>;
|
|
4
4
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { PublicationMessagesState } from './publication-messages.reducer';
|
|
2
2
|
export declare const publicationMessagesQuery: {
|
|
3
|
-
getPublicationMessage: (entity: string, itemId: number) => import("@ngrx/store").MemoizedSelector<object, import("
|
|
3
|
+
getPublicationMessage: (entity: string, itemId: number) => import("@ngrx/store").MemoizedSelector<object, import("wt-front-shared").FormErrorModel[], (s1: PublicationMessagesState) => import("wt-front-shared").FormErrorModel[]>;
|
|
4
4
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Actions } from '@ngrx/effects';
|
|
2
|
+
import { Store } from '@ngrx/store';
|
|
3
|
+
import { SharedState } from "../index";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RequestsEffects {
|
|
6
|
+
protected actions$: Actions;
|
|
7
|
+
protected store: Store<SharedState>;
|
|
8
|
+
private requestsActions;
|
|
9
|
+
constructor(actions$: Actions, store: Store<SharedState>);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RequestsEffects, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RequestsEffects>;
|
|
12
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RequestsState } from "./requests.reducer";
|
|
2
|
-
export declare const getRequestInfo: (endpointUrl: string, method: string, itemId?: number, secondEndPointUrl?: string) => import("@ngrx/store").MemoizedSelector<object, import("
|
|
2
|
+
export declare const getRequestInfo: (endpointUrl: string, method: string, itemId?: number, secondEndPointUrl?: string) => import("@ngrx/store").MemoizedSelector<object, import("wt-front-shared").RequestModel, (s1: RequestsState) => import("wt-front-shared").RequestModel>;
|
|
3
3
|
export declare const requestsQuery: {
|
|
4
|
-
getRequestInfo: (endpointUrl: string, method: string, itemId?: number, secondEndPointUrl?: string) => import("@ngrx/store").MemoizedSelector<object, import("
|
|
4
|
+
getRequestInfo: (endpointUrl: string, method: string, itemId?: number, secondEndPointUrl?: string) => import("@ngrx/store").MemoizedSelector<object, import("wt-front-shared").RequestModel, (s1: RequestsState) => import("wt-front-shared").RequestModel>;
|
|
5
5
|
};
|
|
@@ -5,8 +5,8 @@ export declare const staticDataQuery: {
|
|
|
5
5
|
getError: (contentType: string) => import("@ngrx/store").MemoizedSelector<object, import("./static-data.reducer").StaticDataMeta, (s1: StaticDataState) => import("./static-data.reducer").StaticDataMeta>;
|
|
6
6
|
getStaticData: (contentType: string, subSection: string, where?: {
|
|
7
7
|
[key: string]: string | number;
|
|
8
|
-
}) => import("@ngrx/store").MemoizedSelector<object, import("
|
|
9
|
-
getStaticDataItem: (contentType: string, subSection: string, itemIdOrSlug: number | string) => import("@ngrx/store").MemoizedSelector<object, import("
|
|
8
|
+
}) => import("@ngrx/store").MemoizedSelector<object, import("wt-front-shared").StaticDataModel[], (s1: StaticDataState, s2: boolean) => import("wt-front-shared").StaticDataModel[]>;
|
|
9
|
+
getStaticDataItem: (contentType: string, subSection: string, itemIdOrSlug: number | string) => import("@ngrx/store").MemoizedSelector<object, import("wt-front-shared").StaticDataModel, (s1: StaticDataState) => import("wt-front-shared").StaticDataModel>;
|
|
10
10
|
getStaticDataMeta: (contentType: string, subSection: string) => import("@ngrx/store").MemoizedSelector<object, import("./static-data.reducer").StaticDataMeta, (s1: StaticDataState) => import("./static-data.reducer").StaticDataMeta>;
|
|
11
11
|
getStaticDataForListContentTypes: (contentTypes: string[]) => import("@ngrx/store").MemoizedSelector<object, {}, (s1: StaticDataState) => {}>;
|
|
12
12
|
};
|
|
@@ -8,5 +8,5 @@ export declare const tagsQuery: {
|
|
|
8
8
|
geSelected: import("@ngrx/store").MemoizedSelector<object, number, (s1: TagsState) => number>;
|
|
9
9
|
getTag: (slugOrId: number | string) => import("@ngrx/store").MemoizedSelector<object, TagModel, (s1: TagModel[]) => TagModel>;
|
|
10
10
|
getTagsByEntity: (entity: string) => import("@ngrx/store").MemoizedSelector<object, TagModel[], (s1: TagModel[]) => TagModel[]>;
|
|
11
|
-
getTagEntities: (tagSlug: string) => import("@ngrx/store").MemoizedSelector<object, import("
|
|
11
|
+
getTagEntities: (tagSlug: string) => import("@ngrx/store").MemoizedSelector<object, import("wt-front-shared").TagEntityModel[], (s1: TagsState) => import("wt-front-shared").TagEntityModel[]>;
|
|
12
12
|
};
|
|
@@ -6,13 +6,9 @@ export declare class UsersFacade {
|
|
|
6
6
|
loaded$: import("rxjs").Observable<boolean>;
|
|
7
7
|
getUser$: import("rxjs").Observable<UsersState>;
|
|
8
8
|
constructor(store: Store<UsersState>);
|
|
9
|
+
testMethod(): void;
|
|
9
10
|
loadAll(): void;
|
|
10
|
-
sendLogin({ email, password, remember, formId }:
|
|
11
|
-
email: any;
|
|
12
|
-
password: any;
|
|
13
|
-
remember: any;
|
|
14
|
-
formId: any;
|
|
15
|
-
}): void;
|
|
11
|
+
sendLogin({ email, password, remember, formId }: any): void;
|
|
16
12
|
logOut(): void;
|
|
17
13
|
refreshToken(refreshToken: string): void;
|
|
18
14
|
setLoaded(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const appearFromRight: import("@angular/animations").AnimationTriggerMetadata;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const appearOpacity2: import("@angular/animations").AnimationTriggerMetadata;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './appearFromLeft';
|
|
2
|
+
export * from './appearFromRight';
|
|
3
|
+
export * from './appearFromLeftHideToRight';
|
|
4
|
+
export * from './appearFromLeftWithDelay';
|
|
5
|
+
export * from './appearFromRightWithDelay';
|
|
6
|
+
export * from './appearOpacity';
|
|
7
|
+
export * from './appearOpacity2';
|
|
8
|
+
export * from './expandCollapse';
|
|
9
|
+
export * from './hideToTopOpacity';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export * from './access-denied/access-denied.module';
|
|
2
|
+
export * from './access-denied/access-denied.component';
|
|
3
|
+
export * from './auto-form/auto-form.module';
|
|
4
|
+
export * from './auto-form/containers/auto-form-main/auto-form-main.component';
|
|
5
|
+
export * from './auto-form/containers/auto-form-show/auto-form-show.component';
|
|
6
|
+
export * from './auto-form/interfaces/field-type';
|
|
7
|
+
export * from './auto-form/interfaces/form-field';
|
|
8
|
+
export * from './auto-form/interfaces/form-field-format';
|
|
9
|
+
export * from './bread-crumbs/bread-crumbs.module';
|
|
10
|
+
export * from './bread-crumbs/bread-crumbs.component';
|
|
11
|
+
export * from './button/button.module';
|
|
12
|
+
export * from './button/button.component';
|
|
13
|
+
export * from './chips-input/chips-input.module';
|
|
14
|
+
export * from './chips-input/chips-input.component';
|
|
15
|
+
export * from './files-upload/files-upload.module';
|
|
16
|
+
export * from './files-upload/files-upload/files-upload.component';
|
|
17
|
+
export * from './form-field-error/form-field-error.module';
|
|
18
|
+
export * from './form-field-error/form-field-error.component';
|
|
19
|
+
export * from './form-field-publish-error/form-field-publish-error.module';
|
|
20
|
+
export * from './form-field-publish-error/form-field-publish-error.component';
|
|
21
|
+
export * from './header/header.module';
|
|
22
|
+
export * from './header/header.component';
|
|
23
|
+
export * from './icon/icon.module';
|
|
24
|
+
export * from './icon/icon.component';
|
|
25
|
+
export * from './image/image.module';
|
|
26
|
+
export * from './image/image.component';
|
|
27
|
+
export * from './input-tags/input-tags.module';
|
|
28
|
+
export * from './input-tags/input-tags.component';
|
|
29
|
+
export * from './pagination/pagination.module';
|
|
30
|
+
export * from './pagination/pagination.component';
|
|
31
|
+
export * from './panel/panel.module';
|
|
32
|
+
export * from './panel/panel.component';
|
|
33
|
+
export * from './panel-header/panel-header.module';
|
|
34
|
+
export * from './panel-header/panel-header.component';
|
|
35
|
+
export * from './smart-progress-bar/smart-progress-bar.module';
|
|
36
|
+
export * from './smart-progress-bar/smart-progress-bar.component';
|
|
37
|
+
export * from './spinner/spinner.module';
|
|
38
|
+
export * from './spinner/spinner.component';
|
|
39
|
+
export * from './star-rating/star-rating.module';
|
|
40
|
+
export * from './star-rating/star-rating.component';
|
|
41
|
+
export * from './sticky-sidebar/sticky-sidebar.module';
|
|
42
|
+
export * from './sticky-sidebar/sticky-sidebar.directive';
|
|
43
|
+
export * from './table-menu/table-menu.module';
|
|
44
|
+
export * from './table-menu/table-menu.component';
|
|
45
|
+
export * from './tag-cloud/tag-cloud.module';
|
|
46
|
+
export * from './tag-cloud/tag-cloud.component';
|
|
47
|
+
export * from './text-with-link-more/text-with-link-more.module';
|
|
48
|
+
export * from './text-with-link-more/text-with-link-more.component';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PanelHeaderComponent implements OnInit {
|
|
4
|
+
title: string;
|
|
5
|
+
parentTitle: string;
|
|
6
|
+
parentUrl: string[];
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PanelHeaderComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PanelHeaderComponent, "shared-panel-header", never, { "title": "title"; "parentTitle": "parentTitle"; "parentUrl": "parentUrl"; }, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./panel-header.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/icon";
|
|
5
|
+
import * as i4 from "@angular/material/form-field";
|
|
6
|
+
import * as i5 from "@angular/material/button";
|
|
7
|
+
import * as i6 from "@angular/material/input";
|
|
8
|
+
import * as i7 from "@angular/flex-layout";
|
|
9
|
+
import * as i8 from "@angular/router";
|
|
10
|
+
export declare class PanelHeaderModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PanelHeaderModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PanelHeaderModule, [typeof i1.PanelHeaderComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.MatFormFieldModule, typeof i5.MatButtonModule, typeof i6.MatInputModule, typeof i7.FlexLayoutModule, typeof i8.RouterModule], [typeof i1.PanelHeaderComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PanelHeaderModule>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface IAppConfigStaticData {
|
|
2
|
+
[key: string]: {
|
|
3
|
+
key: string;
|
|
4
|
+
store: string;
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
export interface IModuleConfigSiteMap {
|
|
8
|
+
url?: string;
|
|
9
|
+
key?: string;
|
|
10
|
+
roleAccess: (string | number)[];
|
|
11
|
+
}
|
|
12
|
+
export interface IAppConfig {
|
|
13
|
+
staticData: IAppConfigStaticData;
|
|
14
|
+
}
|
|
15
|
+
export interface IAppModuleConfig {
|
|
16
|
+
siteMap: IModuleConfigSiteMap[];
|
|
17
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum AsyncValidatorsMessages {
|
|
2
|
+
FirmUniqEmailInValidMessage = "\u0423\u043A\u0430\u0437\u0430\u043D\u043D\u044B\u0439 Email \u0443\u0436\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u043D \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0435",
|
|
3
|
+
FirmUniqEmailValidMessage = "\u0423\u043A\u0430\u0437\u0430\u043D\u043D\u044B\u0439 Email \u043F\u043E\u0434\u0445\u043E\u0434\u0438\u0442",
|
|
4
|
+
FirmUniqPhoneInValidMessage = "\u0423\u043A\u0430\u0437\u0430\u043D\u043D\u044B\u0439 \u0442\u0435\u043B\u0435\u0444\u043E\u043D \u0443\u0436\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u043D \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0435",
|
|
5
|
+
FirmUniqPhoneValidMessage = "\u0423\u043A\u0430\u0437\u0430\u043D\u043D\u044B\u0439 \u0442\u0435\u043B\u0435\u0444\u043E\u043D \u043F\u043E\u0434\u0445\u043E\u0434\u0438\u0442",
|
|
6
|
+
FirmUniqNameInValidMessage = "\u0423\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0435 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0444\u0438\u0440\u043C\u044B \u0443\u0436\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u043D \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0435",
|
|
7
|
+
ItemUniqValueMessage = "\u0423\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0435 \":field\" \u0443\u0436\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0435 \u043F\u043E\u043B\u0435",
|
|
8
|
+
FirmUniqNameValidMessage = "\u0423\u043A\u0430\u0437\u0430\u043D\u043D\u044B\u0439 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0444\u0438\u0440\u043C\u044B \u043F\u043E\u0434\u0445\u043E\u0434\u0438\u0442",
|
|
9
|
+
FirmUniqLegalNameInValidMessage = "\u0423\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0435 \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0443\u0436\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u043D \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0435",
|
|
10
|
+
FirmUniqLegalNameValidMessage = "\u0423\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0435 \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u043F\u043E\u0434\u0445\u043E\u0434\u0438\u0442",
|
|
11
|
+
itemUniqValue = "\u0423\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0435 \":field\" \u0443\u0436\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0435 \u043F\u043E\u043B\u0435"
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const BaseErrors: {
|
|
2
|
+
ERROR_FILE_SIZE_LIMIT: string;
|
|
3
|
+
ERROR_FILE_TYPE: string;
|
|
4
|
+
COMMON_ERROR_UPLOAD_FILE: string;
|
|
5
|
+
PERMISSION_ERROR: string;
|
|
6
|
+
FILE_UPLOAD_ERROR: string;
|
|
7
|
+
INCORRECT_RELATION_VALUES: string;
|
|
8
|
+
INCORRECT_RELATION_VALUES_FULL: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AsyncValidatorsMessages } from './async-validators-messages';
|
|
2
|
+
export declare const GlobalErrorMessages: {
|
|
3
|
+
ERROR_FILE_SIZE_LIMIT: string;
|
|
4
|
+
ERROR_FILE_TYPE: string;
|
|
5
|
+
COMMON_ERROR_UPLOAD_FILE: string;
|
|
6
|
+
PERMISSION_ERROR: string;
|
|
7
|
+
FILE_UPLOAD_ERROR: string;
|
|
8
|
+
INCORRECT_RELATION_VALUES: string;
|
|
9
|
+
INCORRECT_RELATION_VALUES_FULL: string;
|
|
10
|
+
FirmUniqEmailInValidMessage: AsyncValidatorsMessages.FirmUniqEmailInValidMessage;
|
|
11
|
+
FirmUniqEmailValidMessage: AsyncValidatorsMessages.FirmUniqEmailValidMessage;
|
|
12
|
+
FirmUniqPhoneInValidMessage: AsyncValidatorsMessages.FirmUniqPhoneInValidMessage;
|
|
13
|
+
FirmUniqPhoneValidMessage: AsyncValidatorsMessages.FirmUniqPhoneValidMessage;
|
|
14
|
+
FirmUniqNameInValidMessage: AsyncValidatorsMessages.FirmUniqNameInValidMessage;
|
|
15
|
+
ItemUniqValueMessage: AsyncValidatorsMessages.ItemUniqValueMessage;
|
|
16
|
+
FirmUniqNameValidMessage: AsyncValidatorsMessages.FirmUniqNameValidMessage;
|
|
17
|
+
FirmUniqLegalNameInValidMessage: AsyncValidatorsMessages.FirmUniqLegalNameInValidMessage;
|
|
18
|
+
FirmUniqLegalNameValidMessage: AsyncValidatorsMessages.FirmUniqLegalNameValidMessage;
|
|
19
|
+
itemUniqValue: AsyncValidatorsMessages.ItemUniqValueMessage;
|
|
20
|
+
REQUIRE: string;
|
|
21
|
+
FORM_SAVE_ERROR: string;
|
|
22
|
+
PATTERN: string;
|
|
23
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './async-validators-messages';
|
|
2
|
+
export * from './async-validators-type';
|
|
3
|
+
export * from './base-errors.const';
|
|
4
|
+
export * from './constants';
|
|
5
|
+
export * from './form-errors.const';
|
|
6
|
+
export * from './global-errors-messages';
|
|
7
|
+
export * from './main.const';
|
|
8
|
+
export * from './publish-errors.const';
|
|
9
|
+
export * from './validators-type';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./delete/delete.component";
|
|
3
|
+
import * as i2 from "./common-dialog/common-dialog.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/material/dialog";
|
|
6
|
+
import * as i5 from "@angular/material/button";
|
|
7
|
+
import * as i6 from "@angular/material/icon";
|
|
8
|
+
export declare class DialogsModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogsModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogsModule, [typeof i1.DeleteComponent, typeof i2.CommonDialogComponent], [typeof i3.CommonModule, typeof i4.MatDialogModule, typeof i5.MatButtonModule, typeof i6.MatIconModule], never>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DialogsModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DialogsModule } from './dialogs.module';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { HttpHandler, HttpHeaderResponse, HttpInterceptor, HttpProgressEvent, HttpRequest, HttpResponse, HttpSentEvent, HttpUserEvent } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { UsersFacade } from '../+state/users';
|
|
4
|
+
import { RouterFacade } from '../+state/router/router.facade';
|
|
5
|
+
import { FormErrorsFacade } from '../+state/form-errors';
|
|
6
|
+
import { FormsFacade } from '../+state/forms';
|
|
7
|
+
import { NotificationsFacade } from '../+state/notifications';
|
|
8
|
+
import { PublicationMessagesFacade } from '../+state/publication-messages';
|
|
9
|
+
import { FilesFacade } from "../+state/files";
|
|
10
|
+
import { RequestsFacade } from "../+state/requests";
|
|
11
|
+
import { AuthenticationService } from "../services/auth/authentication.service";
|
|
12
|
+
import { BaseModelAdapter } from "../../models/model-adapter/base-model-adapter";
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
export declare class HeadersInterceptor implements HttpInterceptor {
|
|
15
|
+
private authenticationService;
|
|
16
|
+
private routerFacade;
|
|
17
|
+
private usersFacade;
|
|
18
|
+
private formErrorsFacade;
|
|
19
|
+
private formsFacade;
|
|
20
|
+
private filesFacade;
|
|
21
|
+
private publicationMessagesFacade;
|
|
22
|
+
private requestsFacade;
|
|
23
|
+
private notificationsFacade;
|
|
24
|
+
modelAdapter: BaseModelAdapter;
|
|
25
|
+
constructor(authenticationService: AuthenticationService, routerFacade: RouterFacade, usersFacade: UsersFacade, formErrorsFacade: FormErrorsFacade, formsFacade: FormsFacade, filesFacade: FilesFacade, publicationMessagesFacade: PublicationMessagesFacade, requestsFacade: RequestsFacade, notificationsFacade: NotificationsFacade);
|
|
26
|
+
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpSentEvent | HttpHeaderResponse | HttpProgressEvent | HttpResponse<any> | HttpUserEvent<any> | any>;
|
|
27
|
+
private updateRequestData;
|
|
28
|
+
private handlePublicationMessagesAndFiles;
|
|
29
|
+
private handle401Error;
|
|
30
|
+
private checkPublicationMessages;
|
|
31
|
+
private checkPublishErrors;
|
|
32
|
+
private checkErrors;
|
|
33
|
+
private reSendQuery;
|
|
34
|
+
private sendForbiddenError;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeadersInterceptor, never>;
|
|
36
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HeadersInterceptor>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { AuthenticationService } from "../services/auth/authentication.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class JwtInterceptor implements HttpInterceptor {
|
|
6
|
+
private authenticationService;
|
|
7
|
+
constructor(authenticationService: AuthenticationService);
|
|
8
|
+
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JwtInterceptor, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<JwtInterceptor>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FormValue } from './form-value';
|
|
2
|
+
export interface ImageFormValue extends FormValue {
|
|
3
|
+
title: string;
|
|
4
|
+
categoryId: number;
|
|
5
|
+
tagIds: (number | string)[];
|
|
6
|
+
description: string;
|
|
7
|
+
metaTitle: string;
|
|
8
|
+
metaDescription: string;
|
|
9
|
+
metaKeyWord: string;
|
|
10
|
+
}
|
|
@@ -22,7 +22,7 @@ export declare class AuthenticationService {
|
|
|
22
22
|
lastName?: string;
|
|
23
23
|
avatar?: string;
|
|
24
24
|
sex?: 0 | 1;
|
|
25
|
-
rights?: import("
|
|
25
|
+
rights?: import("wt-front-shared").UserSectionRightModel[];
|
|
26
26
|
user?: undefined;
|
|
27
27
|
} | {
|
|
28
28
|
id: string;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { CookiesOptions } from '../cookies-options';
|
|
3
|
+
import { CookiesService } from '../cookies.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BrowserCookiesService extends CookiesService {
|
|
6
|
+
protected injector: Injector;
|
|
7
|
+
get cookieString(): string;
|
|
8
|
+
set cookieString(val: string);
|
|
9
|
+
constructor(injector: Injector);
|
|
10
|
+
protected cookiesReader(): {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
protected cookiesWriter(): (name: string, value: string | undefined, options?: CookiesOptions) => void;
|
|
14
|
+
private buildCookieString;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BrowserCookiesService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BrowserCookiesService>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export interface CookiesOptions {
|
|
3
|
+
path?: string | null;
|
|
4
|
+
domain?: string | null;
|
|
5
|
+
expires?: string | Date | null;
|
|
6
|
+
secure?: boolean | null;
|
|
7
|
+
httpOnly?: boolean | null;
|
|
8
|
+
}
|
|
9
|
+
export declare const COOKIES_OPTIONS: InjectionToken<CookiesOptions>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { StorageService } from '../storage/storage.service';
|
|
3
|
+
import { CookiesOptions } from './cookies-options';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CookiesService implements StorageService {
|
|
6
|
+
protected injector: Injector;
|
|
7
|
+
protected options: CookiesOptions;
|
|
8
|
+
private defaultOptions;
|
|
9
|
+
constructor(injector: Injector);
|
|
10
|
+
setItem(key: string, value: string, options?: CookiesOptions): void;
|
|
11
|
+
putObject(key: string, value: Object, options?: CookiesOptions): void;
|
|
12
|
+
getItem(key: string): string;
|
|
13
|
+
getObject(key: string): {
|
|
14
|
+
[key: string]: string;
|
|
15
|
+
} | string;
|
|
16
|
+
getAll(): {
|
|
17
|
+
[key: string]: string;
|
|
18
|
+
};
|
|
19
|
+
removeItem(key: string, options?: CookiesOptions): void;
|
|
20
|
+
clear(): void;
|
|
21
|
+
protected cookiesReader(): {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
};
|
|
24
|
+
protected cookiesWriter(): (name: string, value: string | undefined, options?: CookiesOptions) => void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CookiesService, never>;
|
|
26
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CookiesService>;
|
|
27
|
+
}
|