wt-front-shared 16.0.1 → 17.0.2
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/esm2022/lib/core/+state/actions/actions.effects.mjs +4 -4
- package/esm2022/lib/core/+state/actions/actions.facade.mjs +4 -4
- package/esm2022/lib/core/+state/actions/behavios/action-send-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/base.effects.mjs +1 -1
- package/esm2022/lib/core/+state/cache-data/behavios/get-cache-data-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/cache-data/cache-data.effects.mjs +4 -4
- package/esm2022/lib/core/+state/cache-data/cache-data.facade.mjs +4 -4
- package/esm2022/lib/core/+state/cache-data/cache-data.reducer.mjs +1 -1
- package/esm2022/lib/core/+state/core.facade.mjs +4 -4
- package/esm2022/lib/core/+state/core.selectors.mjs +1 -1
- package/esm2022/lib/core/+state/files/behavios/file-delete-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/files/behavios/file-update-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/files/behavios/files-load-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/files/behavios/files-sort-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/files/files.effects.mjs +4 -4
- package/esm2022/lib/core/+state/files/files.facade.mjs +4 -4
- package/esm2022/lib/core/+state/files/files.selectors.mjs +1 -1
- package/esm2022/lib/core/+state/form-delete-file/behavios/form-delete-file-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/form-delete-file/form-delete-file.effects.mjs +4 -4
- package/esm2022/lib/core/+state/form-delete-file/form-delete-file.facade.mjs +4 -4
- package/esm2022/lib/core/+state/form-errors/form-errors.effects.mjs +4 -4
- package/esm2022/lib/core/+state/form-errors/form-errors.facade.mjs +4 -4
- package/esm2022/lib/core/+state/form-validation/behavios/form-validation-check-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/form-validation/form-validation.effects.mjs +4 -4
- package/esm2022/lib/core/+state/form-validation/form-validation.facade.mjs +4 -4
- package/esm2022/lib/core/+state/forms/forms.effects.mjs +5 -5
- package/esm2022/lib/core/+state/forms/forms.facade.mjs +4 -4
- package/esm2022/lib/core/+state/forms/forms.selectors.mjs +1 -1
- package/esm2022/lib/core/+state/main/main.effects.mjs +6 -6
- package/esm2022/lib/core/+state/main/main.facade.mjs +4 -4
- package/esm2022/lib/core/+state/notifications/notifications.effects.mjs +5 -5
- package/esm2022/lib/core/+state/notifications/notifications.facade.mjs +4 -4
- package/esm2022/lib/core/+state/publication-messages/behavios/publication-errors-post-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/publication-messages/behavios/un-publication-post-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/publication-messages/publication-messages.effects.mjs +4 -4
- package/esm2022/lib/core/+state/publication-messages/publication-messages.facade.mjs +4 -4
- package/esm2022/lib/core/+state/publication-messages/publication-messages.reducer.mjs +1 -1
- package/esm2022/lib/core/+state/reports/behavios/reports-entities-data-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/reports/behavios/user-behavior-get-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/reports/reports.effects.mjs +4 -4
- package/esm2022/lib/core/+state/reports/reports.facade.mjs +4 -4
- package/esm2022/lib/core/+state/reports/reports.reducer.mjs +1 -1
- package/esm2022/lib/core/+state/requests/requests.effects.mjs +4 -4
- package/esm2022/lib/core/+state/requests/requests.facade.mjs +4 -4
- package/esm2022/lib/core/+state/requests/requests.reducer.mjs +1 -1
- package/esm2022/lib/core/+state/router/custom-router-serializer.mjs +1 -1
- package/esm2022/lib/core/+state/router/router.effects.mjs +5 -5
- package/esm2022/lib/core/+state/router/router.facade.mjs +4 -4
- package/esm2022/lib/core/+state/router/router.selectors.mjs +1 -1
- package/esm2022/lib/core/+state/static-data/behavios/static-data-create-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/static-data/behavios/static-data-delete-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/static-data/behavios/static-data-get-list-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/static-data/behavios/static-data-get-list-categories-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/static-data/behavios/static-data-patch-update-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/static-data/behavios/static-data-update-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/static-data/static-data.effects.mjs +4 -4
- package/esm2022/lib/core/+state/static-data/static-data.facade.mjs +5 -5
- package/esm2022/lib/core/+state/static-data/static-data.reducer.mjs +1 -1
- package/esm2022/lib/core/+state/static-data/static-data.selectors.mjs +1 -1
- package/esm2022/lib/core/+state/tags/behavios/tag-entities-load-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/tags/behavios/tags-load-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/tags/tags.effects.mjs +4 -4
- package/esm2022/lib/core/+state/tags/tags.facade.mjs +4 -4
- package/esm2022/lib/core/+state/tags/tags.reducer.mjs +1 -1
- package/esm2022/lib/core/+state/tags/tags.selectors.mjs +1 -1
- package/esm2022/lib/core/+state/uiUnits/uiUnits.effects.mjs +4 -4
- package/esm2022/lib/core/+state/uiUnits/uiUnits.facade.mjs +4 -4
- package/esm2022/lib/core/+state/update-entities/update-entities.effects.mjs +4 -4
- package/esm2022/lib/core/+state/users/behavios/login-send-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/users/behavios/refresh-token-behavior.mjs +1 -1
- package/esm2022/lib/core/+state/users/users.effects.mjs +5 -5
- package/esm2022/lib/core/+state/users/users.facade.mjs +4 -4
- package/esm2022/lib/core/components/access-denied/access-denied.component.mjs +5 -5
- package/esm2022/lib/core/components/access-denied/access-denied.module.mjs +4 -4
- package/esm2022/lib/core/components/auto-form/auto-form.module.mjs +4 -4
- package/esm2022/lib/core/components/auto-form/components/form-field-file/form-field-file.component.mjs +5 -5
- package/esm2022/lib/core/components/auto-form/components/form-field-file-show/form-field-file-show.component.mjs +3 -3
- package/esm2022/lib/core/components/auto-form/components/form-field-files/form-field-files.component.mjs +5 -5
- package/esm2022/lib/core/components/auto-form/components/form-field-files-show/form-field-files-show.component.mjs +5 -5
- package/esm2022/lib/core/components/auto-form/components/form-field-input/form-field-input.component.mjs +5 -5
- package/esm2022/lib/core/components/auto-form/components/form-field-input-show/form-field-input-show.component.mjs +5 -5
- package/esm2022/lib/core/components/auto-form/components/form-field-json-show/form-field-json-show.component.mjs +5 -5
- package/esm2022/lib/core/components/auto-form/components/form-field-select/form-field-select.component.mjs +5 -5
- package/esm2022/lib/core/components/auto-form/components/form-field-select-show/form-field-select-show.component.mjs +5 -5
- package/esm2022/lib/core/components/auto-form/components/form-field-slide-toggle/form-field-slide-toggle.component.mjs +3 -3
- package/esm2022/lib/core/components/auto-form/components/form-field-slide-toggle-show/form-field-slide-toggle-show.component.mjs +3 -3
- package/esm2022/lib/core/components/auto-form/components/form-field-spinner/form-field-spinner.component.mjs +3 -3
- package/esm2022/lib/core/components/auto-form/components/form-field-tags/form-field-tags.component.mjs +5 -5
- package/esm2022/lib/core/components/auto-form/components/form-field-textarea-show/form-field-textarea-show.component.mjs +6 -6
- package/esm2022/lib/core/components/auto-form/components/form-message-box/form-message-box.component.mjs +5 -5
- package/esm2022/lib/core/components/auto-form/containers/auto-form-main/auto-form-main.component.mjs +5 -5
- package/esm2022/lib/core/components/auto-form/containers/auto-form-show/auto-form-show.component.mjs +4 -4
- package/esm2022/lib/core/components/auto-form/containers/auto-form-show-field/auto-form-show-field.component.mjs +5 -5
- package/esm2022/lib/core/components/auto-form/containers/form-field/form-field.component.mjs +6 -6
- package/esm2022/lib/core/components/auto-form/containers/publish-messages/publish-messages.component.mjs +6 -6
- package/esm2022/lib/core/components/bread-crumbs/bread-crumbs.component.mjs +5 -5
- package/esm2022/lib/core/components/bread-crumbs/bread-crumbs.module.mjs +4 -4
- package/esm2022/lib/core/components/button/button.component.mjs +5 -5
- package/esm2022/lib/core/components/button/button.module.mjs +4 -4
- package/esm2022/lib/core/components/chips-input/chips-input.component.mjs +5 -5
- package/esm2022/lib/core/components/chips-input/chips-input.module.mjs +9 -11
- package/esm2022/lib/core/components/files-upload/file-list-card/file-list-card.component.mjs +5 -5
- package/esm2022/lib/core/components/files-upload/files-upload/files-upload.component.mjs +5 -5
- package/esm2022/lib/core/components/files-upload/files-upload-list-images/files-upload-list-images.component.mjs +5 -5
- package/esm2022/lib/core/components/files-upload/files-upload.module.mjs +4 -4
- package/esm2022/lib/core/components/files-upload/table-files-uploading/table-files-uploading.component.mjs +6 -6
- package/esm2022/lib/core/components/form-field-error/form-field-error.component.mjs +5 -5
- package/esm2022/lib/core/components/form-field-error/form-field-error.module.mjs +4 -4
- package/esm2022/lib/core/components/form-field-publish-error/form-field-publish-error.component.mjs +5 -5
- package/esm2022/lib/core/components/form-field-publish-error/form-field-publish-error.module.mjs +4 -4
- package/esm2022/lib/core/components/header/header.component.mjs +5 -5
- package/esm2022/lib/core/components/header/header.module.mjs +4 -4
- package/esm2022/lib/core/components/icon/icon.component.mjs +4 -4
- package/esm2022/lib/core/components/icon/icon.module.mjs +4 -4
- package/esm2022/lib/core/components/image/image.component.mjs +5 -5
- package/esm2022/lib/core/components/image/image.module.mjs +4 -4
- package/esm2022/lib/core/components/input-tags/input-tags.component.mjs +4 -4
- package/esm2022/lib/core/components/input-tags/input-tags.module.mjs +4 -4
- package/esm2022/lib/core/components/pagination/pagination.component.mjs +6 -6
- package/esm2022/lib/core/components/pagination/pagination.module.mjs +4 -4
- package/esm2022/lib/core/components/panel/panel.component.mjs +5 -5
- package/esm2022/lib/core/components/panel/panel.module.mjs +4 -4
- package/esm2022/lib/core/components/panel-header/panel-header.component.mjs +5 -5
- package/esm2022/lib/core/components/panel-header/panel-header.module.mjs +4 -4
- package/esm2022/lib/core/components/site-helper/configs/publication-error-tour.config.mjs +1 -1
- package/esm2022/lib/core/components/site-helper/site-helper.component.mjs +5 -5
- package/esm2022/lib/core/components/site-helper/site-helper.module.mjs +4 -4
- package/esm2022/lib/core/components/smart-progress-bar/smart-progress-bar.component.mjs +4 -4
- package/esm2022/lib/core/components/smart-progress-bar/smart-progress-bar.module.mjs +4 -4
- package/esm2022/lib/core/components/spinner/spinner.component.mjs +5 -5
- package/esm2022/lib/core/components/spinner/spinner.module.mjs +4 -4
- package/esm2022/lib/core/components/star-rating/star-rating.component.mjs +5 -5
- package/esm2022/lib/core/components/star-rating/star-rating.module.mjs +4 -4
- package/esm2022/lib/core/components/static-data/components/static-data-list-items/static-data-list-items.component.mjs +5 -5
- package/esm2022/lib/core/components/static-data/containers/static-data-details/static-data-details.component.mjs +5 -5
- package/esm2022/lib/core/components/static-data/containers/static-data-items/static-data-items.component.mjs +5 -5
- package/esm2022/lib/core/components/static-data/containers/static-data-list/static-data-list.component.mjs +4 -4
- package/esm2022/lib/core/components/static-data/interfaces/component-input-data.interface.mjs +3 -3
- package/esm2022/lib/core/components/static-data/static-data-routing.module.mjs +4 -4
- package/esm2022/lib/core/components/static-data/static-data.module.mjs +4 -4
- package/esm2022/lib/core/components/sticky-sidebar/sticky-sidebar.directive.mjs +11 -11
- package/esm2022/lib/core/components/sticky-sidebar/sticky-sidebar.module.mjs +4 -4
- package/esm2022/lib/core/components/table-menu/table-menu.component.mjs +5 -5
- package/esm2022/lib/core/components/table-menu/table-menu.module.mjs +4 -4
- package/esm2022/lib/core/components/tag-cloud/tag-cloud.component.mjs +4 -4
- package/esm2022/lib/core/components/tag-cloud/tag-cloud.module.mjs +4 -4
- package/esm2022/lib/core/components/text-with-link-more/text-with-link-more.component.mjs +5 -5
- package/esm2022/lib/core/components/text-with-link-more/text-with-link-more.module.mjs +4 -4
- package/esm2022/lib/core/dialogs/common-dialog/common-dialog.component.mjs +6 -6
- package/esm2022/lib/core/dialogs/delete/delete.component.mjs +5 -5
- package/esm2022/lib/core/dialogs/dialog.service.mjs +4 -4
- package/esm2022/lib/core/dialogs/dialogs.module.mjs +4 -4
- package/esm2022/lib/core/dialogs/select-dialog/select-dialog.component.mjs +5 -5
- package/esm2022/lib/core/interceptors/headers.interceptor.mjs +5 -5
- package/esm2022/lib/core/interceptors/jwt.interceptor.mjs +5 -5
- package/esm2022/lib/core/pipes/count-format.pipe.mjs +4 -4
- package/esm2022/lib/core/pipes/date-format.pipe.mjs +4 -4
- package/esm2022/lib/core/pipes/phone.pipe.mjs +3 -3
- package/esm2022/lib/core/pipes/pipes.module.mjs +4 -4
- package/esm2022/lib/core/pipes/safe.pipe.mjs +5 -5
- package/esm2022/lib/core/services/actions/actions-api.mjs +1 -1
- package/esm2022/lib/core/services/actions/actions.service.mjs +5 -5
- package/esm2022/lib/core/services/auth/authentication.service.mjs +6 -6
- package/esm2022/lib/core/services/auto-form/auto-form.service.mjs +5 -5
- package/esm2022/lib/core/services/base/base-api-service.mjs +1 -1
- package/esm2022/lib/core/services/base-auto-form/base-auto-form.service.mjs +4 -4
- package/esm2022/lib/core/services/cache-data/cache-data-api.mjs +1 -1
- package/esm2022/lib/core/services/cache-data/cache-data.service.mjs +5 -5
- package/esm2022/lib/core/services/cookies/browser/browser-cookies.service.mjs +5 -5
- package/esm2022/lib/core/services/cookies/cookies.service.mjs +4 -4
- package/esm2022/lib/core/services/cookies/utils.mjs +1 -1
- package/esm2022/lib/core/services/files/files-api.mjs +1 -1
- package/esm2022/lib/core/services/files/files.service.mjs +5 -5
- package/esm2022/lib/core/services/form-delete-file/form-delete-file-api.mjs +1 -1
- package/esm2022/lib/core/services/form-delete-file/form-delete-file.service.mjs +5 -5
- package/esm2022/lib/core/services/form-validation/form-validation-api.mjs +1 -1
- package/esm2022/lib/core/services/form-validation/form-validation.service.mjs +5 -5
- package/esm2022/lib/core/services/model-services/tags/tags-api.mjs +1 -1
- package/esm2022/lib/core/services/model-services/tags/tags.service.mjs +5 -5
- package/esm2022/lib/core/services/publish/publish-api.mjs +1 -1
- package/esm2022/lib/core/services/publish/publish.service.mjs +5 -5
- package/esm2022/lib/core/services/reducer/reducer.service.mjs +1 -1
- package/esm2022/lib/core/services/reports/reports-api.mjs +1 -1
- package/esm2022/lib/core/services/reports/reports.service.mjs +5 -5
- package/esm2022/lib/core/services/right-service.mjs +5 -5
- package/esm2022/lib/core/services/router/router.service.mjs +4 -4
- package/esm2022/lib/core/services/seo.service.mjs +4 -4
- package/esm2022/lib/core/services/social/providers/base-login-provider.mjs +1 -1
- package/esm2022/lib/core/services/social/social-auth-service-config.mjs +1 -1
- package/esm2022/lib/core/services/social/social-auth-service.mjs +6 -6
- package/esm2022/lib/core/services/static-data/static-data-api.mjs +1 -1
- package/esm2022/lib/core/services/static-data/static-data.service.mjs +5 -5
- package/esm2022/lib/core/services/storage/storage.service.mjs +3 -3
- package/esm2022/lib/core/services/users/users-api.mjs +1 -1
- package/esm2022/lib/core/services/users/users.service.mjs +5 -5
- package/esm2022/lib/core/services/websocket.service.mjs +6 -6
- package/esm2022/lib/core/utils/component-destroyed.mjs +1 -1
- package/esm2022/lib/models/endpoints/auth/login-send/response/login-send-create-response-factory.mjs +1 -1
- package/esm2022/lib/models/endpoints/auth/refresh-token/response/refresh-token-response-factory.mjs +1 -1
- package/esm2022/lib/models/endpoints/base-response/base-response-factory.mjs +1 -1
- package/esm2022/lib/models/endpoints/files/files-delete/response/files-delete-response-factory.mjs +1 -1
- package/esm2022/lib/models/endpoints/files/files-load/response/files-load-response-factory.mjs +1 -1
- package/esm2022/lib/models/endpoints/files/files-sort/response/files-sort-response-factory.mjs +1 -1
- package/esm2022/lib/models/endpoints/files/files-update/response/files-update-response-factory.mjs +1 -1
- package/esm2022/lib/models/endpoints/form-validation/form-validation-check/request/form-validation-check-request.mjs +1 -1
- package/esm2022/lib/models/endpoints/http/request/get-request.mjs +1 -1
- package/esm2022/lib/models/endpoints/http/request/request.mjs +1 -1
- package/esm2022/lib/models/endpoints/static-data/static-data-get/request/static-data-get-request.mjs +1 -1
- package/esm2022/lib/models/endpoints/static-data/static-data-get-list/request/static-data-get-list-request.mjs +1 -1
- package/esm2022/lib/models/endpoints/static-data/static-data-sub-routing-get/request/static-data-sub-routing-get-request.mjs +1 -1
- package/esm2022/lib/models/endpoints/tags/tags-load/request/tags-load-request.mjs +1 -1
- package/esm2022/lib/models/endpoints/tags/tags-load/response/tags-load-response-factory.mjs +1 -1
- package/esm2022/lib/models/mapper/mapper-util.mjs +1 -1
- package/esm2022/lib/models/mapper/mapper.mjs +1 -1
- package/esm2022/lib/models/model-adapter/base-model-adapter.mjs +1 -1
- package/esm2022/lib/models/query-fields-adapter/query-fileds-adapter.mjs +1 -1
- package/esm2022/lib/wt-front-shared.module.mjs +4 -4
- package/fesm2022/wt-front-shared.mjs +600 -602
- package/fesm2022/wt-front-shared.mjs.map +1 -1
- package/lib/core/+state/static-data/static-data.selectors.d.ts +1 -1
- package/lib/core/components/chips-input/chips-input.module.d.ts +1 -2
- package/package.json +3 -3
|
@@ -69,7 +69,6 @@ import { MatTabsModule } from '@angular/material/tabs';
|
|
|
69
69
|
import { MatSort } from '@angular/material/sort';
|
|
70
70
|
import * as i2$6 from '@angular/material/menu';
|
|
71
71
|
import { MatMenuModule } from '@angular/material/menu';
|
|
72
|
-
import { MatLegacyChipsModule } from '@angular/material/legacy-chips';
|
|
73
72
|
import * as i1$6 from '@angular/cdk/platform';
|
|
74
73
|
import moment from 'moment';
|
|
75
74
|
|
|
@@ -85,11 +84,11 @@ class WtFrontSharedModule {
|
|
|
85
84
|
]
|
|
86
85
|
};
|
|
87
86
|
}
|
|
88
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
89
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
90
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
87
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WtFrontSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
88
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: WtFrontSharedModule }); }
|
|
89
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WtFrontSharedModule }); }
|
|
91
90
|
}
|
|
92
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
91
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WtFrontSharedModule, decorators: [{
|
|
93
92
|
type: NgModule,
|
|
94
93
|
args: [{
|
|
95
94
|
declarations: [],
|
|
@@ -188,16 +187,16 @@ class AuthenticationService {
|
|
|
188
187
|
}
|
|
189
188
|
return undefined;
|
|
190
189
|
}
|
|
191
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
192
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
190
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AuthenticationService, deps: [{ token: PLATFORM_ID }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
191
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AuthenticationService, providedIn: 'root' }); }
|
|
193
192
|
}
|
|
194
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AuthenticationService, decorators: [{
|
|
195
194
|
type: Injectable,
|
|
196
195
|
args: [{ providedIn: 'root' }]
|
|
197
|
-
}], ctorParameters:
|
|
196
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
198
197
|
type: Inject,
|
|
199
198
|
args: [PLATFORM_ID]
|
|
200
|
-
}] }, { type: i2.ActivatedRoute }]
|
|
199
|
+
}] }, { type: i2.ActivatedRoute }] });
|
|
201
200
|
|
|
202
201
|
var AsyncValidatorsMessages;
|
|
203
202
|
(function (AsyncValidatorsMessages) {
|
|
@@ -2354,13 +2353,13 @@ class RequestsFacade {
|
|
|
2354
2353
|
getRequestUpdates(endPointUrl, method, itemId, secondEndpointUrl) {
|
|
2355
2354
|
return this.store.pipe(select(requestsQuery.getRequestInfo(endPointUrl, method, itemId, secondEndpointUrl)), filter(data => !!data && !!data.status));
|
|
2356
2355
|
}
|
|
2357
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2358
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2356
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RequestsFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2357
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RequestsFacade, providedIn: "root" }); }
|
|
2359
2358
|
}
|
|
2360
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2359
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RequestsFacade, decorators: [{
|
|
2361
2360
|
type: Injectable,
|
|
2362
2361
|
args: [{ providedIn: "root" }]
|
|
2363
|
-
}], ctorParameters:
|
|
2362
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
2364
2363
|
|
|
2365
2364
|
/**
|
|
2366
2365
|
*
|
|
@@ -2445,13 +2444,13 @@ class FormsFacade {
|
|
|
2445
2444
|
removeForm(formId) {
|
|
2446
2445
|
this.store.dispatch(DeleteForm({ payload: { formId } }));
|
|
2447
2446
|
}
|
|
2448
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2449
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2447
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormsFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2448
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormsFacade, providedIn: 'root' }); }
|
|
2450
2449
|
}
|
|
2451
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormsFacade, decorators: [{
|
|
2452
2451
|
type: Injectable,
|
|
2453
2452
|
args: [{ providedIn: 'root' }]
|
|
2454
|
-
}], ctorParameters:
|
|
2453
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
2455
2454
|
|
|
2456
2455
|
class UsersService extends BaseAPIService {
|
|
2457
2456
|
constructor(httpClient, config, requestsFacade, formsFacade) {
|
|
@@ -2468,18 +2467,18 @@ class UsersService extends BaseAPIService {
|
|
|
2468
2467
|
refreshToken(config) {
|
|
2469
2468
|
return this.doRequest(config, AuthEndpointTypes.REFRESH_TOKEN);
|
|
2470
2469
|
}
|
|
2471
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2472
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2470
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UsersService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2471
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UsersService, providedIn: 'root' }); }
|
|
2473
2472
|
}
|
|
2474
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2473
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UsersService, decorators: [{
|
|
2475
2474
|
type: Injectable,
|
|
2476
2475
|
args: [{
|
|
2477
2476
|
providedIn: 'root'
|
|
2478
2477
|
}]
|
|
2479
|
-
}], ctorParameters:
|
|
2478
|
+
}], ctorParameters: () => [{ type: i1$1.HttpClient }, { type: undefined, decorators: [{
|
|
2480
2479
|
type: Inject,
|
|
2481
2480
|
args: [CORE_CONFIG]
|
|
2482
|
-
}] }, { type: RequestsFacade }, { type: FormsFacade }]
|
|
2481
|
+
}] }, { type: RequestsFacade }, { type: FormsFacade }] });
|
|
2483
2482
|
|
|
2484
2483
|
class CustomSerializer {
|
|
2485
2484
|
serialize(routerState) {
|
|
@@ -2615,12 +2614,12 @@ class RouterEffects {
|
|
|
2615
2614
|
}
|
|
2616
2615
|
return path;
|
|
2617
2616
|
}
|
|
2618
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2619
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2617
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RouterEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: i2.Router }, { token: i1$3.Location }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2618
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RouterEffects }); }
|
|
2620
2619
|
}
|
|
2621
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RouterEffects, decorators: [{
|
|
2622
2621
|
type: Injectable
|
|
2623
|
-
}], ctorParameters:
|
|
2622
|
+
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: i2.Router }, { type: i1$3.Location }] });
|
|
2624
2623
|
|
|
2625
2624
|
class RouterService {
|
|
2626
2625
|
constructor(store) {
|
|
@@ -2630,13 +2629,13 @@ class RouterService {
|
|
|
2630
2629
|
console.info('[ router.service.navigation ]', src, extras);
|
|
2631
2630
|
this.store.dispatch(Go({ payload: { path: [src], extras } }));
|
|
2632
2631
|
}
|
|
2633
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2634
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2632
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RouterService, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2633
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RouterService, providedIn: 'root' }); }
|
|
2635
2634
|
}
|
|
2636
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2635
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RouterService, decorators: [{
|
|
2637
2636
|
type: Injectable,
|
|
2638
2637
|
args: [{ providedIn: 'root' }]
|
|
2639
|
-
}], ctorParameters:
|
|
2638
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
2640
2639
|
|
|
2641
2640
|
class ActionsApi extends BaseAPI {
|
|
2642
2641
|
constructor(domain) {
|
|
@@ -2671,18 +2670,18 @@ class ActionsService extends BaseAPIService {
|
|
|
2671
2670
|
sendAction(config) {
|
|
2672
2671
|
return this.doRequest(config, ActionsEndpointTypes.SEND_ACTION);
|
|
2673
2672
|
}
|
|
2674
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2675
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2673
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ActionsService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2674
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ActionsService, providedIn: "root" }); }
|
|
2676
2675
|
}
|
|
2677
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2676
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ActionsService, decorators: [{
|
|
2678
2677
|
type: Injectable,
|
|
2679
2678
|
args: [{
|
|
2680
2679
|
providedIn: "root"
|
|
2681
2680
|
}]
|
|
2682
|
-
}], ctorParameters:
|
|
2681
|
+
}], ctorParameters: () => [{ type: i1$1.HttpClient }, { type: undefined, decorators: [{
|
|
2683
2682
|
type: Inject,
|
|
2684
2683
|
args: [CORE_CONFIG]
|
|
2685
|
-
}] }, { type: RequestsFacade }, { type: FormsFacade }]
|
|
2684
|
+
}] }, { type: RequestsFacade }, { type: FormsFacade }] });
|
|
2686
2685
|
|
|
2687
2686
|
class NotificationsFacade {
|
|
2688
2687
|
constructor(store) {
|
|
@@ -2706,13 +2705,13 @@ class NotificationsFacade {
|
|
|
2706
2705
|
};
|
|
2707
2706
|
this.store.dispatch(NotificationAdd({ payload }));
|
|
2708
2707
|
}
|
|
2709
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2710
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2708
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotificationsFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2709
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotificationsFacade, providedIn: "root" }); }
|
|
2711
2710
|
}
|
|
2712
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2711
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotificationsFacade, decorators: [{
|
|
2713
2712
|
type: Injectable,
|
|
2714
2713
|
args: [{ providedIn: "root" }]
|
|
2715
|
-
}], ctorParameters:
|
|
2714
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
2716
2715
|
|
|
2717
2716
|
const NOTIFICATIONS_FEATURE_KEY = 'notifications';
|
|
2718
2717
|
const initialState$c = {
|
|
@@ -2880,13 +2879,13 @@ class UsersEffects {
|
|
|
2880
2879
|
this.authenticationService.saveRefreshToken(token, tokenExp, refreshToken);
|
|
2881
2880
|
})));
|
|
2882
2881
|
}
|
|
2883
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2884
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2882
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UsersEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: UsersService }, { token: AuthenticationService }, { token: RouterService }, { token: ActionsService }, { token: NotificationsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2883
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UsersEffects, providedIn: "root" }); }
|
|
2885
2884
|
}
|
|
2886
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UsersEffects, decorators: [{
|
|
2887
2886
|
type: Injectable,
|
|
2888
2887
|
args: [{ providedIn: "root" }]
|
|
2889
|
-
}], ctorParameters:
|
|
2888
|
+
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: UsersService }, { type: AuthenticationService }, { type: RouterService }, { type: ActionsService }, { type: NotificationsFacade }] });
|
|
2890
2889
|
|
|
2891
2890
|
const USERS_FEATURE_KEY = 'users';
|
|
2892
2891
|
const initialState$b = {
|
|
@@ -2962,15 +2961,15 @@ class UsersFacade {
|
|
|
2962
2961
|
setLoaded() {
|
|
2963
2962
|
this.store.dispatch(SetLoaded());
|
|
2964
2963
|
}
|
|
2965
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2966
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2964
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UsersFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2965
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UsersFacade, providedIn: "root" }); }
|
|
2967
2966
|
}
|
|
2968
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2967
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UsersFacade, decorators: [{
|
|
2969
2968
|
type: Injectable,
|
|
2970
2969
|
args: [{
|
|
2971
2970
|
providedIn: "root"
|
|
2972
2971
|
}]
|
|
2973
|
-
}], ctorParameters:
|
|
2972
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
2974
2973
|
|
|
2975
2974
|
const appearFromRightWithDelay = trigger('appearFromRightWithDelay', [
|
|
2976
2975
|
transition(':enter', [
|
|
@@ -3744,13 +3743,13 @@ class StaticDataFacade {
|
|
|
3744
3743
|
}));
|
|
3745
3744
|
});
|
|
3746
3745
|
}
|
|
3747
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3748
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3746
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3747
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataFacade, providedIn: 'root' }); }
|
|
3749
3748
|
}
|
|
3750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataFacade, decorators: [{
|
|
3751
3750
|
type: Injectable,
|
|
3752
3751
|
args: [{ providedIn: 'root' }]
|
|
3753
|
-
}], ctorParameters:
|
|
3752
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
3754
3753
|
|
|
3755
3754
|
var IFormFieldFormat;
|
|
3756
3755
|
(function (IFormFieldFormat) {
|
|
@@ -3868,10 +3867,10 @@ class BaseAutoFormService {
|
|
|
3868
3867
|
});
|
|
3869
3868
|
return newText;
|
|
3870
3869
|
}
|
|
3871
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3872
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3870
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaseAutoFormService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3871
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaseAutoFormService, providedIn: 'root' }); }
|
|
3873
3872
|
}
|
|
3874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3873
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BaseAutoFormService, decorators: [{
|
|
3875
3874
|
type: Injectable,
|
|
3876
3875
|
args: [{ providedIn: 'root' }]
|
|
3877
3876
|
}] });
|
|
@@ -3933,13 +3932,13 @@ class FormValidationFacade {
|
|
|
3933
3932
|
getValidation(type, value) {
|
|
3934
3933
|
return this.store.pipe(select(formValidationQuery.getFormValidation(type, value)));
|
|
3935
3934
|
}
|
|
3936
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3937
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3935
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormValidationFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3936
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormValidationFacade, providedIn: "root" }); }
|
|
3938
3937
|
}
|
|
3939
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3938
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormValidationFacade, decorators: [{
|
|
3940
3939
|
type: Injectable,
|
|
3941
3940
|
args: [{ providedIn: "root" }]
|
|
3942
|
-
}], ctorParameters:
|
|
3941
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
3943
3942
|
|
|
3944
3943
|
class AutoFormService extends BaseAutoFormService {
|
|
3945
3944
|
constructor(formValidationFacade, notificationsFacade) {
|
|
@@ -4075,13 +4074,13 @@ class AutoFormService extends BaseAutoFormService {
|
|
|
4075
4074
|
replaceAll(str, a, b) {
|
|
4076
4075
|
return str.replace(new RegExp(a, 'g'), b);
|
|
4077
4076
|
}
|
|
4078
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4079
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4077
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AutoFormService, deps: [{ token: FormValidationFacade }, { token: NotificationsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4078
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AutoFormService, providedIn: "root" }); }
|
|
4080
4079
|
}
|
|
4081
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AutoFormService, decorators: [{
|
|
4082
4081
|
type: Injectable,
|
|
4083
4082
|
args: [{ providedIn: "root" }]
|
|
4084
|
-
}], ctorParameters:
|
|
4083
|
+
}], ctorParameters: () => [{ type: FormValidationFacade }, { type: NotificationsFacade }] });
|
|
4085
4084
|
|
|
4086
4085
|
/**
|
|
4087
4086
|
* Icon component.
|
|
@@ -4108,10 +4107,10 @@ class IconComponent {
|
|
|
4108
4107
|
this.iconSize = `s-18`;
|
|
4109
4108
|
}
|
|
4110
4109
|
}
|
|
4111
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4112
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4110
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: IconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4111
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: IconComponent, selector: "shared-ui-icon", inputs: { icon: "icon", size: "size", color: "color" }, usesOnChanges: true, ngImport: i0, template: "<mat-icon\n [ngClass]=\"'icon-size-' + size + ' color-' + color + ' ' + iconSize\"\n class=\"secondary-text mat-icon notranslate material-icons\" role=\"img\" aria-hidden=\"true\">{{icon}}</mat-icon>\n", styles: [":host{display:inline-flex;align-items:center}.orange_gray{color:#c17e5d!important}.color-yellow{color:#fcb202!important}.color-red{color:#f44336!important}.color-white{color:#fff9!important}.color-black{color:#000000de!important}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4113
4112
|
}
|
|
4114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: IconComponent, decorators: [{
|
|
4115
4114
|
type: Component,
|
|
4116
4115
|
args: [{ selector: 'shared-ui-icon', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-icon\n [ngClass]=\"'icon-size-' + size + ' color-' + color + ' ' + iconSize\"\n class=\"secondary-text mat-icon notranslate material-icons\" role=\"img\" aria-hidden=\"true\">{{icon}}</mat-icon>\n", styles: [":host{display:inline-flex;align-items:center}.orange_gray{color:#c17e5d!important}.color-yellow{color:#fcb202!important}.color-red{color:#f44336!important}.color-white{color:#fff9!important}.color-black{color:#000000de!important}\n"] }]
|
|
4117
4116
|
}], propDecorators: { icon: [{
|
|
@@ -4131,13 +4130,13 @@ class SpinnerComponent {
|
|
|
4131
4130
|
}
|
|
4132
4131
|
ngOnInit() {
|
|
4133
4132
|
}
|
|
4134
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4135
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4133
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4134
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SpinnerComponent, selector: "shared-spinner", inputs: { overlay: "overlay", diameter: "diameter", color: "color", position: "position" }, ngImport: i0, template: "<div [ngClass]=\"{\n overlay: overlay,\n 'grey-color': color === 'grey',\n 'align-center': position === 'center',\n 'align-right': position === 'right'\n }\">\n <mat-progress-spinner\n class=\"example-margin\"\n color=\"accent\"\n [diameter]=\"diameter\"\n mode=\"indeterminate\">\n </mat-progress-spinner>\n</div>\n", styles: [".overlay{position:absolute;inset:0;background:#1e2129ad;z-index:100;display:flex;justify-content:center;align-items:center}.align-center{display:flex;justify-content:center}.align-right{display:flex;justify-content:right}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2$2.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4136
4135
|
}
|
|
4137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SpinnerComponent, decorators: [{
|
|
4138
4137
|
type: Component,
|
|
4139
4138
|
args: [{ selector: 'shared-spinner', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{\n overlay: overlay,\n 'grey-color': color === 'grey',\n 'align-center': position === 'center',\n 'align-right': position === 'right'\n }\">\n <mat-progress-spinner\n class=\"example-margin\"\n color=\"accent\"\n [diameter]=\"diameter\"\n mode=\"indeterminate\">\n </mat-progress-spinner>\n</div>\n", styles: [".overlay{position:absolute;inset:0;background:#1e2129ad;z-index:100;display:flex;justify-content:center;align-items:center}.align-center{display:flex;justify-content:center}.align-right{display:flex;justify-content:right}\n"] }]
|
|
4140
|
-
}], ctorParameters:
|
|
4139
|
+
}], ctorParameters: () => [], propDecorators: { overlay: [{
|
|
4141
4140
|
type: Input
|
|
4142
4141
|
}], diameter: [{
|
|
4143
4142
|
type: Input
|
|
@@ -4204,8 +4203,8 @@ class ButtonComponent {
|
|
|
4204
4203
|
this.clickButton.emit(true);
|
|
4205
4204
|
}
|
|
4206
4205
|
}
|
|
4207
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4208
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4206
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4207
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ButtonComponent, selector: "shared-button", inputs: { icon: "icon", iconColor: "iconColor", iconSize: "iconSize", rightIcon: "rightIcon", disabled: "disabled", loading: "loading", active: "active", stopPropagation: "stopPropagation", type: "type", color: "color", size: "size", styleTheme: "styleTheme", tooltip: "tooltip", tooltipPosition: "tooltipPosition" }, outputs: { clickButton: "clickButton" }, usesOnChanges: true, ngImport: i0, template: "<button\n *ngIf=\"styleTheme === 'basic'\"\n mat-button\n class=\"button-effect\"\n [color]=\"'accent'\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [ngClass]=\"[size]\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'raised'\"\n mat-raised-button\n class=\"button-effect\"\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [ngClass]=\"[size]\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'stroked'\"\n mat-stroked-button\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [ngClass]=\"[size]\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'flat'\"\n mat-flat-button\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [ngClass]=\"[size]\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container\n *ngTemplateOutlet=\"innerButton; context:{loading: loading, icon: icon, color: color, size: size}\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'fab'\"\n mat-fab\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [ngClass]=\"[size]\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'mini-fab'\"\n mat-mini-fab\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [ngClass]=\"[size]\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<ng-template #innerButton\n let-loading=\"loading\"\n let-iconColor=\"iconColor\"\n let-buttonIconSize=\"buttonIconSize\"\n let-icon=\"icon\"\n let-disabled=\"disabled\">\n <shared-ui-icon *ngIf=\"icon\"\n [color]=\"iconColor\"\n [size]=\"buttonIconSize\"\n [icon]=\"icon\"\n [ngClass]=\"[icon]\"></shared-ui-icon>\n <span @appearOpacity\n class=\"text\"\n #text>\n <ng-content></ng-content>\n </span>\n <shared-spinner\n @spinnerAnimation\n *ngIf=\"loading\"\n class=\"loader button-loader\"\n [diameter]=\"spinnerDiameter\"></shared-spinner>\n <div *ngIf=\"!disabled && !loading\" class=\"button-effect-spans\">\n <span class=\"button-effect-span\"></span>\n <span class=\"button-effect-span\"></span>\n <span class=\"button-effect-span\"></span>\n <span class=\"button-effect-span\"></span>\n </div>\n</ng-template>\n", styles: ["shared-ui-icon{margin-left:0!important;margin-right:5px!important}.button-loader{position:absolute}button{line-height:normal;margin:0}button .mdc-button__label{display:flex;align-items:center}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2$3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: IconComponent, selector: "shared-ui-icon", inputs: ["icon", "size", "color"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i5.MatMiniFabButton, selector: "button[mat-mini-fab]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i5.MatFabButton, selector: "button[mat-fab]", inputs: ["disabled", "disableRipple", "color", "tabIndex", "extended"], exportAs: ["matButton"] }], animations: [
|
|
4209
4208
|
trigger('spinnerAnimation', [
|
|
4210
4209
|
transition(':enter', [
|
|
4211
4210
|
animate('300ms', keyframes([
|
|
@@ -4223,7 +4222,7 @@ class ButtonComponent {
|
|
|
4223
4222
|
appearOpacity
|
|
4224
4223
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4225
4224
|
}
|
|
4226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
4227
4226
|
type: Component,
|
|
4228
4227
|
args: [{ selector: 'shared-button', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
4229
4228
|
trigger('spinnerAnimation', [
|
|
@@ -4242,7 +4241,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4242
4241
|
]),
|
|
4243
4242
|
appearOpacity
|
|
4244
4243
|
], template: "<button\n *ngIf=\"styleTheme === 'basic'\"\n mat-button\n class=\"button-effect\"\n [color]=\"'accent'\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [ngClass]=\"[size]\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'raised'\"\n mat-raised-button\n class=\"button-effect\"\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [ngClass]=\"[size]\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'stroked'\"\n mat-stroked-button\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [ngClass]=\"[size]\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'flat'\"\n mat-flat-button\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [ngClass]=\"[size]\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container\n *ngTemplateOutlet=\"innerButton; context:{loading: loading, icon: icon, color: color, size: size}\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'fab'\"\n mat-fab\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [ngClass]=\"[size]\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<button\n *ngIf=\"styleTheme === 'mini-fab'\"\n mat-mini-fab\n [color]=\"color\"\n [type]=\"type\"\n [disabled]=\"disabled || loading\"\n [ngClass]=\"[size]\"\n [matTooltip]=\"tooltip\"\n [matTooltipPosition]=\"tooltipPosition\"\n [matTooltipDisabled]=\"disabled\"\n (click)=\"onClick($event)\"\n [class.active]=\"active\"\n [class.has-right-icon]=\"rightIcon\">\n <ng-container *ngTemplateOutlet=\"innerButton; context: context\"></ng-container>\n</button>\n<ng-template #innerButton\n let-loading=\"loading\"\n let-iconColor=\"iconColor\"\n let-buttonIconSize=\"buttonIconSize\"\n let-icon=\"icon\"\n let-disabled=\"disabled\">\n <shared-ui-icon *ngIf=\"icon\"\n [color]=\"iconColor\"\n [size]=\"buttonIconSize\"\n [icon]=\"icon\"\n [ngClass]=\"[icon]\"></shared-ui-icon>\n <span @appearOpacity\n class=\"text\"\n #text>\n <ng-content></ng-content>\n </span>\n <shared-spinner\n @spinnerAnimation\n *ngIf=\"loading\"\n class=\"loader button-loader\"\n [diameter]=\"spinnerDiameter\"></shared-spinner>\n <div *ngIf=\"!disabled && !loading\" class=\"button-effect-spans\">\n <span class=\"button-effect-span\"></span>\n <span class=\"button-effect-span\"></span>\n <span class=\"button-effect-span\"></span>\n <span class=\"button-effect-span\"></span>\n </div>\n</ng-template>\n", styles: ["shared-ui-icon{margin-left:0!important;margin-right:5px!important}.button-loader{position:absolute}button{line-height:normal;margin:0}button .mdc-button__label{display:flex;align-items:center}\n"] }]
|
|
4245
|
-
}], ctorParameters:
|
|
4244
|
+
}], ctorParameters: () => [], propDecorators: { icon: [{
|
|
4246
4245
|
type: Input
|
|
4247
4246
|
}], iconColor: [{
|
|
4248
4247
|
type: Input
|
|
@@ -4343,16 +4342,16 @@ class CommonDialogComponent {
|
|
|
4343
4342
|
this.dialogRef.close(undefined);
|
|
4344
4343
|
}
|
|
4345
4344
|
}
|
|
4346
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4347
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4345
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CommonDialogComponent, deps: [{ token: i1$4.MatDialogRef }, { token: StaticDataFacade }, { token: i3.UntypedFormBuilder }, { token: AutoFormService }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4346
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: CommonDialogComponent, selector: "app-common-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.size-big]=\"data.size === sizeValues.big\"\n [class.size-middle]=\"data.size === sizeValues.middle\"\n [class.size-small]=\"data.size === sizeValues.small\"\n [class.style-success]=\"data.messageType === typesValues.success\"\n [class.style-error]=\"data.messageType === typesValues.error\"\n [class.style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h1 class=\"mat-dialog-title\" [class.display-none]=\"!data.title\">{{data.title}}</h1>\n <div mat-dialog-content>\n <p *ngIf=\"data.message\" [innerHTML]=\"data.message\"></p>\n <ng-container *ngIf=\"data.formConfig\">\n <form [formGroup]=\"form\">\n --shared-auto-form(formId: {{formId}}, itemId: {{data.formConfig.itemId}})--\n <!--<shared-auto-form\n class=\"mb-20\"\n [entity]=\"data.formConfig.entity\"\n [itemId]=\"data.formConfig.itemId\"\n [formId]=\"formId\"\n [fields]=\"data.formConfig.fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue()\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>-->\n\n <!--<div *ngIf=\"staticSection.globalActions\" class=\"global-actions\">\n <div *ngFor=\"let action of staticSection.globalActions\"\n (click)=\"globalActionHandle(action)\" class=\"global-action\">\n {{ action.title }}\n </div>\n </div>-->\n <div @appearFromLeftWithDelay\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n class=\"mt-20\">\n <shared-button\n id=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C</shared-button>\n </div>\n </form>\n </ng-container>\n </div>\n <div [class.display-none]=\"data.hideButton\" mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>{{data.falseButtonTitle || '\u041D\u0435\u0442' }}</button>\n <button mat-button\n *ngIf=\"!data.formConfig\"\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n class=\"mat-raised-button mat-warn\">{{data.trueButtonTitle || '\u0414\u0430' }}</button>\n </div>\n</div>\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-success{border-left:5px solid #4caf50;background:linear-gradient(15deg,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-9px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}\n"], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "directive", type: i9.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i9.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }], animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4348
4347
|
}
|
|
4349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CommonDialogComponent, decorators: [{
|
|
4350
4349
|
type: Component,
|
|
4351
4350
|
args: [{ selector: 'app-common-dialog', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.size-big]=\"data.size === sizeValues.big\"\n [class.size-middle]=\"data.size === sizeValues.middle\"\n [class.size-small]=\"data.size === sizeValues.small\"\n [class.style-success]=\"data.messageType === typesValues.success\"\n [class.style-error]=\"data.messageType === typesValues.error\"\n [class.style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h1 class=\"mat-dialog-title\" [class.display-none]=\"!data.title\">{{data.title}}</h1>\n <div mat-dialog-content>\n <p *ngIf=\"data.message\" [innerHTML]=\"data.message\"></p>\n <ng-container *ngIf=\"data.formConfig\">\n <form [formGroup]=\"form\">\n --shared-auto-form(formId: {{formId}}, itemId: {{data.formConfig.itemId}})--\n <!--<shared-auto-form\n class=\"mb-20\"\n [entity]=\"data.formConfig.entity\"\n [itemId]=\"data.formConfig.itemId\"\n [formId]=\"formId\"\n [fields]=\"data.formConfig.fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue()\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>-->\n\n <!--<div *ngIf=\"staticSection.globalActions\" class=\"global-actions\">\n <div *ngFor=\"let action of staticSection.globalActions\"\n (click)=\"globalActionHandle(action)\" class=\"global-action\">\n {{ action.title }}\n </div>\n </div>-->\n <div @appearFromLeftWithDelay\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n class=\"mt-20\">\n <shared-button\n id=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C</shared-button>\n </div>\n </form>\n </ng-container>\n </div>\n <div [class.display-none]=\"data.hideButton\" mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>{{data.falseButtonTitle || '\u041D\u0435\u0442' }}</button>\n <button mat-button\n *ngIf=\"!data.formConfig\"\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n class=\"mat-raised-button mat-warn\">{{data.trueButtonTitle || '\u0414\u0430' }}</button>\n </div>\n</div>\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-success{border-left:5px solid #4caf50;background:linear-gradient(15deg,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-9px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}\n"] }]
|
|
4352
|
-
}], ctorParameters:
|
|
4351
|
+
}], ctorParameters: () => [{ type: i1$4.MatDialogRef }, { type: StaticDataFacade }, { type: i3.UntypedFormBuilder }, { type: AutoFormService }, { type: undefined, decorators: [{
|
|
4353
4352
|
type: Inject,
|
|
4354
4353
|
args: [MAT_DIALOG_DATA]
|
|
4355
|
-
}] }]
|
|
4354
|
+
}] }] });
|
|
4356
4355
|
|
|
4357
4356
|
const FilesLoad = createAction('[Files] File Load', props());
|
|
4358
4357
|
const FilesLoadSuccess = createAction('[Files] File Load Success', props());
|
|
@@ -4489,13 +4488,13 @@ class FilesFacade {
|
|
|
4489
4488
|
};
|
|
4490
4489
|
return this.store.dispatch(FilesLoad({ payload: params }));
|
|
4491
4490
|
}
|
|
4492
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4493
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4491
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FilesFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4492
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FilesFacade, providedIn: "root" }); }
|
|
4494
4493
|
}
|
|
4495
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4494
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FilesFacade, decorators: [{
|
|
4496
4495
|
type: Injectable,
|
|
4497
4496
|
args: [{ providedIn: "root" }]
|
|
4498
|
-
}], ctorParameters:
|
|
4497
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
4499
4498
|
|
|
4500
4499
|
class FilesLoadBehavior extends Behavior {
|
|
4501
4500
|
constructor(action, result) {
|
|
@@ -4720,18 +4719,18 @@ class FilesService extends BaseAPIService {
|
|
|
4720
4719
|
filesSort(config) {
|
|
4721
4720
|
return this.doRequest(config, FilesEndpointTypes.SORT);
|
|
4722
4721
|
}
|
|
4723
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4724
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4722
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FilesService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4723
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FilesService, providedIn: 'root' }); }
|
|
4725
4724
|
}
|
|
4726
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4725
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FilesService, decorators: [{
|
|
4727
4726
|
type: Injectable,
|
|
4728
4727
|
args: [{
|
|
4729
4728
|
providedIn: 'root'
|
|
4730
4729
|
}]
|
|
4731
|
-
}], ctorParameters:
|
|
4730
|
+
}], ctorParameters: () => [{ type: i1$1.HttpClient }, { type: undefined, decorators: [{
|
|
4732
4731
|
type: Inject,
|
|
4733
4732
|
args: [CORE_CONFIG]
|
|
4734
|
-
}] }, { type: RequestsFacade }, { type: FormsFacade }]
|
|
4733
|
+
}] }, { type: RequestsFacade }, { type: FormsFacade }] });
|
|
4735
4734
|
|
|
4736
4735
|
const UiUnitsSet = createAction('[UiUnits] UiUnitsSet', props());
|
|
4737
4736
|
|
|
@@ -4794,13 +4793,13 @@ class UiUnitsFacade {
|
|
|
4794
4793
|
getUIUnits(id) {
|
|
4795
4794
|
return this.store.pipe(select(getUIUnit(id)));
|
|
4796
4795
|
}
|
|
4797
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4798
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4796
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UiUnitsFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4797
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UiUnitsFacade, providedIn: "root" }); }
|
|
4799
4798
|
}
|
|
4800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4799
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UiUnitsFacade, decorators: [{
|
|
4801
4800
|
type: Injectable,
|
|
4802
4801
|
args: [{ providedIn: "root" }]
|
|
4803
|
-
}], ctorParameters:
|
|
4802
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
4804
4803
|
|
|
4805
4804
|
class FilesEffects {
|
|
4806
4805
|
constructor(actions$, store, filesService, uiUnitsFacade, authenticationService) {
|
|
@@ -4860,12 +4859,12 @@ class FilesEffects {
|
|
|
4860
4859
|
.pipe(flatMap((r) => new FilesLoadBehavior(action, r).resolve()));
|
|
4861
4860
|
}), catchError(error => of(FilesLoadFail(error)))));
|
|
4862
4861
|
}
|
|
4863
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4864
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4862
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FilesEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: FilesService }, { token: UiUnitsFacade }, { token: AuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4863
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FilesEffects }); }
|
|
4865
4864
|
}
|
|
4866
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4865
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FilesEffects, decorators: [{
|
|
4867
4866
|
type: Injectable
|
|
4868
|
-
}], ctorParameters:
|
|
4867
|
+
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: FilesService }, { type: UiUnitsFacade }, { type: AuthenticationService }] });
|
|
4869
4868
|
|
|
4870
4869
|
class NotificationsEffects {
|
|
4871
4870
|
constructor(actions$, store, toastrService, notificationsFacade, dialog) {
|
|
@@ -4925,12 +4924,12 @@ class NotificationsEffects {
|
|
|
4925
4924
|
this.notificationsFacade.addNotifications(notification);
|
|
4926
4925
|
}), catchError(error => of(FilesSortFail(error)))), { dispatch: false });
|
|
4927
4926
|
}
|
|
4928
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4929
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4927
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotificationsEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: i3$1.ToastrService }, { token: NotificationsFacade }, { token: i1$4.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4928
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotificationsEffects }); }
|
|
4930
4929
|
}
|
|
4931
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4930
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NotificationsEffects, decorators: [{
|
|
4932
4931
|
type: Injectable
|
|
4933
|
-
}], ctorParameters:
|
|
4932
|
+
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: i3$1.ToastrService }, { type: NotificationsFacade }, { type: i1$4.MatDialog }] });
|
|
4934
4933
|
|
|
4935
4934
|
const TagsLoad = createAction('[Tags] Tags Load', props());
|
|
4936
4935
|
const TagsLoadSuccess = createAction('[Tags] Tags Load Success', props());
|
|
@@ -5077,18 +5076,18 @@ class TagsService extends BaseAPIService {
|
|
|
5077
5076
|
tagEntitiesLoad(config) {
|
|
5078
5077
|
return this.doRequest(config, TagsEndpointTypes.ENTITIES);
|
|
5079
5078
|
}
|
|
5080
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5081
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5079
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TagsService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5080
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TagsService, providedIn: "root" }); }
|
|
5082
5081
|
}
|
|
5083
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TagsService, decorators: [{
|
|
5084
5083
|
type: Injectable,
|
|
5085
5084
|
args: [{
|
|
5086
5085
|
providedIn: "root"
|
|
5087
5086
|
}]
|
|
5088
|
-
}], ctorParameters:
|
|
5087
|
+
}], ctorParameters: () => [{ type: i1$1.HttpClient }, { type: undefined, decorators: [{
|
|
5089
5088
|
type: Inject,
|
|
5090
5089
|
args: [CORE_CONFIG]
|
|
5091
|
-
}] }, { type: RequestsFacade }, { type: FormsFacade }]
|
|
5090
|
+
}] }, { type: RequestsFacade }, { type: FormsFacade }] });
|
|
5092
5091
|
|
|
5093
5092
|
class TagsEffects {
|
|
5094
5093
|
constructor(actions$, store, tagsService, authenticationService) {
|
|
@@ -5113,12 +5112,12 @@ class TagsEffects {
|
|
|
5113
5112
|
.pipe(flatMap((r) => new TagEntitiesLoadBehavior(action, r).resolve()));
|
|
5114
5113
|
}), catchError(error => of(TagsLoadFail(error)))));
|
|
5115
5114
|
}
|
|
5116
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5117
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5115
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TagsEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: TagsService }, { token: AuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5116
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TagsEffects }); }
|
|
5118
5117
|
}
|
|
5119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TagsEffects, decorators: [{
|
|
5120
5119
|
type: Injectable
|
|
5121
|
-
}], ctorParameters:
|
|
5120
|
+
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: TagsService }, { type: AuthenticationService }] });
|
|
5122
5121
|
|
|
5123
5122
|
class UiUnitsEffects {
|
|
5124
5123
|
/* @Effect({dispatch: false})
|
|
@@ -5137,12 +5136,12 @@ class UiUnitsEffects {
|
|
|
5137
5136
|
this.store = store;
|
|
5138
5137
|
this.uiUnitsFacade = uiUnitsFacade;
|
|
5139
5138
|
}
|
|
5140
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5141
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5139
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UiUnitsEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: UiUnitsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5140
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UiUnitsEffects }); }
|
|
5142
5141
|
}
|
|
5143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UiUnitsEffects, decorators: [{
|
|
5144
5143
|
type: Injectable
|
|
5145
|
-
}], ctorParameters:
|
|
5144
|
+
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: UiUnitsFacade }] });
|
|
5146
5145
|
|
|
5147
5146
|
class MainEffects {
|
|
5148
5147
|
constructor(actions$, store, config) {
|
|
@@ -5155,15 +5154,15 @@ class MainEffects {
|
|
|
5155
5154
|
}
|
|
5156
5155
|
})), { dispatch: false });
|
|
5157
5156
|
}
|
|
5158
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5159
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5157
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MainEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: CORE_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5158
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MainEffects }); }
|
|
5160
5159
|
}
|
|
5161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MainEffects, decorators: [{
|
|
5162
5161
|
type: Injectable
|
|
5163
|
-
}], ctorParameters:
|
|
5162
|
+
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: undefined, decorators: [{
|
|
5164
5163
|
type: Inject,
|
|
5165
5164
|
args: [CORE_CONFIG]
|
|
5166
|
-
}] }]
|
|
5165
|
+
}] }] });
|
|
5167
5166
|
|
|
5168
5167
|
const TAGS_FEATURE_KEY = 'tags';
|
|
5169
5168
|
const initialState$6 = {
|
|
@@ -5254,13 +5253,13 @@ class TagsFacade {
|
|
|
5254
5253
|
waitLoading() {
|
|
5255
5254
|
return this.store.pipe(select(tagsQuery.getLoaded), filter$1((item) => !!item));
|
|
5256
5255
|
}
|
|
5257
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5258
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5256
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TagsFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5257
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TagsFacade, providedIn: "root" }); }
|
|
5259
5258
|
}
|
|
5260
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TagsFacade, decorators: [{
|
|
5261
5260
|
type: Injectable,
|
|
5262
5261
|
args: [{ providedIn: "root" }]
|
|
5263
|
-
}], ctorParameters:
|
|
5262
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
5264
5263
|
|
|
5265
5264
|
/**
|
|
5266
5265
|
*
|
|
@@ -5299,13 +5298,13 @@ class MainFacade {
|
|
|
5299
5298
|
getMetadata() {
|
|
5300
5299
|
return this.store.pipe(select(mainQuery.getMetaData));
|
|
5301
5300
|
}
|
|
5302
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5303
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5301
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MainFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5302
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MainFacade, providedIn: "root" }); }
|
|
5304
5303
|
}
|
|
5305
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MainFacade, decorators: [{
|
|
5306
5305
|
type: Injectable,
|
|
5307
5306
|
args: [{ providedIn: "root" }]
|
|
5308
|
-
}], ctorParameters:
|
|
5307
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
5309
5308
|
|
|
5310
5309
|
class FormValidationCheckBehavior extends Behavior {
|
|
5311
5310
|
constructor(action, result) {
|
|
@@ -5387,18 +5386,18 @@ class FormValidationService extends BaseAPIService {
|
|
|
5387
5386
|
formValidationCheck(config) {
|
|
5388
5387
|
return this.doRequest(config, FormValidationEndpointTypes.CHECK);
|
|
5389
5388
|
}
|
|
5390
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5391
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5389
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormValidationService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5390
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormValidationService, providedIn: 'root' }); }
|
|
5392
5391
|
}
|
|
5393
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5392
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormValidationService, decorators: [{
|
|
5394
5393
|
type: Injectable,
|
|
5395
5394
|
args: [{
|
|
5396
5395
|
providedIn: 'root'
|
|
5397
5396
|
}]
|
|
5398
|
-
}], ctorParameters:
|
|
5397
|
+
}], ctorParameters: () => [{ type: i1$1.HttpClient }, { type: undefined, decorators: [{
|
|
5399
5398
|
type: Inject,
|
|
5400
5399
|
args: [CORE_CONFIG]
|
|
5401
|
-
}] }, { type: RequestsFacade }, { type: FormsFacade }]
|
|
5400
|
+
}] }, { type: RequestsFacade }, { type: FormsFacade }] });
|
|
5402
5401
|
|
|
5403
5402
|
class FormValidationEffects {
|
|
5404
5403
|
constructor(actions$, store, formValidationService, authenticationService) {
|
|
@@ -5418,12 +5417,12 @@ class FormValidationEffects {
|
|
|
5418
5417
|
.pipe(flatMap((r) => new FormValidationCheckBehavior(action, r).resolve()));
|
|
5419
5418
|
}), catchError(error => of(CheckValidationFail(error)))));
|
|
5420
5419
|
}
|
|
5421
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5422
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5420
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormValidationEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: FormValidationService }, { token: AuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5421
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormValidationEffects }); }
|
|
5423
5422
|
}
|
|
5424
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5423
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormValidationEffects, decorators: [{
|
|
5425
5424
|
type: Injectable
|
|
5426
|
-
}], ctorParameters:
|
|
5425
|
+
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: FormValidationService }, { type: AuthenticationService }] });
|
|
5427
5426
|
|
|
5428
5427
|
class FormErrorsEffects {
|
|
5429
5428
|
/* @Effect()
|
|
@@ -5452,12 +5451,12 @@ class FormErrorsEffects {
|
|
|
5452
5451
|
this.store = store;
|
|
5453
5452
|
// super(actions$, store);
|
|
5454
5453
|
}
|
|
5455
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5456
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5454
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormErrorsEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5455
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormErrorsEffects }); }
|
|
5457
5456
|
}
|
|
5458
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5457
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormErrorsEffects, decorators: [{
|
|
5459
5458
|
type: Injectable
|
|
5460
|
-
}], ctorParameters:
|
|
5459
|
+
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }] });
|
|
5461
5460
|
|
|
5462
5461
|
/**
|
|
5463
5462
|
*
|
|
@@ -5525,13 +5524,13 @@ class FormErrorsFacade {
|
|
|
5525
5524
|
clearFormErrors(formId) {
|
|
5526
5525
|
this.store.dispatch(FormErrorsClear({ payload: { formId } }));
|
|
5527
5526
|
}
|
|
5528
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5529
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5527
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormErrorsFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5528
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormErrorsFacade, providedIn: "root" }); }
|
|
5530
5529
|
}
|
|
5531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormErrorsFacade, decorators: [{
|
|
5532
5531
|
type: Injectable,
|
|
5533
5532
|
args: [{ providedIn: "root" }]
|
|
5534
|
-
}], ctorParameters:
|
|
5533
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
5535
5534
|
|
|
5536
5535
|
const FORM_UPDATE_ERROR = {
|
|
5537
5536
|
title: 'Внимание',
|
|
@@ -5555,12 +5554,12 @@ class FormsEffects {
|
|
|
5555
5554
|
}
|
|
5556
5555
|
})), { dispatch: false });
|
|
5557
5556
|
}
|
|
5558
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5559
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5557
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormsEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: NotificationsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5558
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormsEffects }); }
|
|
5560
5559
|
}
|
|
5561
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5560
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormsEffects, decorators: [{
|
|
5562
5561
|
type: Injectable
|
|
5563
|
-
}], ctorParameters:
|
|
5562
|
+
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: NotificationsFacade }] });
|
|
5564
5563
|
|
|
5565
5564
|
const FormDeleteFile = createAction('[FormDeleteFile] Delete File', props());
|
|
5566
5565
|
const FormDeleteFileSuccess = createAction('[FormDeleteFile] Delete File Success', props());
|
|
@@ -5651,18 +5650,18 @@ class FormDeleteFileService extends BaseAPIService {
|
|
|
5651
5650
|
formDeleteFile(config) {
|
|
5652
5651
|
return this.doRequest(config, FormDeleteFileBaseEndpointTypes.DELETE);
|
|
5653
5652
|
}
|
|
5654
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5655
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5653
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormDeleteFileService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5654
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormDeleteFileService, providedIn: 'root' }); }
|
|
5656
5655
|
}
|
|
5657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormDeleteFileService, decorators: [{
|
|
5658
5657
|
type: Injectable,
|
|
5659
5658
|
args: [{
|
|
5660
5659
|
providedIn: 'root'
|
|
5661
5660
|
}]
|
|
5662
|
-
}], ctorParameters:
|
|
5661
|
+
}], ctorParameters: () => [{ type: i1$1.HttpClient }, { type: undefined, decorators: [{
|
|
5663
5662
|
type: Inject,
|
|
5664
5663
|
args: [CORE_CONFIG]
|
|
5665
|
-
}] }, { type: RequestsFacade }, { type: FormsFacade }]
|
|
5664
|
+
}] }, { type: RequestsFacade }, { type: FormsFacade }] });
|
|
5666
5665
|
|
|
5667
5666
|
class FormDeleteFileEffects {
|
|
5668
5667
|
constructor(actions$, store, formDeleteFileService, authenticationService) {
|
|
@@ -5691,12 +5690,12 @@ class FormDeleteFileEffects {
|
|
|
5691
5690
|
});
|
|
5692
5691
|
}), catchError(error => of(FormDeleteFileFail(error)))));
|
|
5693
5692
|
}
|
|
5694
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5695
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5693
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormDeleteFileEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: FormDeleteFileService }, { token: AuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5694
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormDeleteFileEffects }); }
|
|
5696
5695
|
}
|
|
5697
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormDeleteFileEffects, decorators: [{
|
|
5698
5697
|
type: Injectable
|
|
5699
|
-
}], ctorParameters:
|
|
5698
|
+
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: FormDeleteFileService }, { type: AuthenticationService }] });
|
|
5700
5699
|
|
|
5701
5700
|
const PublishPost = createAction('[PublishError] Publish Post', props());
|
|
5702
5701
|
const PublishPostSuccess = createAction('[PublishError] Publish Post Success', props());
|
|
@@ -5867,18 +5866,18 @@ class PublishService extends BaseAPIService {
|
|
|
5867
5866
|
unPublishPost(config) {
|
|
5868
5867
|
return this.doRequest(config, PublishEndpointTypes.UN_POST);
|
|
5869
5868
|
}
|
|
5870
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5871
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5869
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PublishService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5870
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PublishService, providedIn: 'root' }); }
|
|
5872
5871
|
}
|
|
5873
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PublishService, decorators: [{
|
|
5874
5873
|
type: Injectable,
|
|
5875
5874
|
args: [{
|
|
5876
5875
|
providedIn: 'root'
|
|
5877
5876
|
}]
|
|
5878
|
-
}], ctorParameters:
|
|
5877
|
+
}], ctorParameters: () => [{ type: i1$1.HttpClient }, { type: undefined, decorators: [{
|
|
5879
5878
|
type: Inject,
|
|
5880
5879
|
args: [CORE_CONFIG]
|
|
5881
|
-
}] }, { type: RequestsFacade }, { type: FormsFacade }]
|
|
5880
|
+
}] }, { type: RequestsFacade }, { type: FormsFacade }] });
|
|
5882
5881
|
|
|
5883
5882
|
class PublicationMessagesEffects {
|
|
5884
5883
|
constructor(actions$, store, publishService, notificationsFacade) {
|
|
@@ -5939,12 +5938,12 @@ class PublicationMessagesEffects {
|
|
|
5939
5938
|
this.notificationsFacade.addNotifications(notification);
|
|
5940
5939
|
})), { dispatch: false });
|
|
5941
5940
|
}
|
|
5942
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5943
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5941
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PublicationMessagesEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: PublishService }, { token: NotificationsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5942
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PublicationMessagesEffects }); }
|
|
5944
5943
|
}
|
|
5945
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PublicationMessagesEffects, decorators: [{
|
|
5946
5945
|
type: Injectable
|
|
5947
|
-
}], ctorParameters:
|
|
5946
|
+
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: PublishService }, { type: NotificationsFacade }] });
|
|
5948
5947
|
|
|
5949
5948
|
// @TODO need to rename in all place for PUBLICATION
|
|
5950
5949
|
const PUBLISH_MESSAGES_FEATURE_KEY = 'publicationMessages';
|
|
@@ -6017,13 +6016,13 @@ class PublicationMessagesFacade {
|
|
|
6017
6016
|
publishPostFail() {
|
|
6018
6017
|
this.store.dispatch(PublishPostFail({ payload: {} }));
|
|
6019
6018
|
}
|
|
6020
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6021
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6019
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PublicationMessagesFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6020
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PublicationMessagesFacade, providedIn: "root" }); }
|
|
6022
6021
|
}
|
|
6023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6022
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PublicationMessagesFacade, decorators: [{
|
|
6024
6023
|
type: Injectable,
|
|
6025
6024
|
args: [{ providedIn: "root" }]
|
|
6026
|
-
}], ctorParameters:
|
|
6025
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
6027
6026
|
|
|
6028
6027
|
class UpdateEntitiesEffects {
|
|
6029
6028
|
constructor(actions$, store) {
|
|
@@ -6040,12 +6039,12 @@ class UpdateEntitiesEffects {
|
|
|
6040
6039
|
return entityUpdatePartAction({ payload });
|
|
6041
6040
|
})));
|
|
6042
6041
|
}
|
|
6043
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6044
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6042
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UpdateEntitiesEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6043
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UpdateEntitiesEffects }); }
|
|
6045
6044
|
}
|
|
6046
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: UpdateEntitiesEffects, decorators: [{
|
|
6047
6046
|
type: Injectable
|
|
6048
|
-
}], ctorParameters:
|
|
6047
|
+
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }] });
|
|
6049
6048
|
|
|
6050
6049
|
class BaseEffects {
|
|
6051
6050
|
constructor(actions$, store) {
|
|
@@ -6322,18 +6321,18 @@ class CacheDataService extends BaseAPIService {
|
|
|
6322
6321
|
getCacheData(config) {
|
|
6323
6322
|
return this.doRequest(config, CacheDataEndpointTypes.GET_CACHE_DATA);
|
|
6324
6323
|
}
|
|
6325
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6326
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6324
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CacheDataService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6325
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CacheDataService, providedIn: 'root' }); }
|
|
6327
6326
|
}
|
|
6328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CacheDataService, decorators: [{
|
|
6329
6328
|
type: Injectable,
|
|
6330
6329
|
args: [{
|
|
6331
6330
|
providedIn: 'root'
|
|
6332
6331
|
}]
|
|
6333
|
-
}], ctorParameters:
|
|
6332
|
+
}], ctorParameters: () => [{ type: i1$1.HttpClient }, { type: undefined, decorators: [{
|
|
6334
6333
|
type: Inject,
|
|
6335
6334
|
args: [CORE_CONFIG]
|
|
6336
|
-
}] }, { type: RequestsFacade }, { type: FormsFacade }]
|
|
6335
|
+
}] }, { type: RequestsFacade }, { type: FormsFacade }] });
|
|
6337
6336
|
|
|
6338
6337
|
const COOKIES_OPTIONS = new InjectionToken('COOKIES_OPTIONS');
|
|
6339
6338
|
|
|
@@ -6418,12 +6417,12 @@ class CookiesService {
|
|
|
6418
6417
|
cookiesWriter() {
|
|
6419
6418
|
return () => { };
|
|
6420
6419
|
}
|
|
6421
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6422
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6420
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CookiesService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6421
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CookiesService }); }
|
|
6423
6422
|
}
|
|
6424
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6423
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CookiesService, decorators: [{
|
|
6425
6424
|
type: Injectable
|
|
6426
|
-
}], ctorParameters:
|
|
6425
|
+
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
6427
6426
|
|
|
6428
6427
|
class UserBehaviorReportRequest extends GetRequest {
|
|
6429
6428
|
constructor(domain, config) {
|
|
@@ -6484,18 +6483,18 @@ class ReportsService extends BaseAPIService {
|
|
|
6484
6483
|
getUserBehaviorReport(config) {
|
|
6485
6484
|
return this.doRequest(config, ReportsEndpointTypes.USER_BEHAVIOR_REPORT);
|
|
6486
6485
|
}
|
|
6487
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6488
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6486
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ReportsService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6487
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ReportsService, providedIn: 'root' }); }
|
|
6489
6488
|
}
|
|
6490
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ReportsService, decorators: [{
|
|
6491
6490
|
type: Injectable,
|
|
6492
6491
|
args: [{
|
|
6493
6492
|
providedIn: 'root'
|
|
6494
6493
|
}]
|
|
6495
|
-
}], ctorParameters:
|
|
6494
|
+
}], ctorParameters: () => [{ type: i1$1.HttpClient }, { type: undefined, decorators: [{
|
|
6496
6495
|
type: Inject,
|
|
6497
6496
|
args: [CORE_CONFIG]
|
|
6498
|
-
}] }, { type: RequestsFacade }, { type: FormsFacade }]
|
|
6497
|
+
}] }, { type: RequestsFacade }, { type: FormsFacade }] });
|
|
6499
6498
|
|
|
6500
6499
|
class SocialAuthService {
|
|
6501
6500
|
static { this.ERR_LOGIN_PROVIDER_NOT_FOUND = 'Login provider not found'; }
|
|
@@ -6558,15 +6557,15 @@ class SocialAuthService {
|
|
|
6558
6557
|
}*/
|
|
6559
6558
|
return throwError(SocialAuthService.ERR_LOGIN_PROVIDER_NOT_FOUND);
|
|
6560
6559
|
}
|
|
6561
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6562
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6560
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SocialAuthService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6561
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SocialAuthService }); }
|
|
6563
6562
|
}
|
|
6564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SocialAuthService, decorators: [{
|
|
6565
6564
|
type: Injectable
|
|
6566
|
-
}], ctorParameters:
|
|
6565
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
6567
6566
|
type: Inject,
|
|
6568
6567
|
args: [PLATFORM_ID]
|
|
6569
|
-
}] }]
|
|
6568
|
+
}] }] });
|
|
6570
6569
|
|
|
6571
6570
|
class StaticDataPatchUpdateRequest extends PatchRequest {
|
|
6572
6571
|
constructor(domain, config) {
|
|
@@ -6698,18 +6697,18 @@ class StaticDataService extends BaseAPIService {
|
|
|
6698
6697
|
patchUpdate(config) {
|
|
6699
6698
|
return this.doRequest(config, StaticDataEndpointTypes.PATCH_UPDATE);
|
|
6700
6699
|
}
|
|
6701
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6702
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6700
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataService, deps: [{ token: i1$1.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6701
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataService, providedIn: 'root' }); }
|
|
6703
6702
|
}
|
|
6704
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataService, decorators: [{
|
|
6705
6704
|
type: Injectable,
|
|
6706
6705
|
args: [{
|
|
6707
6706
|
providedIn: 'root'
|
|
6708
6707
|
}]
|
|
6709
|
-
}], ctorParameters:
|
|
6708
|
+
}], ctorParameters: () => [{ type: i1$1.HttpClient }, { type: undefined, decorators: [{
|
|
6710
6709
|
type: Inject,
|
|
6711
6710
|
args: [CORE_CONFIG]
|
|
6712
|
-
}] }, { type: RequestsFacade }, { type: FormsFacade }]
|
|
6711
|
+
}] }, { type: RequestsFacade }, { type: FormsFacade }] });
|
|
6713
6712
|
|
|
6714
6713
|
class BrowserCookiesService extends CookiesService {
|
|
6715
6714
|
get cookieString() {
|
|
@@ -6771,12 +6770,12 @@ class BrowserCookiesService extends CookiesService {
|
|
|
6771
6770
|
}
|
|
6772
6771
|
return str;
|
|
6773
6772
|
}
|
|
6774
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6775
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6773
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BrowserCookiesService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6774
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BrowserCookiesService }); }
|
|
6776
6775
|
}
|
|
6777
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6776
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BrowserCookiesService, decorators: [{
|
|
6778
6777
|
type: Injectable
|
|
6779
|
-
}], ctorParameters:
|
|
6778
|
+
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
6780
6779
|
|
|
6781
6780
|
// import { ServerCookiesService } from './server/server-cookies.service';
|
|
6782
6781
|
function cookiesProviderFactory(platformId, injector) {
|
|
@@ -6809,10 +6808,10 @@ class StorageService {
|
|
|
6809
6808
|
}
|
|
6810
6809
|
clear() {
|
|
6811
6810
|
}
|
|
6812
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6813
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6811
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6812
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StorageService }); }
|
|
6814
6813
|
}
|
|
6815
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6814
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StorageService, decorators: [{
|
|
6816
6815
|
type: Injectable
|
|
6817
6816
|
}] });
|
|
6818
6817
|
const StorageProvider = {
|
|
@@ -6978,18 +6977,18 @@ class WebsocketService {
|
|
|
6978
6977
|
this.messageQueue.push(messageObj);
|
|
6979
6978
|
}
|
|
6980
6979
|
}
|
|
6981
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6982
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
6980
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WebsocketService, deps: [{ token: CORE_CONFIG }, { token: StaticDataFacade }, { token: AuthenticationService }, { token: i3$2.CookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
6981
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WebsocketService, providedIn: 'root' }); }
|
|
6983
6982
|
}
|
|
6984
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6983
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WebsocketService, decorators: [{
|
|
6985
6984
|
type: Injectable,
|
|
6986
6985
|
args: [{
|
|
6987
6986
|
providedIn: 'root'
|
|
6988
6987
|
}]
|
|
6989
|
-
}], ctorParameters:
|
|
6988
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
6990
6989
|
type: Inject,
|
|
6991
6990
|
args: [CORE_CONFIG]
|
|
6992
|
-
}] }, { type: StaticDataFacade }, { type: AuthenticationService }, { type: i3$2.CookieService }]
|
|
6991
|
+
}] }, { type: StaticDataFacade }, { type: AuthenticationService }, { type: i3$2.CookieService }] });
|
|
6993
6992
|
|
|
6994
6993
|
class SeoService {
|
|
6995
6994
|
constructor(titleService, metaService) {
|
|
@@ -7002,15 +7001,15 @@ class SeoService {
|
|
|
7002
7001
|
updateDescription(description) {
|
|
7003
7002
|
this.metaService.updateTag({ name: 'description', content: description });
|
|
7004
7003
|
}
|
|
7005
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7006
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7004
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SeoService, deps: [{ token: i1$5.Title }, { token: i1$5.Meta }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7005
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SeoService, providedIn: 'root' }); }
|
|
7007
7006
|
}
|
|
7008
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7007
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SeoService, decorators: [{
|
|
7009
7008
|
type: Injectable,
|
|
7010
7009
|
args: [{
|
|
7011
7010
|
providedIn: 'root'
|
|
7012
7011
|
}]
|
|
7013
|
-
}], ctorParameters:
|
|
7012
|
+
}], ctorParameters: () => [{ type: i1$5.Title }, { type: i1$5.Meta }] });
|
|
7014
7013
|
|
|
7015
7014
|
class RouterFacade {
|
|
7016
7015
|
constructor(store) {
|
|
@@ -7020,13 +7019,13 @@ class RouterFacade {
|
|
|
7020
7019
|
console.info('[ router.facade.navigation ]', path, extras);
|
|
7021
7020
|
return this.store.dispatch(Go({ payload: { path, extras } }));
|
|
7022
7021
|
}
|
|
7023
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7024
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7022
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RouterFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7023
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RouterFacade, providedIn: "root" }); }
|
|
7025
7024
|
}
|
|
7026
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7025
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RouterFacade, decorators: [{
|
|
7027
7026
|
type: Injectable,
|
|
7028
7027
|
args: [{ providedIn: "root" }]
|
|
7029
|
-
}], ctorParameters:
|
|
7028
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
7030
7029
|
|
|
7031
7030
|
class StaticDataEffects extends BaseEffects {
|
|
7032
7031
|
constructor(actions$, store, authenticationService, staticDataService, routerService, notificationsFacade) {
|
|
@@ -7157,12 +7156,12 @@ class StaticDataEffects extends BaseEffects {
|
|
|
7157
7156
|
}))));
|
|
7158
7157
|
})));
|
|
7159
7158
|
}
|
|
7160
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7161
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7159
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: AuthenticationService }, { token: StaticDataService }, { token: RouterFacade }, { token: NotificationsFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7160
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataEffects }); }
|
|
7162
7161
|
}
|
|
7163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataEffects, decorators: [{
|
|
7164
7163
|
type: Injectable
|
|
7165
|
-
}], ctorParameters:
|
|
7164
|
+
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: AuthenticationService }, { type: StaticDataService }, { type: RouterFacade }, { type: NotificationsFacade }] });
|
|
7166
7165
|
|
|
7167
7166
|
const ActionsSend = createAction('[Actions] Actions Create', props());
|
|
7168
7167
|
const ActionsSendSuccess = createAction('[Actions] Actions Create Success', props());
|
|
@@ -7234,12 +7233,12 @@ class ActionsEffects extends BaseEffects {
|
|
|
7234
7233
|
.pipe(flatMap((r) => new ActionsSendBehavior(action, r).resolve()));
|
|
7235
7234
|
})));
|
|
7236
7235
|
}
|
|
7237
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7238
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7236
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ActionsEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: AuthenticationService }, { token: ActionsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7237
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ActionsEffects }); }
|
|
7239
7238
|
}
|
|
7240
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ActionsEffects, decorators: [{
|
|
7241
7240
|
type: Injectable
|
|
7242
|
-
}], ctorParameters:
|
|
7241
|
+
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: AuthenticationService }, { type: ActionsService }] });
|
|
7243
7242
|
|
|
7244
7243
|
var ActionsMetaStatus;
|
|
7245
7244
|
(function (ActionsMetaStatus) {
|
|
@@ -7365,12 +7364,12 @@ class CacheDataEffects extends BaseEffects {
|
|
|
7365
7364
|
.pipe(flatMap((r) => new CacheDataGetBehavior(action, r).resolve()));
|
|
7366
7365
|
})));
|
|
7367
7366
|
}
|
|
7368
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7369
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7367
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CacheDataEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: AuthenticationService }, { token: CacheDataService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7368
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CacheDataEffects }); }
|
|
7370
7369
|
}
|
|
7371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7370
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CacheDataEffects, decorators: [{
|
|
7372
7371
|
type: Injectable
|
|
7373
|
-
}], ctorParameters:
|
|
7372
|
+
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: AuthenticationService }, { type: CacheDataService }] });
|
|
7374
7373
|
|
|
7375
7374
|
const CACHE_DATA_FEATURE_KEY = 'cacheData';
|
|
7376
7375
|
const initialState$1 = {};
|
|
@@ -7542,12 +7541,12 @@ class ReportsEffects extends BaseEffects {
|
|
|
7542
7541
|
.pipe(flatMap((r) => new UserBehaviorGetBehavior(action, r).resolve()));
|
|
7543
7542
|
})));
|
|
7544
7543
|
}
|
|
7545
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7546
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7544
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ReportsEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }, { token: AuthenticationService }, { token: ReportsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7545
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ReportsEffects }); }
|
|
7547
7546
|
}
|
|
7548
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7547
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ReportsEffects, decorators: [{
|
|
7549
7548
|
type: Injectable
|
|
7550
|
-
}], ctorParameters:
|
|
7549
|
+
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }, { type: AuthenticationService }, { type: ReportsService }] });
|
|
7551
7550
|
|
|
7552
7551
|
const getActionsState = createFeatureSelector(STATIC_DATA_FEATURE_KEY);
|
|
7553
7552
|
const getStatus = (action, actionId) => createSelector(getActionsState, (state) => state?.meta?.[`${action}-${actionId}`]?.status);
|
|
@@ -7584,13 +7583,13 @@ class ActionsFacade {
|
|
|
7584
7583
|
}
|
|
7585
7584
|
}));
|
|
7586
7585
|
}
|
|
7587
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7588
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7586
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ActionsFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7587
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ActionsFacade, providedIn: "root" }); }
|
|
7589
7588
|
}
|
|
7590
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ActionsFacade, decorators: [{
|
|
7591
7590
|
type: Injectable,
|
|
7592
7591
|
args: [{ providedIn: "root" }]
|
|
7593
|
-
}], ctorParameters:
|
|
7592
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
7594
7593
|
|
|
7595
7594
|
const getCacheDataState = createFeatureSelector(CACHE_DATA_FEATURE_KEY);
|
|
7596
7595
|
const getCacheData = (type) => createSelector(getCacheDataState, (state) => {
|
|
@@ -7614,13 +7613,13 @@ class CacheDataFacade {
|
|
|
7614
7613
|
}
|
|
7615
7614
|
}));
|
|
7616
7615
|
}
|
|
7617
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7618
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7616
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CacheDataFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7617
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CacheDataFacade, providedIn: "root" }); }
|
|
7619
7618
|
}
|
|
7620
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CacheDataFacade, decorators: [{
|
|
7621
7620
|
type: Injectable,
|
|
7622
7621
|
args: [{ providedIn: "root" }]
|
|
7623
|
-
}], ctorParameters:
|
|
7622
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
7624
7623
|
|
|
7625
7624
|
const getReportsState = createFeatureSelector(REPORTS_FEATURE_KEY);
|
|
7626
7625
|
const getReportsEntities = createSelector(getReportsState, (state) => {
|
|
@@ -7663,13 +7662,13 @@ class ReportsFacade {
|
|
|
7663
7662
|
payload: {}
|
|
7664
7663
|
}));
|
|
7665
7664
|
}
|
|
7666
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7667
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7665
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ReportsFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7666
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ReportsFacade, providedIn: "root" }); }
|
|
7668
7667
|
}
|
|
7669
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7668
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ReportsFacade, decorators: [{
|
|
7670
7669
|
type: Injectable,
|
|
7671
7670
|
args: [{ providedIn: "root" }]
|
|
7672
|
-
}], ctorParameters:
|
|
7671
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
7673
7672
|
|
|
7674
7673
|
const getStore = (storeKey) => {
|
|
7675
7674
|
let rootStore = storeKey;
|
|
@@ -7712,13 +7711,13 @@ class CoreFacade {
|
|
|
7712
7711
|
getStoreByName(storeKey) {
|
|
7713
7712
|
return this.store.pipe(select(coreQuery.getStore(storeKey)));
|
|
7714
7713
|
}
|
|
7715
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7716
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7714
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoreFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7715
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoreFacade, providedIn: "root" }); }
|
|
7717
7716
|
}
|
|
7718
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7717
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CoreFacade, decorators: [{
|
|
7719
7718
|
type: Injectable,
|
|
7720
7719
|
args: [{ providedIn: "root" }]
|
|
7721
|
-
}], ctorParameters:
|
|
7720
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
7722
7721
|
|
|
7723
7722
|
class FormDeleteFileFacade {
|
|
7724
7723
|
constructor(store) {
|
|
@@ -7727,13 +7726,13 @@ class FormDeleteFileFacade {
|
|
|
7727
7726
|
formDeleteFile(entity, entityId, field) {
|
|
7728
7727
|
this.store.dispatch(FormDeleteFile({ payload: { entity, entityId, field } }));
|
|
7729
7728
|
}
|
|
7730
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7731
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7729
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormDeleteFileFacade, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7730
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormDeleteFileFacade, providedIn: "root" }); }
|
|
7732
7731
|
}
|
|
7733
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7732
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormDeleteFileFacade, decorators: [{
|
|
7734
7733
|
type: Injectable,
|
|
7735
7734
|
args: [{ providedIn: "root" }]
|
|
7736
|
-
}], ctorParameters:
|
|
7735
|
+
}], ctorParameters: () => [{ type: i1.Store }] });
|
|
7737
7736
|
|
|
7738
7737
|
const sharedEffects = [
|
|
7739
7738
|
UsersEffects,
|
|
@@ -7809,12 +7808,12 @@ class RequestsEffects {
|
|
|
7809
7808
|
this.actions$ = actions$;
|
|
7810
7809
|
this.store = store;
|
|
7811
7810
|
}
|
|
7812
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7813
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7811
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RequestsEffects, deps: [{ token: i1$2.Actions }, { token: i1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7812
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RequestsEffects }); }
|
|
7814
7813
|
}
|
|
7815
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7814
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RequestsEffects, decorators: [{
|
|
7816
7815
|
type: Injectable
|
|
7817
|
-
}], ctorParameters:
|
|
7816
|
+
}], ctorParameters: () => [{ type: i1$2.Actions }, { type: i1.Store }] });
|
|
7818
7817
|
|
|
7819
7818
|
var StaticDataMetaStatus;
|
|
7820
7819
|
(function (StaticDataMetaStatus) {
|
|
@@ -7868,16 +7867,16 @@ class DeleteComponent {
|
|
|
7868
7867
|
}
|
|
7869
7868
|
ngOnInit() {
|
|
7870
7869
|
}
|
|
7871
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7872
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
7870
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DeleteComponent, deps: [{ token: i1$4.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7871
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DeleteComponent, selector: "app-delete", ngImport: i0, template: "<div class=\"text-center m-2\">\n <h1 class=\"mat-dialog-title\">\u0423\u0434\u0430\u043B\u0435\u043D\u0438\u0435</h1>\n <div mat-dialog-content>\n <p>\u0412\u044B \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C{{data.name ? ' \"'+data.name+'\"' : ''}}?</p>\n </div>\n <div mat-dialog-actions class=\"text-align-center\">\n <button mat-button (click)=\"onNoClick()\" class=\"mat-flat-button mr-1\" cdkFocusInitial>\u041D\u0435\u0442</button>\n <button mat-button (click)=\"onYesClick()\" class=\"mat-raised-button mat-warn\">\u0414\u0430</button>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7873
7872
|
}
|
|
7874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7873
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DeleteComponent, decorators: [{
|
|
7875
7874
|
type: Component,
|
|
7876
7875
|
args: [{ selector: 'app-delete', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"text-center m-2\">\n <h1 class=\"mat-dialog-title\">\u0423\u0434\u0430\u043B\u0435\u043D\u0438\u0435</h1>\n <div mat-dialog-content>\n <p>\u0412\u044B \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C{{data.name ? ' \"'+data.name+'\"' : ''}}?</p>\n </div>\n <div mat-dialog-actions class=\"text-align-center\">\n <button mat-button (click)=\"onNoClick()\" class=\"mat-flat-button mr-1\" cdkFocusInitial>\u041D\u0435\u0442</button>\n <button mat-button (click)=\"onYesClick()\" class=\"mat-raised-button mat-warn\">\u0414\u0430</button>\n </div>\n</div>\n" }]
|
|
7877
|
-
}], ctorParameters:
|
|
7876
|
+
}], ctorParameters: () => [{ type: i1$4.MatDialogRef }, { type: undefined, decorators: [{
|
|
7878
7877
|
type: Inject,
|
|
7879
7878
|
args: [MAT_DIALOG_DATA]
|
|
7880
|
-
}] }]
|
|
7879
|
+
}] }] });
|
|
7881
7880
|
|
|
7882
7881
|
class DialogService {
|
|
7883
7882
|
constructor(dialog) {
|
|
@@ -7893,12 +7892,12 @@ class DialogService {
|
|
|
7893
7892
|
});*/
|
|
7894
7893
|
return dialogRef.afterClosed();
|
|
7895
7894
|
}
|
|
7896
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7897
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7895
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DialogService, deps: [{ token: i1$4.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
7896
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DialogService }); }
|
|
7898
7897
|
}
|
|
7899
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DialogService, decorators: [{
|
|
7900
7899
|
type: Injectable
|
|
7901
|
-
}], ctorParameters:
|
|
7900
|
+
}], ctorParameters: () => [{ type: i1$4.MatDialog }] });
|
|
7902
7901
|
|
|
7903
7902
|
class SelectDialogComponent {
|
|
7904
7903
|
constructor(dialogRef, data) {
|
|
@@ -7922,22 +7921,22 @@ class SelectDialogComponent {
|
|
|
7922
7921
|
onYesClick() {
|
|
7923
7922
|
this.dialogRef.close(this.selectOption);
|
|
7924
7923
|
}
|
|
7925
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7926
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
7924
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectDialogComponent, deps: [{ token: i1$4.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7925
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SelectDialogComponent, selector: "app-select-dialog", ngImport: i0, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.size-big]=\"data.size === sizeValues.big\"\n [class.size-middle]=\"data.size === sizeValues.middle\"\n [class.size-small]=\"data.size === sizeValues.small\"\n [class.style-success]=\"data.messageType === typesValues.success\"\n [class.style-error]=\"data.messageType === typesValues.error\"\n [class.style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h1 class=\"mat-dialog-title\" [class.display-none]=\"!data.title\">{{ data.title }}</h1>\n <div mat-dialog-content>\n <p [innerHTML]=\"data.message\"></p>\n <div *ngIf=\"data.options?.length\">\n <div class=\"option\" *ngFor=\"let item of data.options\">\n <div class=\"option-input\">\n <input type=\"radio\"\n name=\"options\"\n [value]=\"item.id\"\n [id]=\"item.id\"\n (change)=\"selectOption = item.id\" />\n </div>\n <label [for]=\"item.id\">{{ item.title }}</label>\n </div>\n </div>\n </div>\n <div [class.display-none]=\"data.hideButton\" mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>{{ data.falseButtonTitle || '\u041D\u0435\u0442' }}\n </button>\n <button mat-button\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n [disabled]=\"!selectOption\"\n class=\"mat-raised-button mat-warn\">{{ data.trueButtonTitle || '\u0414\u0430' }}\n </button>\n </div>\n</div>\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-success{border-left:5px solid #4caf50;background:linear-gradient(15deg,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-9px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}.option{display:flex;align-items:center;margin-bottom:20px}.option .option-input{margin-right:10px}.option label{margin-bottom:0}\n"], dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], animations: [appearFromRightWithDelay], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7927
7926
|
}
|
|
7928
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7927
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SelectDialogComponent, decorators: [{
|
|
7929
7928
|
type: Component,
|
|
7930
7929
|
args: [{ selector: 'app-select-dialog', animations: [appearFromRightWithDelay], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"text-center position-relative p-10\"\n @appearFromRightWithDelay\n [class.size-big]=\"data.size === sizeValues.big\"\n [class.size-middle]=\"data.size === sizeValues.middle\"\n [class.size-small]=\"data.size === sizeValues.small\"\n [class.style-success]=\"data.messageType === typesValues.success\"\n [class.style-error]=\"data.messageType === typesValues.error\"\n [class.style-info]=\"data.messageType === typesValues.info\">\n <div [class.display-none]=\"!data.hideButton\"\n class=\"close-button\"\n (click)=\"onNoClick()\">\n x\n </div>\n\n <h1 class=\"mat-dialog-title\" [class.display-none]=\"!data.title\">{{ data.title }}</h1>\n <div mat-dialog-content>\n <p [innerHTML]=\"data.message\"></p>\n <div *ngIf=\"data.options?.length\">\n <div class=\"option\" *ngFor=\"let item of data.options\">\n <div class=\"option-input\">\n <input type=\"radio\"\n name=\"options\"\n [value]=\"item.id\"\n [id]=\"item.id\"\n (change)=\"selectOption = item.id\" />\n </div>\n <label [for]=\"item.id\">{{ item.title }}</label>\n </div>\n </div>\n </div>\n <div [class.display-none]=\"data.hideButton\" mat-dialog-actions class=\"text-align-center mt-20\">\n <button mat-button (click)=\"onNoClick()\"\n class=\"mat-raised-button mr-10\"\n cdkFocusInitial>{{ data.falseButtonTitle || '\u041D\u0435\u0442' }}\n </button>\n <button mat-button\n [class.display-none]=\"data.hideTrueButton\"\n (click)=\"onYesClick()\"\n [disabled]=\"!selectOption\"\n class=\"mat-raised-button mat-warn\">{{ data.trueButtonTitle || '\u0414\u0430' }}\n </button>\n </div>\n</div>\n", styles: [".size-big{width:800px}.size-middle{width:600px}.size-small{width:300px}.style-success,.style-error,.style-info{padding:24px}.style-success{border-left:5px solid #4caf50;background:linear-gradient(15deg,#6dcf71c9,#f0f8f0)}.style-info{border-left:5px solid #fcb202;background:linear-gradient(15deg,#fcb20287,#fcb20208)}.style-error{border-left:5px solid #f44336;background:linear-gradient(15deg,#f2686494,#f7e6e4)}.close-button{right:0;margin:-9px 10px 0 0;position:absolute;cursor:pointer;font-size:16px;font-weight:700}.display-none{display:none}.option{display:flex;align-items:center;margin-bottom:20px}.option .option-input{margin-right:10px}.option label{margin-bottom:0}\n"] }]
|
|
7931
|
-
}], ctorParameters:
|
|
7930
|
+
}], ctorParameters: () => [{ type: i1$4.MatDialogRef }, { type: undefined, decorators: [{
|
|
7932
7931
|
type: Inject,
|
|
7933
7932
|
args: [MAT_DIALOG_DATA]
|
|
7934
|
-
}] }]
|
|
7933
|
+
}] }] });
|
|
7935
7934
|
|
|
7936
7935
|
class FormFieldSpinnerComponent {
|
|
7937
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7938
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
7936
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7937
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FormFieldSpinnerComponent, selector: "shared-form-field-spinner", ngImport: i0, template: "<div class=\"spinner-overlay\">\n <shared-spinner [color]=\"'grey'\" [diameter]=\"30\" [overlay]=\"true\"></shared-spinner>\n</div>\n", styles: [".spinner-overlay{position:absolute;width:100%;height:61px;top:0;margin-top:3px;border-radius:6px;overflow:hidden;opacity:.5}\n"], dependencies: [{ kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7939
7938
|
}
|
|
7940
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldSpinnerComponent, decorators: [{
|
|
7941
7940
|
type: Component,
|
|
7942
7941
|
args: [{ selector: 'shared-form-field-spinner', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"spinner-overlay\">\n <shared-spinner [color]=\"'grey'\" [diameter]=\"30\" [overlay]=\"true\"></shared-spinner>\n</div>\n", styles: [".spinner-overlay{position:absolute;width:100%;height:61px;top:0;margin-top:3px;border-radius:6px;overflow:hidden;opacity:.5}\n"] }]
|
|
7943
7942
|
}] });
|
|
@@ -8111,13 +8110,13 @@ class FormFieldSelectComponent {
|
|
|
8111
8110
|
return 0;
|
|
8112
8111
|
});
|
|
8113
8112
|
}
|
|
8114
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8115
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8113
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldSelectComponent, deps: [{ token: i1.Store }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8114
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FormFieldSelectComponent, selector: "shared-form-field-select", inputs: { config: "config", fieldData: "fieldData", form: "form", autoCompleteFields: "autoCompleteFields" }, usesOnChanges: true, ngImport: i0, template: "<div [formGroup]=\"form\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <mat-form-field appearance=\"outline\"\n class=\"width100\">\n <mat-label>{{fieldData.title}}</mat-label>\n <mat-select [required]=\"fieldData.validators?.includes('required')\"\n [multiple]=\"fieldData.options?.multiple\"\n [formControlName]=\"fieldData.field\">\n <mat-option *ngIf=\"fieldData.options?.innerSearch\">\n <ngx-mat-select-search\n placeholderLabel=\"\u041F\u043E\u0438\u0441\u043A...\"\n [formControl]=\"searchCtrl\"></ngx-mat-select-search>\n </mat-option>\n <mat-option *ngIf=\"!fieldData.validators?.includes('required')\" value=\"0\">\n -----\n </mat-option>\n <ng-container *ngIf=\"options.length\">\n <ng-container *ngIf=\"options.length\">\n <mat-option *ngFor=\"let item of options\" [value]=\"item.id\">\n {{item.name || item['title']}}\n </mat-option>\n </ng-container>\n <ng-container *ngIf=\"!options.length\">\n <mat-option>\n \u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442\n </mat-option>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"!options.length\">\n <mat-option>\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430....</mat-option>\n </ng-container>\n </mat-select>\n <ng-container *ngIf=\"!options.length && placeholder\">\n <div @appearOpacity class=\"form-select-placeholder\">{{placeholder}}</div>\n </ng-container>\n </mat-form-field>\n</div>\n<shared-form-field-spinner *ngIf=\"!options.length\"></shared-form-field-spinner>\n", styles: [".form-select-placeholder{position:absolute;margin-left:81px;margin-top:-3px;opacity:.8}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$4.MatLabel, selector: "mat-label" }, { kind: "component", type: i4.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex", "panelWidth", "hideSingleSelectionIndicator"], exportAs: ["matSelect"] }, { kind: "component", type: i5$1.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i7.MatSelectSearchComponent, selector: "ngx-mat-select-search", inputs: ["placeholderLabel", "type", "closeIcon", "closeSvgIcon", "noEntriesFoundLabel", "clearSearchInput", "searching", "disableInitialFocus", "enableClearOnEscapePressed", "preventHomeEndKeyPropagation", "disableScrollToActiveOnOptionsChanged", "ariaLabel", "showToggleAllCheckbox", "toggleAllCheckboxChecked", "toggleAllCheckboxIndeterminate", "toggleAllCheckboxTooltipMessage", "toggleAllCheckboxTooltipPosition", "hideClearSearchButton", "alwaysRestoreSelectedOptionsMulti"], outputs: ["toggleAll"] }, { kind: "component", type: FormFieldSpinnerComponent, selector: "shared-form-field-spinner" }], animations: [appearOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8116
8115
|
}
|
|
8117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldSelectComponent, decorators: [{
|
|
8118
8117
|
type: Component,
|
|
8119
8118
|
args: [{ selector: 'shared-form-field-select', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearOpacity], template: "<div [formGroup]=\"form\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <mat-form-field appearance=\"outline\"\n class=\"width100\">\n <mat-label>{{fieldData.title}}</mat-label>\n <mat-select [required]=\"fieldData.validators?.includes('required')\"\n [multiple]=\"fieldData.options?.multiple\"\n [formControlName]=\"fieldData.field\">\n <mat-option *ngIf=\"fieldData.options?.innerSearch\">\n <ngx-mat-select-search\n placeholderLabel=\"\u041F\u043E\u0438\u0441\u043A...\"\n [formControl]=\"searchCtrl\"></ngx-mat-select-search>\n </mat-option>\n <mat-option *ngIf=\"!fieldData.validators?.includes('required')\" value=\"0\">\n -----\n </mat-option>\n <ng-container *ngIf=\"options.length\">\n <ng-container *ngIf=\"options.length\">\n <mat-option *ngFor=\"let item of options\" [value]=\"item.id\">\n {{item.name || item['title']}}\n </mat-option>\n </ng-container>\n <ng-container *ngIf=\"!options.length\">\n <mat-option>\n \u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442\n </mat-option>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"!options.length\">\n <mat-option>\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430....</mat-option>\n </ng-container>\n </mat-select>\n <ng-container *ngIf=\"!options.length && placeholder\">\n <div @appearOpacity class=\"form-select-placeholder\">{{placeholder}}</div>\n </ng-container>\n </mat-form-field>\n</div>\n<shared-form-field-spinner *ngIf=\"!options.length\"></shared-form-field-spinner>\n", styles: [".form-select-placeholder{position:absolute;margin-left:81px;margin-top:-3px;opacity:.8}\n"] }]
|
|
8120
|
-
}], ctorParameters:
|
|
8119
|
+
}], ctorParameters: () => [{ type: i1.Store }, { type: i0.ChangeDetectorRef }], propDecorators: { config: [{
|
|
8121
8120
|
type: Input
|
|
8122
8121
|
}], fieldData: [{
|
|
8123
8122
|
type: Input
|
|
@@ -8128,10 +8127,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
8128
8127
|
}] } });
|
|
8129
8128
|
|
|
8130
8129
|
class FormFieldSlideToggleComponent {
|
|
8131
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8132
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8130
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldSlideToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8131
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FormFieldSlideToggleComponent, selector: "shared-form-field-slide-toggle", inputs: { config: "config", fieldData: "fieldData", form: "form" }, ngImport: i0, template: "<div [formGroup]=\"form\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <mat-slide-toggle\n [color]=\"'warn'\"\n [formControlName]=\"fieldData.field\">\n {{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}\n </mat-slide-toggle>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2$5.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matSlideToggle"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8133
8132
|
}
|
|
8134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldSlideToggleComponent, decorators: [{
|
|
8135
8134
|
type: Component,
|
|
8136
8135
|
args: [{ selector: 'shared-form-field-slide-toggle', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [formGroup]=\"form\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <mat-slide-toggle\n [color]=\"'warn'\"\n [formControlName]=\"fieldData.field\">\n {{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}\n </mat-slide-toggle>\n</div>\n" }]
|
|
8137
8136
|
}], propDecorators: { config: [{
|
|
@@ -8146,12 +8145,12 @@ class SmartProgressBarComponent {
|
|
|
8146
8145
|
constructor() {
|
|
8147
8146
|
this.showValue = true;
|
|
8148
8147
|
}
|
|
8149
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8150
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8148
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SmartProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8149
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SmartProgressBarComponent, selector: "shared-smart-progress-bar", inputs: { value: "value", title: "title", showValue: "showValue" }, ngImport: i0, template: "<div class=\"progress\">\n <div class=\"progress-bar\"\n role=\"progressbar\"\n [title]=\"title\"\n [style]=\"{width: value + '%'}\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [class.bg-0]=\"value <= 30\"\n [class.bg-1]=\"value > 30 && value <= 40\"\n [class.bg-2]=\"value > 40 && value <= 50\"\n [class.bg-3]=\"value > 50 && value <= 60\"\n [class.bg-4]=\"value > 60 && value <= 70\"\n [class.bg-5]=\"value > 70 && value <= 85\"\n [class.bg-6]=\"value > 85\">\n <ng-container *ngIf=\"value\">\u0424\u043E\u0440\u043C\u0430 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0430 \u043D\u0430 {{value}}%</ng-container>\n </div>\n</div>\n\n", styles: [".progress{display:flex;height:13px;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem;margin-bottom:10px}.progress .progress-bar{font-size:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#fff;text-align:center;background-color:transparent!important;transition:all .6s ease}.progress .progress-bar.bg-0{background-color:#e72235!important}.progress .progress-bar.bg-1{background-color:#dc4835!important}.progress .progress-bar.bg-2{background-color:#c09841!important}.progress .progress-bar.bg-3{background-color:#b6962b!important}.progress .progress-bar.bg-4{background-color:#9cad04!important}.progress .progress-bar.bg-5{background-color:#548804!important}.progress .progress-bar.bg-6{background-color:#28a745!important}\n"], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8151
8150
|
}
|
|
8152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SmartProgressBarComponent, decorators: [{
|
|
8153
8152
|
type: Component,
|
|
8154
|
-
args: [{ selector: 'shared-smart-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"progress\">\n <div class=\"progress-bar\"\n role=\"progressbar\"\n [title]=\"title\"\n [style]=\"{width: value + '%'}\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [class.bg-0]=\"value <= 30\"\n [class.bg-1]=\"value > 30 && value <= 40\"\n [class.bg-2]=\"value > 40 && value <= 50\"\n [class.bg-3]=\"value > 50 && value <= 60\"\n [class.bg-4]=\"value > 60 && value <= 70\"\n [class.bg-5]=\"value > 70 && value <= 85\"\n [class.bg-6]=\"value > 85\">\n <ng-container *ngIf=\"value\">\u0424\u043E\u0440\u043C\u0430 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0430 \u043D\u0430 {{value}}%</ng-container>\n </div>\n</div>\n\n", styles: [".progress{display:flex;height:13px;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem;margin-bottom:10px}.progress .progress-bar{font-size:12px;display:flex;flex-direction:column;justify-content:center;color:#fff;text-align:center;background-color:transparent!important;transition:all .6s ease}.progress .progress-bar.bg-0{background-color:#e72235!important}.progress .progress-bar.bg-1{background-color:#dc4835!important}.progress .progress-bar.bg-2{background-color:#c09841!important}.progress .progress-bar.bg-3{background-color:#b6962b!important}.progress .progress-bar.bg-4{background-color:#9cad04!important}.progress .progress-bar.bg-5{background-color:#548804!important}.progress .progress-bar.bg-6{background-color:#28a745!important}\n"] }]
|
|
8153
|
+
args: [{ selector: 'shared-smart-progress-bar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"progress\">\n <div class=\"progress-bar\"\n role=\"progressbar\"\n [title]=\"title\"\n [style]=\"{width: value + '%'}\"\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n [class.bg-0]=\"value <= 30\"\n [class.bg-1]=\"value > 30 && value <= 40\"\n [class.bg-2]=\"value > 40 && value <= 50\"\n [class.bg-3]=\"value > 50 && value <= 60\"\n [class.bg-4]=\"value > 60 && value <= 70\"\n [class.bg-5]=\"value > 70 && value <= 85\"\n [class.bg-6]=\"value > 85\">\n <ng-container *ngIf=\"value\">\u0424\u043E\u0440\u043C\u0430 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0430 \u043D\u0430 {{value}}%</ng-container>\n </div>\n</div>\n\n", styles: [".progress{display:flex;height:13px;overflow:hidden;font-size:.75rem;background-color:#e9ecef;border-radius:.25rem;margin-bottom:10px}.progress .progress-bar{font-size:12px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#fff;text-align:center;background-color:transparent!important;transition:all .6s ease}.progress .progress-bar.bg-0{background-color:#e72235!important}.progress .progress-bar.bg-1{background-color:#dc4835!important}.progress .progress-bar.bg-2{background-color:#c09841!important}.progress .progress-bar.bg-3{background-color:#b6962b!important}.progress .progress-bar.bg-4{background-color:#9cad04!important}.progress .progress-bar.bg-5{background-color:#548804!important}.progress .progress-bar.bg-6{background-color:#28a745!important}\n"] }]
|
|
8155
8154
|
}], propDecorators: { value: [{
|
|
8156
8155
|
type: Input
|
|
8157
8156
|
}], title: [{
|
|
@@ -8271,13 +8270,13 @@ class FormFieldErrorComponent {
|
|
|
8271
8270
|
});
|
|
8272
8271
|
}
|
|
8273
8272
|
}
|
|
8274
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8275
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8273
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldErrorComponent, deps: [{ token: BaseAutoFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8274
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FormFieldErrorComponent, selector: "shared-form-field-error", inputs: { fieldData: "fieldData", form: "form", errorMessageTexts: "errorMessageTexts" }, ngImport: i0, template: "<mat-error class=\"field-error\">\n {{error}}\n</mat-error>\n", styles: [""], dependencies: [{ kind: "directive", type: i2$4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8276
8275
|
}
|
|
8277
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldErrorComponent, decorators: [{
|
|
8278
8277
|
type: Component,
|
|
8279
8278
|
args: [{ selector: 'shared-form-field-error', changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-error class=\"field-error\">\n {{error}}\n</mat-error>\n" }]
|
|
8280
|
-
}], ctorParameters:
|
|
8279
|
+
}], ctorParameters: () => [{ type: BaseAutoFormService }], propDecorators: { fieldData: [{
|
|
8281
8280
|
type: Input
|
|
8282
8281
|
}], form: [{
|
|
8283
8282
|
type: Input
|
|
@@ -8315,13 +8314,13 @@ class FormFieldPublishErrorComponent {
|
|
|
8315
8314
|
this.messages$ = EMPTY;
|
|
8316
8315
|
}
|
|
8317
8316
|
}
|
|
8318
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8319
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8317
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldPublishErrorComponent, deps: [{ token: AutoFormService }, { token: PublicationMessagesFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8318
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FormFieldPublishErrorComponent, selector: "shared-form-field-publish-error", inputs: { fieldData: "fieldData", form: "form", entity: "entity", errorMessageTexts: "errorMessageTexts" }, ngImport: i0, template: "<ng-container *ngIf=\"messages$ | async as messages\">\n <ng-container *ngFor=\"let messageObj of messages.errors\">\n <div @appearFromLeft class=\"color-red\">\n {{messageObj.description}}\n </div>\n </ng-container>\n <ng-container *ngFor=\"let messageObj of messages.recommendations\">\n <div @appearFromLeft class=\"color-orange\">\n {{messageObj.description}}\n </div>\n </ng-container>\n</ng-container>\n\n", styles: [""], dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], animations: [appearFromLeft], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8320
8319
|
}
|
|
8321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldPublishErrorComponent, decorators: [{
|
|
8322
8321
|
type: Component,
|
|
8323
8322
|
args: [{ selector: "shared-form-field-publish-error", changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromLeft], template: "<ng-container *ngIf=\"messages$ | async as messages\">\n <ng-container *ngFor=\"let messageObj of messages.errors\">\n <div @appearFromLeft class=\"color-red\">\n {{messageObj.description}}\n </div>\n </ng-container>\n <ng-container *ngFor=\"let messageObj of messages.recommendations\">\n <div @appearFromLeft class=\"color-orange\">\n {{messageObj.description}}\n </div>\n </ng-container>\n</ng-container>\n\n" }]
|
|
8324
|
-
}], ctorParameters:
|
|
8323
|
+
}], ctorParameters: () => [{ type: AutoFormService }, { type: PublicationMessagesFacade }], propDecorators: { fieldData: [{
|
|
8325
8324
|
type: Input
|
|
8326
8325
|
}], form: [{
|
|
8327
8326
|
type: Input
|
|
@@ -8365,13 +8364,13 @@ class FormFieldSelectShowComponent {
|
|
|
8365
8364
|
trackById(index, item) {
|
|
8366
8365
|
return item?.id || undefined;
|
|
8367
8366
|
}
|
|
8368
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8369
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8367
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldSelectShowComponent, deps: [{ token: CoreFacade }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8368
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FormFieldSelectShowComponent, selector: "shared-form-field-select-show", inputs: { config: "config", fieldData: "fieldData", value: "value" }, usesOnChanges: true, ngImport: i0, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <label class=\"show-label\">{{ fieldData.title }}</label>\n <div class=\"form-field-value\">\n <span *ngFor=\"let value of listItems;trackBy: trackById\">{{ value }}</span>\n </div>\n</div>\n<shared-form-field-spinner *ngIf=\"!listItems.length\"></shared-form-field-spinner>\n", styles: [".form-field-value{display:flex;flex-direction:column}.small-form-width-form-field .show-label{margin-bottom:0}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: FormFieldSpinnerComponent, selector: "shared-form-field-spinner" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8370
8369
|
}
|
|
8371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8370
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldSelectShowComponent, decorators: [{
|
|
8372
8371
|
type: Component,
|
|
8373
8372
|
args: [{ selector: 'shared-form-field-select-show', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <label class=\"show-label\">{{ fieldData.title }}</label>\n <div class=\"form-field-value\">\n <span *ngFor=\"let value of listItems;trackBy: trackById\">{{ value }}</span>\n </div>\n</div>\n<shared-form-field-spinner *ngIf=\"!listItems.length\"></shared-form-field-spinner>\n", styles: [".form-field-value{display:flex;flex-direction:column}.small-form-width-form-field .show-label{margin-bottom:0}\n"] }]
|
|
8374
|
-
}], ctorParameters:
|
|
8373
|
+
}], ctorParameters: () => [{ type: CoreFacade }, { type: i0.ChangeDetectorRef }], propDecorators: { config: [{
|
|
8375
8374
|
type: Input
|
|
8376
8375
|
}], fieldData: [{
|
|
8377
8376
|
type: Input
|
|
@@ -8439,13 +8438,13 @@ class FormFieldInputComponent {
|
|
|
8439
8438
|
break;
|
|
8440
8439
|
}
|
|
8441
8440
|
}
|
|
8442
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8443
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8441
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldInputComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8442
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FormFieldInputComponent, selector: "shared-form-field-input", inputs: { config: "config", fieldData: "fieldData", form: "form" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], ngImport: i0, template: "<ng-container *ngIf=\"form.get(fieldData.field) as field\">\n <div [formGroup]=\"form\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <mat-form-field appearance=\"outline\"\n class=\"width100\">\n <mat-label>{{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}</mat-label>\n <div class=\"display-flex align-baseline \">\n <ng-container *ngIf=\"inputMask\">\n <input matInput\n #input\n [type]=\"inputType\"\n [placeholder]=\"placeholder\"\n [mask]=\"inputMask\"\n [formControlName]=\"fieldData.field\">\n </ng-container>\n <ng-container *ngIf=\"!inputMask\">\n <input matInput\n #input\n [type]=\"inputType\"\n [placeholder]=\"placeholder\"\n [formControlName]=\"fieldData.field\">\n </ng-container>\n <div class=\"form-field-suffix\"\n [ngClass]=\"{'input-field-icon-red': !field.valid}\"\n *ngIf=\"fieldData.asyncValidators && fieldData.asyncValidators.length\">\n <mat-icon *ngIf=\"field.status !== pendingStatus\"\n class=\"secondary-text mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">\n {{field.valid ? 'done' : field.errors['itemUniqValue'] ? 'assignment_late' : ''}}\n </mat-icon>\n <shared-spinner *ngIf=\"field.status === pendingStatus\"\n [diameter]=\"24\"></shared-spinner>\n </div>\n </div>\n </mat-form-field>\n </div>\n</ng-container>\n", styles: [".form-field-suffix{width:17px;height:17px}.form-field-suffix mat-icon{color:#4caf50;font-size:17px;height:17px!important;width:17px!important;min-width:17px;min-height:17px;font-weight:700!important}.form-field-suffix.input-field-icon-red mat-icon{color:#f44336}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3$3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i7$1.NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions"], outputs: ["maskFilled"], exportAs: ["mask", "ngxMask"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8444
8443
|
}
|
|
8445
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldInputComponent, decorators: [{
|
|
8446
8445
|
type: Component,
|
|
8447
8446
|
args: [{ selector: 'shared-form-field-input', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"form.get(fieldData.field) as field\">\n <div [formGroup]=\"form\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <mat-form-field appearance=\"outline\"\n class=\"width100\">\n <mat-label>{{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}</mat-label>\n <div class=\"display-flex align-baseline \">\n <ng-container *ngIf=\"inputMask\">\n <input matInput\n #input\n [type]=\"inputType\"\n [placeholder]=\"placeholder\"\n [mask]=\"inputMask\"\n [formControlName]=\"fieldData.field\">\n </ng-container>\n <ng-container *ngIf=\"!inputMask\">\n <input matInput\n #input\n [type]=\"inputType\"\n [placeholder]=\"placeholder\"\n [formControlName]=\"fieldData.field\">\n </ng-container>\n <div class=\"form-field-suffix\"\n [ngClass]=\"{'input-field-icon-red': !field.valid}\"\n *ngIf=\"fieldData.asyncValidators && fieldData.asyncValidators.length\">\n <mat-icon *ngIf=\"field.status !== pendingStatus\"\n class=\"secondary-text mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">\n {{field.valid ? 'done' : field.errors['itemUniqValue'] ? 'assignment_late' : ''}}\n </mat-icon>\n <shared-spinner *ngIf=\"field.status === pendingStatus\"\n [diameter]=\"24\"></shared-spinner>\n </div>\n </div>\n </mat-form-field>\n </div>\n</ng-container>\n", styles: [".form-field-suffix{width:17px;height:17px}.form-field-suffix mat-icon{color:#4caf50;font-size:17px;height:17px!important;width:17px!important;min-width:17px;min-height:17px;font-weight:700!important}.form-field-suffix.input-field-icon-red mat-icon{color:#f44336}\n"] }]
|
|
8448
|
-
}], ctorParameters:
|
|
8447
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { config: [{
|
|
8449
8448
|
type: Input
|
|
8450
8449
|
}], fieldData: [{
|
|
8451
8450
|
type: Input
|
|
@@ -8490,13 +8489,13 @@ class ImageComponent {
|
|
|
8490
8489
|
deleteImage() {
|
|
8491
8490
|
this.delete.emit();
|
|
8492
8491
|
}
|
|
8493
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8494
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8492
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8493
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ImageComponent, selector: "shared-image", inputs: { versions: "versions", url: "url", version: "version", title: "title", index: "index", haveZoom: "haveZoom", imgClass: "imgClass" }, outputs: { clickEvent: "clickEvent", delete: "delete" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"image-block\">\n <div *ngIf=\"showDeleteButton\" class=\"form-field-file-close mat-elevation-z4\" (click)=\"deleteImage()\">\n <mat-icon class=\"fs-14\">close</mat-icon>\n </div>\n <ng-container *ngIf=\"src\">\n <img [src]=\"src\" [title]=\"title\" [alt]=\"title\" [class]=\"imgClass\"/>\n <div *ngIf=\"haveZoom\" class=\"zoom\" (click)=\"clickHandler();\">\n <span class=\"lnr lnr-magnifier\"></span>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!src\">\n <div class=\"default-image\">\n <img src=\"assets/images/default-image.png\" [alt]=\"title\"/>\n </div>\n </ng-container>\n</div>\n", styles: [":host{position:relative}.image-block{position:relative;height:100%}.image-block:hover .form-field-file-close{width:25px;height:25px;opacity:.8}.image-block:hover .form-field-file-close mat-icon{width:18px;min-width:18px;height:18px;min-height:18px;font-size:18px}.image-block .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336;transition:all .15s ease;opacity:.6}.image-block .form-field-file-close mat-icon{transition:transform .15s ease;width:15px;height:15px;min-width:15px;min-height:15px;margin-left:1px;margin-top:3px}.image-block .form-field-file-close:hover{opacity:1}.image-block .form-field-file-close:hover mat-icon{transform:rotate(90deg)}.image-block .zoom{position:absolute;transition:all .2s ease-in-out;opacity:0;inset:0;background-color:#313131b8;display:flex;align-items:center;justify-content:center;cursor:pointer}.image-block .zoom:hover{opacity:.8}.image-block .zoom .lnr{font-size:20px;font-weight:700;color:#49caff}.image-block .default-image{display:flex;align-items:center;justify-content:center;background-color:#e1eaf1;width:200px;height:150px;opacity:.6}.image-block .default-image img{width:auto!important;height:auto!important}.image-block img{object-fit:cover;width:100%!important;height:100%!important}\n"], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8495
8494
|
}
|
|
8496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ImageComponent, decorators: [{
|
|
8497
8496
|
type: Component,
|
|
8498
8497
|
args: [{ selector: 'shared-image', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"image-block\">\n <div *ngIf=\"showDeleteButton\" class=\"form-field-file-close mat-elevation-z4\" (click)=\"deleteImage()\">\n <mat-icon class=\"fs-14\">close</mat-icon>\n </div>\n <ng-container *ngIf=\"src\">\n <img [src]=\"src\" [title]=\"title\" [alt]=\"title\" [class]=\"imgClass\"/>\n <div *ngIf=\"haveZoom\" class=\"zoom\" (click)=\"clickHandler();\">\n <span class=\"lnr lnr-magnifier\"></span>\n </div>\n </ng-container>\n <ng-container *ngIf=\"!src\">\n <div class=\"default-image\">\n <img src=\"assets/images/default-image.png\" [alt]=\"title\"/>\n </div>\n </ng-container>\n</div>\n", styles: [":host{position:relative}.image-block{position:relative;height:100%}.image-block:hover .form-field-file-close{width:25px;height:25px;opacity:.8}.image-block:hover .form-field-file-close mat-icon{width:18px;min-width:18px;height:18px;min-height:18px;font-size:18px}.image-block .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336;transition:all .15s ease;opacity:.6}.image-block .form-field-file-close mat-icon{transition:transform .15s ease;width:15px;height:15px;min-width:15px;min-height:15px;margin-left:1px;margin-top:3px}.image-block .form-field-file-close:hover{opacity:1}.image-block .form-field-file-close:hover mat-icon{transform:rotate(90deg)}.image-block .zoom{position:absolute;transition:all .2s ease-in-out;opacity:0;inset:0;background-color:#313131b8;display:flex;align-items:center;justify-content:center;cursor:pointer}.image-block .zoom:hover{opacity:.8}.image-block .zoom .lnr{font-size:20px;font-weight:700;color:#49caff}.image-block .default-image{display:flex;align-items:center;justify-content:center;background-color:#e1eaf1;width:200px;height:150px;opacity:.6}.image-block .default-image img{width:auto!important;height:auto!important}.image-block img{object-fit:cover;width:100%!important;height:100%!important}\n"] }]
|
|
8499
|
-
}], ctorParameters:
|
|
8498
|
+
}], ctorParameters: () => [], propDecorators: { versions: [{
|
|
8500
8499
|
type: Input
|
|
8501
8500
|
}], url: [{
|
|
8502
8501
|
type: Input
|
|
@@ -8613,8 +8612,8 @@ class FormFieldFileComponent {
|
|
|
8613
8612
|
this.inputStatus = "1";
|
|
8614
8613
|
this.cd.markForCheck();
|
|
8615
8614
|
}
|
|
8616
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8617
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8615
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldFileComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DialogService }, { token: RequestsFacade }, { token: FormDeleteFileFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8616
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FormFieldFileComponent, selector: "shared-form-field-file", inputs: { config: "config", fieldData: "fieldData", form: "form", entity: "entity" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"form-field-file\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"pb-10 width100\">\n <div class=\"mb-15 display-flex align-baseline form-field-input border-block\">\n <mat-label>{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</mat-label>\n <div\n @appearFromLeft\n *ngIf=\"imageSource || imageVersions\"\n class=\"form-field-file-image\">\n <div *ngIf=\"imageSource\" class=\"position-relative mat-elevation-z3 image-block\">\n <div class=\"form-field-file-close mat-elevation-z4\" (click)=\"deleteImage()\">\n <mat-icon class=\"fs-14\">close</mat-icon>\n </div>\n <img [src]=\"imageSource\" alt=\"\">\n </div>\n <div *ngIf=\"imageVersions\" class=\"position-relative image-block\">\n <shared-image\n class=\"width150100 display-block\"\n [versions]=\"imageVersions\"\n [version]=\"1\"\n (delete)=\"deleteImage()\"></shared-image>\n </div>\n </div>\n <div\n [@inputAnim]=\"inputStatus\"\n class=\"input\">\n <input #input\n type=\"file\"\n (change)=\"onFileChange($event)\" />\n </div>\n </div>\n </div>\n <shared-spinner\n *ngIf=\"(request$ | async)?.status === requestStatuses.LOADING\"\n [overlay]=\"true\"\n [diameter]=\"20\"\n [color]=\"'blue'\"></shared-spinner>\n</div>\n", styles: [".form-field-file .form-field-input{transition:all .2s ease;min-height:66px;align-items:center;padding-top:0;padding-bottom:0;position:relative}.form-field-file .form-field-input.height-0{height:0;padding:0;border:0}.form-field-file .form-field-input mat-label{color:#5f5b5b;font-size:12px;padding:0 5px;position:absolute;background-color:#fff;top:-10px;left:10px}.form-field-file .form-field-file-image{position:relative;transition:all .2s ease;overflow:hidden;display:flex;justify-content:flex-start;margin:10px 0}.form-field-file .form-field-file-image.height-100{height:100px}.form-field-file .form-field-file-image img{object-fit:cover;width:150px;height:100px;border-radius:4px;overflow:hidden;background:#fff}.form-field-file .form-field-file-image .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336;transition:all .15s ease;opacity:.6}.form-field-file .form-field-file-image .form-field-file-close mat-icon{transition:transform .15s ease;width:15px;height:15px;min-width:15px;min-height:15px;margin-left:1px;margin-top:3px}.form-field-file .form-field-file-image .form-field-file-close:hover{opacity:1}.form-field-file .form-field-file-image .form-field-file-close:hover mat-icon{transform:rotate(90deg)}.form-field-file .form-field-file-image .image-block:hover .form-field-file-close{width:25px;height:25px;opacity:.8}.form-field-file .form-field-file-image .image-block:hover .form-field-file-close mat-icon{width:18px;min-width:18px;height:18px;min-height:18px;font-size:18px}.form-field-file .position-absolute{position:absolute}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$4.MatLabel, selector: "mat-label" }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: ImageComponent, selector: "shared-image", inputs: ["versions", "url", "version", "title", "index", "haveZoom", "imgClass"], outputs: ["clickEvent", "delete"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], animations: [
|
|
8618
8617
|
appearFromLeft,
|
|
8619
8618
|
trigger("inputAnim", [
|
|
8620
8619
|
state("0", style({
|
|
@@ -8632,7 +8631,7 @@ class FormFieldFileComponent {
|
|
|
8632
8631
|
])
|
|
8633
8632
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8634
8633
|
}
|
|
8635
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8634
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldFileComponent, decorators: [{
|
|
8636
8635
|
type: Component,
|
|
8637
8636
|
args: [{ selector: "shared-form-field-file", changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
8638
8637
|
appearFromLeft,
|
|
@@ -8651,7 +8650,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
8651
8650
|
])
|
|
8652
8651
|
])
|
|
8653
8652
|
], template: "<div class=\"form-field-file\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"pb-10 width100\">\n <div class=\"mb-15 display-flex align-baseline form-field-input border-block\">\n <mat-label>{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</mat-label>\n <div\n @appearFromLeft\n *ngIf=\"imageSource || imageVersions\"\n class=\"form-field-file-image\">\n <div *ngIf=\"imageSource\" class=\"position-relative mat-elevation-z3 image-block\">\n <div class=\"form-field-file-close mat-elevation-z4\" (click)=\"deleteImage()\">\n <mat-icon class=\"fs-14\">close</mat-icon>\n </div>\n <img [src]=\"imageSource\" alt=\"\">\n </div>\n <div *ngIf=\"imageVersions\" class=\"position-relative image-block\">\n <shared-image\n class=\"width150100 display-block\"\n [versions]=\"imageVersions\"\n [version]=\"1\"\n (delete)=\"deleteImage()\"></shared-image>\n </div>\n </div>\n <div\n [@inputAnim]=\"inputStatus\"\n class=\"input\">\n <input #input\n type=\"file\"\n (change)=\"onFileChange($event)\" />\n </div>\n </div>\n </div>\n <shared-spinner\n *ngIf=\"(request$ | async)?.status === requestStatuses.LOADING\"\n [overlay]=\"true\"\n [diameter]=\"20\"\n [color]=\"'blue'\"></shared-spinner>\n</div>\n", styles: [".form-field-file .form-field-input{transition:all .2s ease;min-height:66px;align-items:center;padding-top:0;padding-bottom:0;position:relative}.form-field-file .form-field-input.height-0{height:0;padding:0;border:0}.form-field-file .form-field-input mat-label{color:#5f5b5b;font-size:12px;padding:0 5px;position:absolute;background-color:#fff;top:-10px;left:10px}.form-field-file .form-field-file-image{position:relative;transition:all .2s ease;overflow:hidden;display:flex;justify-content:flex-start;margin:10px 0}.form-field-file .form-field-file-image.height-100{height:100px}.form-field-file .form-field-file-image img{object-fit:cover;width:150px;height:100px;border-radius:4px;overflow:hidden;background:#fff}.form-field-file .form-field-file-image .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336;transition:all .15s ease;opacity:.6}.form-field-file .form-field-file-image .form-field-file-close mat-icon{transition:transform .15s ease;width:15px;height:15px;min-width:15px;min-height:15px;margin-left:1px;margin-top:3px}.form-field-file .form-field-file-image .form-field-file-close:hover{opacity:1}.form-field-file .form-field-file-image .form-field-file-close:hover mat-icon{transform:rotate(90deg)}.form-field-file .form-field-file-image .image-block:hover .form-field-file-close{width:25px;height:25px;opacity:.8}.form-field-file .form-field-file-image .image-block:hover .form-field-file-close mat-icon{width:18px;min-width:18px;height:18px;min-height:18px;font-size:18px}.form-field-file .position-absolute{position:absolute}\n"] }]
|
|
8654
|
-
}], ctorParameters:
|
|
8653
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: DialogService }, { type: RequestsFacade }, { type: FormDeleteFileFacade }], propDecorators: { config: [{
|
|
8655
8654
|
type: Input
|
|
8656
8655
|
}], fieldData: [{
|
|
8657
8656
|
type: Input
|
|
@@ -8764,13 +8763,13 @@ class FileListCardComponent {
|
|
|
8764
8763
|
this.firstRequest = false;
|
|
8765
8764
|
}
|
|
8766
8765
|
}
|
|
8767
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8768
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8766
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FileListCardComponent, deps: [{ token: FilesFacade }, { token: NotificationsFacade }, { token: DialogService }, { token: i0.ChangeDetectorRef }, { token: RequestsFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8767
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FileListCardComponent, selector: "shared-file-list-card", inputs: { file: "file", section: "section", itemId: "itemId", mode: "mode" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"fuse-card\"\n [ngClass]=\"{'fuse-card-sort': mode === ModeSort}\">\n <div class=\"top-panel\" fxLayout=\"row\" fxLayoutAlign=\"end center\">\n <button\n mat-icon-button\n aria-label=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n title=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n class=\"color-green\"\n (click)=\"editFile()\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n <button mat-icon-button\n aria-label=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n title=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n (click)=\"setMain(file.id, file.main)\"\n [ngClass]=\"{'cursor-no-pointer': file.main}\">\n <mat-icon *ngIf=\"!file.main\">star_border</mat-icon>\n <mat-icon *ngIf=\"file.main\">star</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n title=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n class=\"color-red\"\n (click)=\"fileDelete(file.id)\"\n >\n <mat-icon>delete_outline</mat-icon>\n </button>\n </div>\n <div class=\"image\"\n [ngStyle]=\"{'background-image': file.versions ? 'url(' + file.versions[2] + ')' : 'none'}\"></div>\n <div class=\"p-10 cart-title p-0\"\n [ngClass]=\"{'edit-title': edit, 'empty-title': !file.title}\">\n <div class=\"width100 display-flex-space-between edit-block\"\n [ngClass]=\"{'edit-block-open': edit}\">\n\n <div *ngIf=\"!edit && file?.title\" class=\"h3\">{{file.title}}</div>\n <ng-container *ngIf=\"edit\">\n <textarea type=\"text\"\n placeholder=\"Enter image title...\"\n class=\"edit-textarea\"\n (change)=\"changeTitle($event)\"\n [innerText]=\"file && file.title ? file.title : ''\"></textarea>\n <div class=\"edit-button\">\n <button\n mat-icon-button\n aria-label=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n title=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n class=\"color-green\"\n (click)=\"saveTitle(file)\"\n >\n <mat-icon>check</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n title=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n class=\"color-red\"\n (click)=\"edit = false\"\n >\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </ng-container>\n </div>\n </div>\n <shared-spinner\n *ngIf=\"loading\"\n [overlay]=\"true\"\n [diameter]=\"20\"\n [color]=\"'blue'\"></shared-spinner>\n</div>\n", styles: [":host.cdk-drag-placeholder .fuse-card{z-index:1000}.custom-placeholder{background:#ccc;border:dotted 3px #999;min-height:60px;transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card{margin:5px;position:relative;max-width:250px;min-width:250px;max-height:160px;min-height:160px;cursor:move}.fuse-card.fuse-card-sort{max-width:200px;min-width:200px;padding:5px!important}.fuse-card.fuse-card-sort .top-panel,.fuse-card.fuse-card-sort .cart-title{display:none}.fuse-card.fuse-card-sort .image{width:200px;height:100px}.fuse-card:hover .cart-title,.fuse-card:hover .top-panel{background:#efefefc7;transform:scale(1);margin-top:0;margin-right:0}.fuse-card:hover .cart-title button mat-icon,.fuse-card:hover .top-panel button mat-icon{transform:scale(.8)}.fuse-card:hover .cart-title .h3{font-size:14px}.fuse-card .image{width:250px;height:160px;text-align:center;background-size:cover;background-position:center top;border-radius:6px;overflow:hidden}.fuse-card .top-panel,.fuse-card .cart-title{background:#efefef80;transition:all .2s linear}.fuse-card .top-panel:hover,.fuse-card .cart-title:hover{background:#efefef}.fuse-card .top-panel{position:absolute;right:0;border-bottom-left-radius:12px;transform:scale(.8);margin-top:-4px;margin-right:-12px}.fuse-card .top-panel button.color-green mat-icon{color:#236126cc}.fuse-card .top-panel button.color-green:hover mat-icon{color:#4caf50}.fuse-card .top-panel button.color-red mat-icon{color:#f44336cc}.fuse-card .top-panel button.color-red:hover mat-icon{color:#f44336}.fuse-card .top-panel button mat-icon{color:#323232cc}.fuse-card .top-panel button mat-icon{transition:all .2s linear;transform:scale(1)}.fuse-card .top-panel button:hover mat-icon{color:#000;transform:scale(1)}.fuse-card .top-panel button mat-icon{font-size:20px}.fuse-card .cart-title{position:absolute;left:0;right:0;bottom:0;font-size:12px;padding:10px;display:flex;transition:all .3s linear;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.fuse-card .cart-title.empty-title{background:transparent}.fuse-card .cart-title.edit-title{background:#fff}.fuse-card .cart-title.edit-title button mat-icon:hover{color:#7f7f7f}.fuse-card .cart-title .h3{flex-grow:1;padding:9px 5px 9px 10px;color:#fff;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transition:all .2s linear;font-size:12px}.fuse-card .cart-title .h3:hover{color:#079be5}.fuse-card .cart-title .edit-block{transition:all .2s linear}.fuse-card .cart-title .edit-block.edit-block-open{background:#f5f5f5}.fuse-card .cart-title textarea.edit-textarea{flex-grow:1;background-color:transparent;border:0;resize:none;padding:5px 0 5px 5px}.fuse-card .cart-title .edit-button{width:40px}.fuse-card .cart-title .edit-button button mat-icon{color:#d0d0d0;transition:all .2s linear}.fuse-card .cart-title .edit-button button mat-icon:hover{color:#fff;box-shadow:0 0 3px}.fuse-card.fuse-card-sort{padding:20px 10px;border-right:solid 1px #ccc;color:#000000de;display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:#fff;font-size:14px;flex-grow:1;flex-basis:0}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card:last-child{border:none}.card-list.cdk-drop-list-dragging .fuse-card:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: i5.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i9.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i9.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8769
8768
|
}
|
|
8770
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8769
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FileListCardComponent, decorators: [{
|
|
8771
8770
|
type: Component,
|
|
8772
8771
|
args: [{ selector: 'shared-file-list-card', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"fuse-card\"\n [ngClass]=\"{'fuse-card-sort': mode === ModeSort}\">\n <div class=\"top-panel\" fxLayout=\"row\" fxLayoutAlign=\"end center\">\n <button\n mat-icon-button\n aria-label=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n title=\"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\"\n class=\"color-green\"\n (click)=\"editFile()\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n <button mat-icon-button\n aria-label=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n title=\"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u0433\u043B\u0430\u0432\u043D\u044B\u043C\"\n (click)=\"setMain(file.id, file.main)\"\n [ngClass]=\"{'cursor-no-pointer': file.main}\">\n <mat-icon *ngIf=\"!file.main\">star_border</mat-icon>\n <mat-icon *ngIf=\"file.main\">star</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n title=\"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B\"\n class=\"color-red\"\n (click)=\"fileDelete(file.id)\"\n >\n <mat-icon>delete_outline</mat-icon>\n </button>\n </div>\n <div class=\"image\"\n [ngStyle]=\"{'background-image': file.versions ? 'url(' + file.versions[2] + ')' : 'none'}\"></div>\n <div class=\"p-10 cart-title p-0\"\n [ngClass]=\"{'edit-title': edit, 'empty-title': !file.title}\">\n <div class=\"width100 display-flex-space-between edit-block\"\n [ngClass]=\"{'edit-block-open': edit}\">\n\n <div *ngIf=\"!edit && file?.title\" class=\"h3\">{{file.title}}</div>\n <ng-container *ngIf=\"edit\">\n <textarea type=\"text\"\n placeholder=\"Enter image title...\"\n class=\"edit-textarea\"\n (change)=\"changeTitle($event)\"\n [innerText]=\"file && file.title ? file.title : ''\"></textarea>\n <div class=\"edit-button\">\n <button\n mat-icon-button\n aria-label=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n title=\"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\"\n class=\"color-green\"\n (click)=\"saveTitle(file)\"\n >\n <mat-icon>check</mat-icon>\n </button>\n <button\n mat-icon-button\n aria-label=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n title=\"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\"\n class=\"color-red\"\n (click)=\"edit = false\"\n >\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </ng-container>\n </div>\n </div>\n <shared-spinner\n *ngIf=\"loading\"\n [overlay]=\"true\"\n [diameter]=\"20\"\n [color]=\"'blue'\"></shared-spinner>\n</div>\n", styles: [":host.cdk-drag-placeholder .fuse-card{z-index:1000}.custom-placeholder{background:#ccc;border:dotted 3px #999;min-height:60px;transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card{margin:5px;position:relative;max-width:250px;min-width:250px;max-height:160px;min-height:160px;cursor:move}.fuse-card.fuse-card-sort{max-width:200px;min-width:200px;padding:5px!important}.fuse-card.fuse-card-sort .top-panel,.fuse-card.fuse-card-sort .cart-title{display:none}.fuse-card.fuse-card-sort .image{width:200px;height:100px}.fuse-card:hover .cart-title,.fuse-card:hover .top-panel{background:#efefefc7;transform:scale(1);margin-top:0;margin-right:0}.fuse-card:hover .cart-title button mat-icon,.fuse-card:hover .top-panel button mat-icon{transform:scale(.8)}.fuse-card:hover .cart-title .h3{font-size:14px}.fuse-card .image{width:250px;height:160px;text-align:center;background-size:cover;background-position:center top;border-radius:6px;overflow:hidden}.fuse-card .top-panel,.fuse-card .cart-title{background:#efefef80;transition:all .2s linear}.fuse-card .top-panel:hover,.fuse-card .cart-title:hover{background:#efefef}.fuse-card .top-panel{position:absolute;right:0;border-bottom-left-radius:12px;transform:scale(.8);margin-top:-4px;margin-right:-12px}.fuse-card .top-panel button.color-green mat-icon{color:#236126cc}.fuse-card .top-panel button.color-green:hover mat-icon{color:#4caf50}.fuse-card .top-panel button.color-red mat-icon{color:#f44336cc}.fuse-card .top-panel button.color-red:hover mat-icon{color:#f44336}.fuse-card .top-panel button mat-icon{color:#323232cc}.fuse-card .top-panel button mat-icon{transition:all .2s linear;transform:scale(1)}.fuse-card .top-panel button:hover mat-icon{color:#000;transform:scale(1)}.fuse-card .top-panel button mat-icon{font-size:20px}.fuse-card .cart-title{position:absolute;left:0;right:0;bottom:0;font-size:12px;padding:10px;display:flex;transition:all .3s linear;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.fuse-card .cart-title.empty-title{background:transparent}.fuse-card .cart-title.edit-title{background:#fff}.fuse-card .cart-title.edit-title button mat-icon:hover{color:#7f7f7f}.fuse-card .cart-title .h3{flex-grow:1;padding:9px 5px 9px 10px;color:#fff;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transition:all .2s linear;font-size:12px}.fuse-card .cart-title .h3:hover{color:#079be5}.fuse-card .cart-title .edit-block{transition:all .2s linear}.fuse-card .cart-title .edit-block.edit-block-open{background:#f5f5f5}.fuse-card .cart-title textarea.edit-textarea{flex-grow:1;background-color:transparent;border:0;resize:none;padding:5px 0 5px 5px}.fuse-card .cart-title .edit-button{width:40px}.fuse-card .cart-title .edit-button button mat-icon{color:#d0d0d0;transition:all .2s linear}.fuse-card .cart-title .edit-button button mat-icon:hover{color:#fff;box-shadow:0 0 3px}.fuse-card.fuse-card-sort{padding:20px 10px;border-right:solid 1px #ccc;color:#000000de;display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:#fff;font-size:14px;flex-grow:1;flex-basis:0}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card:last-child{border:none}.card-list.cdk-drop-list-dragging .fuse-card:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"] }]
|
|
8773
|
-
}], ctorParameters:
|
|
8772
|
+
}], ctorParameters: () => [{ type: FilesFacade }, { type: NotificationsFacade }, { type: DialogService }, { type: i0.ChangeDetectorRef }, { type: RequestsFacade }], propDecorators: { file: [{
|
|
8774
8773
|
type: Input
|
|
8775
8774
|
}], section: [{
|
|
8776
8775
|
type: Input
|
|
@@ -8846,13 +8845,13 @@ class FilesUploadListImagesComponent {
|
|
|
8846
8845
|
});
|
|
8847
8846
|
this.changeSort.emit({ newSorting, storedSorting: this.storedFirstSorting });
|
|
8848
8847
|
}
|
|
8849
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8850
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8848
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FilesUploadListImagesComponent, deps: [{ token: FilesFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8849
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FilesUploadListImagesComponent, selector: "shared-files-upload-list-images", inputs: { section: "section", filesType: "filesType", itemId: "itemId", mode: "mode" }, outputs: { changeSort: "changeSort" }, ngImport: i0, template: "<div class=\"cards position-relative\">\n <ng-container *ngIf=\"files$ | async as files; else loading\">\n <div *ngIf=\"files.length\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n class=\"card-list\">\n <!-- trackBy: trackById -->\n <shared-file-list-card\n cdkDrag\n *ngFor=\"let file of files;\"\n @hideToTopOpacity\n [file]=\"file\"\n [section]=\"section\"\n [itemId]=\"itemId\"></shared-file-list-card>\n </div>\n <div *ngIf=\"!files.length\" class=\"empty-list\">\n \u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442\n </div>\n </ng-container>\n</div>\n<ng-template #loading>\n <shared-spinner [overlay]=\"true\"></shared-spinner>\n</ng-template>\n", styles: [".image{text-align:center;background-size:cover;background-position:center top;width:318px;height:200px;border-radius:6px;overflow:hidden}.custom-placeholder{background:#ccc;border:dotted 3px #999;min-height:60px;transition:transform .25s cubic-bezier(0,0,.2,1)}.cards,.card-list{display:flex;flex-wrap:wrap}.card-list-sort{flex-direction:column;flex-wrap:nowrap;overflow:hidden}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card:last-child{border:none}.card-list.cdk-drop-list-dragging .fuse-card:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"], dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$4.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i3$4.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: FileListCardComponent, selector: "shared-file-list-card", inputs: ["file", "section", "itemId", "mode"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], animations: [hideToTopOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8851
8850
|
}
|
|
8852
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8851
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FilesUploadListImagesComponent, decorators: [{
|
|
8853
8852
|
type: Component,
|
|
8854
8853
|
args: [{ selector: 'shared-files-upload-list-images', changeDetection: ChangeDetectionStrategy.OnPush, animations: [hideToTopOpacity], template: "<div class=\"cards position-relative\">\n <ng-container *ngIf=\"files$ | async as files; else loading\">\n <div *ngIf=\"files.length\"\n cdkDropList\n cdkDropListOrientation=\"horizontal\"\n (cdkDropListDropped)=\"drop($event)\"\n class=\"card-list\">\n <!-- trackBy: trackById -->\n <shared-file-list-card\n cdkDrag\n *ngFor=\"let file of files;\"\n @hideToTopOpacity\n [file]=\"file\"\n [section]=\"section\"\n [itemId]=\"itemId\"></shared-file-list-card>\n </div>\n <div *ngIf=\"!files.length\" class=\"empty-list\">\n \u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442\n </div>\n </ng-container>\n</div>\n<ng-template #loading>\n <shared-spinner [overlay]=\"true\"></shared-spinner>\n</ng-template>\n", styles: [".image{text-align:center;background-size:cover;background-position:center top;width:318px;height:200px;border-radius:6px;overflow:hidden}.custom-placeholder{background:#ccc;border:dotted 3px #999;min-height:60px;transition:transform .25s cubic-bezier(0,0,.2,1)}.cards,.card-list{display:flex;flex-wrap:wrap}.card-list-sort{flex-direction:column;flex-wrap:nowrap;overflow:hidden}.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.fuse-card:last-child{border:none}.card-list.cdk-drop-list-dragging .fuse-card:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"] }]
|
|
8855
|
-
}], ctorParameters:
|
|
8854
|
+
}], ctorParameters: () => [{ type: FilesFacade }], propDecorators: { section: [{
|
|
8856
8855
|
type: Input
|
|
8857
8856
|
}], filesType: [{
|
|
8858
8857
|
type: Input
|
|
@@ -8944,22 +8943,22 @@ class TableFilesUploadingComponent {
|
|
|
8944
8943
|
id: 'images.uploads'
|
|
8945
8944
|
});
|
|
8946
8945
|
}
|
|
8947
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8948
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
8946
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TableFilesUploadingComponent, deps: [{ token: FilesFacade }, { token: NotificationsFacade }, { token: i0.ChangeDetectorRef }, { token: AuthenticationService }, { token: CORE_CONFIG }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8947
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TableFilesUploadingComponent, selector: "shared-table-files-uploading", inputs: { section: "section", itemId: "itemId", haveElevation: "haveElevation" }, outputs: { loadingCompleted: "loadingCompleted" }, ngImport: i0, template: "<div\n class=\"page-layout simple fullwidth fileUploads\"\n fxLayout=\"column\">\n <!-- CONTENT -->\n <div class=\"p-24\"\n [ngClass]=\"{'mat-card mat-elevation-z4': haveElevation}\">\n <div class=\"row\">\n <div class=\"col-md-12\" *ngIf=\"!uploader.queue.length\" [@appearFromLeftHideToRight]>\n <div class=\"h2 mb-24\">\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B</div>\n <div ng2FileDrop\n [ngClass]=\"{'nv-file-over': hasBaseDropZoneOver}\"\n (fileOver)=\"fileOverBase($event)\"\n [uploader]=\"uploader\"\n class=\"well my-drop-zone\">\n \u041F\u0435\u0440\u0435\u043D\u0435\u0441\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B\n </div>\n <div class=\"p-5\">\n \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B: <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple/><br/>\n </div>\n </div>\n\n <div *ngIf=\"uploader && uploader.queue.length\" [@appearFromLeftHideToRight] class=\"col-md-12\">\n <ng-container *ngIf=\"allProgress$ | async as allProgress\">\n <ng-container *ngIf=\"itemsProgress$ | async as itemsProgress\">\n <ng-container *ngIf=\"allProgress !== 100\">\n <h3>\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A</h3>\n <table class=\"table\">\n <thead>\n <tr>\n <th width=\"50%\">\u0424\u0430\u0439\u043B</th>\n <th>\u0420\u0430\u0437\u043C\u0435\u0440</th>\n <th>\u041F\u0440\u043E\u0433\u0440\u0435\u0441\u0441</th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let item of uploader.queue\">\n <tr [@appearFromLeftHideToRight] *ngIf=\"itemsProgress[item?.file?.name] !== 100\">\n <td><strong>{{ item?.file?.name }}</strong></td>\n <td nowrap>{{ item?.file?.size / 1024 / 1024 | number:'.2' }} MB</td>\n <td>\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"itemsProgress[item?.file?.name] || 0\">\n </mat-progress-bar>\n </div>\n </td>\n </tr>\n </ng-container>\n </tbody>\n </table>\n <div>\n <div class=\"progress-block\">\n Queue progress:\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"allProgress\">\n </mat-progress-bar>\n </div>\n </div>\n <!--<div class=\"text-right\">\n <button mat-flat-button color=\"accent\"\n class=\"mr-5\"\n (click)=\"uploader.uploadAll()\"\n [disabled]=\"!uploader.getNotUploadedItems().length\">\n <mat-icon class=\"fs-18\">get_app</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"primary\"\n class=\"mr-5\"\n (click)=\"uploader.cancelAll()\"\n [disabled]=\"!uploader.isUploading\">\n <mat-icon class=\"fs-18\">clear</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"warn\"\n class=\"mr-5\"\n (click)=\"uploader.clearQueue()\"\n [disabled]=\"!uploader.queue.length\">\n <mat-icon class=\"fs-18\">delete_outline</mat-icon>\n \u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n </div>-->\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{display:block}.fileUploads{margin-bottom:10px;margin-left:-5px}.fileUploads .mat-card{margin:5px}.nv-file-over{border:dotted 3px red}.cursor-no-pointer{cursor:auto}.table{width:100%}.table tr{line-height:40px;border-top:1px solid #efefef}.table thead{background:#efefef}.table thead th{padding:0 10px}.my-drop-zone{border:dotted 3px lightgray;padding:10px;margin-bottom:10px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5$2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "directive", type: i6.FileDropDirective, selector: "[ng2FileDrop]", inputs: ["uploader"], outputs: ["fileOver", "onFileDrop"] }, { kind: "directive", type: i6.FileSelectDirective, selector: "[ng2FileSelect]", inputs: ["uploader"], outputs: ["onFileSelected"] }, { kind: "directive", type: i9.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }, { kind: "pipe", type: i1$3.DecimalPipe, name: "number" }], animations: [
|
|
8949
8948
|
hideToTopOpacity,
|
|
8950
8949
|
appearFromLeftHideToRight
|
|
8951
8950
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8952
8951
|
}
|
|
8953
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8952
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TableFilesUploadingComponent, decorators: [{
|
|
8954
8953
|
type: Component,
|
|
8955
8954
|
args: [{ selector: 'shared-table-files-uploading', animations: [
|
|
8956
8955
|
hideToTopOpacity,
|
|
8957
8956
|
appearFromLeftHideToRight
|
|
8958
8957
|
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"page-layout simple fullwidth fileUploads\"\n fxLayout=\"column\">\n <!-- CONTENT -->\n <div class=\"p-24\"\n [ngClass]=\"{'mat-card mat-elevation-z4': haveElevation}\">\n <div class=\"row\">\n <div class=\"col-md-12\" *ngIf=\"!uploader.queue.length\" [@appearFromLeftHideToRight]>\n <div class=\"h2 mb-24\">\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B</div>\n <div ng2FileDrop\n [ngClass]=\"{'nv-file-over': hasBaseDropZoneOver}\"\n (fileOver)=\"fileOverBase($event)\"\n [uploader]=\"uploader\"\n class=\"well my-drop-zone\">\n \u041F\u0435\u0440\u0435\u043D\u0435\u0441\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B\n </div>\n <div class=\"p-5\">\n \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B\u044B: <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple/><br/>\n </div>\n </div>\n\n <div *ngIf=\"uploader && uploader.queue.length\" [@appearFromLeftHideToRight] class=\"col-md-12\">\n <ng-container *ngIf=\"allProgress$ | async as allProgress\">\n <ng-container *ngIf=\"itemsProgress$ | async as itemsProgress\">\n <ng-container *ngIf=\"allProgress !== 100\">\n <h3>\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A</h3>\n <table class=\"table\">\n <thead>\n <tr>\n <th width=\"50%\">\u0424\u0430\u0439\u043B</th>\n <th>\u0420\u0430\u0437\u043C\u0435\u0440</th>\n <th>\u041F\u0440\u043E\u0433\u0440\u0435\u0441\u0441</th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let item of uploader.queue\">\n <tr [@appearFromLeftHideToRight] *ngIf=\"itemsProgress[item?.file?.name] !== 100\">\n <td><strong>{{ item?.file?.name }}</strong></td>\n <td nowrap>{{ item?.file?.size / 1024 / 1024 | number:'.2' }} MB</td>\n <td>\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"itemsProgress[item?.file?.name] || 0\">\n </mat-progress-bar>\n </div>\n </td>\n </tr>\n </ng-container>\n </tbody>\n </table>\n <div>\n <div class=\"progress-block\">\n Queue progress:\n <div class=\"progress\">\n <mat-progress-bar\n class=\"example-margin\"\n color=\"warn\"\n mode=\"determinate\"\n [value]=\"allProgress\">\n </mat-progress-bar>\n </div>\n </div>\n <!--<div class=\"text-right\">\n <button mat-flat-button color=\"accent\"\n class=\"mr-5\"\n (click)=\"uploader.uploadAll()\"\n [disabled]=\"!uploader.getNotUploadedItems().length\">\n <mat-icon class=\"fs-18\">get_app</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"primary\"\n class=\"mr-5\"\n (click)=\"uploader.cancelAll()\"\n [disabled]=\"!uploader.isUploading\">\n <mat-icon class=\"fs-18\">clear</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n <button mat-flat-button color=\"warn\"\n class=\"mr-5\"\n (click)=\"uploader.clearQueue()\"\n [disabled]=\"!uploader.queue.length\">\n <mat-icon class=\"fs-18\">delete_outline</mat-icon>\n \u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435\n </button>\n </div>-->\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{display:block}.fileUploads{margin-bottom:10px;margin-left:-5px}.fileUploads .mat-card{margin:5px}.nv-file-over{border:dotted 3px red}.cursor-no-pointer{cursor:auto}.table{width:100%}.table tr{line-height:40px;border-top:1px solid #efefef}.table thead{background:#efefef}.table thead th{padding:0 10px}.my-drop-zone{border:dotted 3px lightgray;padding:10px;margin-bottom:10px}\n"] }]
|
|
8959
|
-
}], ctorParameters:
|
|
8958
|
+
}], ctorParameters: () => [{ type: FilesFacade }, { type: NotificationsFacade }, { type: i0.ChangeDetectorRef }, { type: AuthenticationService }, { type: undefined, decorators: [{
|
|
8960
8959
|
type: Inject,
|
|
8961
8960
|
args: [CORE_CONFIG]
|
|
8962
|
-
}] }]
|
|
8961
|
+
}] }], propDecorators: { section: [{
|
|
8963
8962
|
type: Input
|
|
8964
8963
|
}], itemId: [{
|
|
8965
8964
|
type: Input
|
|
@@ -9017,21 +9016,21 @@ class FilesUploadComponent {
|
|
|
9017
9016
|
loadingCompleted() {
|
|
9018
9017
|
this.uploadFilesState = this.closeState;
|
|
9019
9018
|
}
|
|
9020
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9021
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9019
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FilesUploadComponent, deps: [{ token: FilesFacade }, { token: RequestsFacade }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9020
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FilesUploadComponent, selector: "shared-files-upload", inputs: { section: "section", itemId: "itemId", filesType: "filesType", haveElevation: "haveElevation" }, ngImport: i0, template: "<div class=\"text-center mb-14 top-button\">\n <button\n *ngIf=\"!changedSort\"\n @appearOpacity\n mat-stroked-button\n color=\"accent\"\n (click)=\"uploadFilesToggle()\">\n <mat-icon class=\"fs-18\">add_a_photo</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438\n </button>\n\n <button *ngIf=\"changedSort\"\n @appearOpacity\n mat-stroked-button\n color=\"primary\"\n (click)=\"cancelSort()\">\n <mat-icon class=\"fs-18\">cancel</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n <button\n *ngIf=\"changedSort\"\n @appearOpacity\n class=\"ml-5\"\n mat-stroked-button\n color=\"accent\"\n [disabled]=\"!fileOrders\"\n (click)=\"saveSort()\">\n <mat-icon class=\"fs-18\">save</mat-icon>\n \u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0443\n </button>\n</div>\n\n<shared-table-files-uploading\n [@appearFromLeft]\n *ngIf=\"uploadFilesState === openState\"\n [section]=\"section\"\n [itemId]=\"itemId\"\n [haveElevation]=\"haveElevation\"\n (loadingCompleted)=\"loadingCompleted()\"></shared-table-files-uploading>\n\n<shared-files-upload-list-images\n [@appearFromLeft]\n [section]=\"section\"\n [filesType]=\"filesType\"\n [itemId]=\"itemId\"\n [mode]=\"mode\"\n (changeSort)=\"changeSort($event)\"></shared-files-upload-list-images>\n\n<ng-container *ngIf=\"request$ | async as request\">\n <shared-spinner *ngIf=\"request && request.status === loadingStatus\" [overlay]=\"true\"></shared-spinner>\n</ng-container>\n", styles: [":host{width:100%;padding:10px}.another-file-over-class{border:dotted 3px green}html,body{height:100%}.cursor-no-pointer{cursor:auto}.edit-title{display:flex;width:100%}.edit-title textarea{flex-grow:1}.edit-title button{width:40px}button mat-icon{margin-right:5px;font-size:20px!important}.mb-14{margin-bottom:14px}.progress-block{margin-bottom:10px}.ml-5{margin-left:5px}.top-button{position:relative;z-index:10}.sub-button{opacity:0;margin-top:-50px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: i5.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: FilesUploadListImagesComponent, selector: "shared-files-upload-list-images", inputs: ["section", "filesType", "itemId", "mode"], outputs: ["changeSort"] }, { kind: "component", type: TableFilesUploadingComponent, selector: "shared-table-files-uploading", inputs: ["section", "itemId", "haveElevation"], outputs: ["loadingCompleted"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], animations: [
|
|
9022
9021
|
appearOpacity,
|
|
9023
9022
|
appearFromLeft,
|
|
9024
9023
|
appearFromLeftHideToRight
|
|
9025
9024
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9026
9025
|
}
|
|
9027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9026
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FilesUploadComponent, decorators: [{
|
|
9028
9027
|
type: Component,
|
|
9029
9028
|
args: [{ selector: 'shared-files-upload', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
9030
9029
|
appearOpacity,
|
|
9031
9030
|
appearFromLeft,
|
|
9032
9031
|
appearFromLeftHideToRight
|
|
9033
9032
|
], template: "<div class=\"text-center mb-14 top-button\">\n <button\n *ngIf=\"!changedSort\"\n @appearOpacity\n mat-stroked-button\n color=\"accent\"\n (click)=\"uploadFilesToggle()\">\n <mat-icon class=\"fs-18\">add_a_photo</mat-icon>\n \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438\n </button>\n\n <button *ngIf=\"changedSort\"\n @appearOpacity\n mat-stroked-button\n color=\"primary\"\n (click)=\"cancelSort()\">\n <mat-icon class=\"fs-18\">cancel</mat-icon>\n \u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n <button\n *ngIf=\"changedSort\"\n @appearOpacity\n class=\"ml-5\"\n mat-stroked-button\n color=\"accent\"\n [disabled]=\"!fileOrders\"\n (click)=\"saveSort()\">\n <mat-icon class=\"fs-18\">save</mat-icon>\n \u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0443\n </button>\n</div>\n\n<shared-table-files-uploading\n [@appearFromLeft]\n *ngIf=\"uploadFilesState === openState\"\n [section]=\"section\"\n [itemId]=\"itemId\"\n [haveElevation]=\"haveElevation\"\n (loadingCompleted)=\"loadingCompleted()\"></shared-table-files-uploading>\n\n<shared-files-upload-list-images\n [@appearFromLeft]\n [section]=\"section\"\n [filesType]=\"filesType\"\n [itemId]=\"itemId\"\n [mode]=\"mode\"\n (changeSort)=\"changeSort($event)\"></shared-files-upload-list-images>\n\n<ng-container *ngIf=\"request$ | async as request\">\n <shared-spinner *ngIf=\"request && request.status === loadingStatus\" [overlay]=\"true\"></shared-spinner>\n</ng-container>\n", styles: [":host{width:100%;padding:10px}.another-file-over-class{border:dotted 3px green}html,body{height:100%}.cursor-no-pointer{cursor:auto}.edit-title{display:flex;width:100%}.edit-title textarea{flex-grow:1}.edit-title button{width:40px}button mat-icon{margin-right:5px;font-size:20px!important}.mb-14{margin-bottom:14px}.progress-block{margin-bottom:10px}.ml-5{margin-left:5px}.top-button{position:relative;z-index:10}.sub-button{opacity:0;margin-top:-50px}\n"] }]
|
|
9034
|
-
}], ctorParameters:
|
|
9033
|
+
}], ctorParameters: () => [{ type: FilesFacade }, { type: RequestsFacade }, { type: i0.ChangeDetectorRef }], propDecorators: { section: [{
|
|
9035
9034
|
type: Input
|
|
9036
9035
|
}], itemId: [{
|
|
9037
9036
|
type: Input
|
|
@@ -9085,8 +9084,8 @@ class FormFieldFilesComponent {
|
|
|
9085
9084
|
value = controlValue;
|
|
9086
9085
|
return value;
|
|
9087
9086
|
}
|
|
9088
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9089
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9087
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldFilesComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9088
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FormFieldFilesComponent, selector: "shared-form-field-files", inputs: { config: "config", fieldData: "fieldData", form: "form", itemId: "itemId" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"form-field-file\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"pb-10 width100\">\n <div *ngIf=\"itemId\" class=\"mb-15 display-flex align-baseline form-field-input border-block\">\n <mat-label>{{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}</mat-label>\n <shared-files-upload [haveElevation]=\"false\"\n [section]=\"fieldData.options?.filesSection\"\n [filesType]=\"fieldData.options?.filesType\"\n [itemId]=\"itemId\"></shared-files-upload>\n\n </div>\n <div *ngIf=\"!itemId\" class=\"display-flex-align-center empty-list\">\n {{emptyTitle}}\n </div>\n </div>\n</div>\n\n\n", styles: [".form-field-file .form-field-input{transition:all .2s ease;min-height:66px;align-items:center;padding-top:0;padding-bottom:0;position:relative}.form-field-file .form-field-input.height-0{height:0;padding:0;border:0}.form-field-file .form-field-input mat-label{color:#5f5b5b;font-size:12px;padding:0 5px;position:absolute;background-color:#fff;top:-10px;left:10px}.form-field-file .form-field-file-image{position:relative;transition:all .2s ease;overflow:hidden;display:flex;justify-content:flex-start;margin:10px 0}.form-field-file .form-field-file-image.height-100{height:100px}.form-field-file .form-field-file-image img{object-fit:cover;width:150px;height:100px;border-radius:4px;overflow:hidden;background:#fff}.form-field-file .form-field-file-image .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336}.form-field-file .position-absolute{position:absolute}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$4.MatLabel, selector: "mat-label" }, { kind: "component", type: FilesUploadComponent, selector: "shared-files-upload", inputs: ["section", "itemId", "filesType", "haveElevation"] }], animations: [
|
|
9090
9089
|
appearFromLeft,
|
|
9091
9090
|
trigger("inputAnim", [
|
|
9092
9091
|
state("0", style({
|
|
@@ -9104,7 +9103,7 @@ class FormFieldFilesComponent {
|
|
|
9104
9103
|
])
|
|
9105
9104
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9106
9105
|
}
|
|
9107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldFilesComponent, decorators: [{
|
|
9108
9107
|
type: Component,
|
|
9109
9108
|
args: [{ selector: "shared-form-field-files", changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
9110
9109
|
appearFromLeft,
|
|
@@ -9123,7 +9122,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
9123
9122
|
])
|
|
9124
9123
|
])
|
|
9125
9124
|
], template: "<div class=\"form-field-file\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"pb-10 width100\">\n <div *ngIf=\"itemId\" class=\"mb-15 display-flex align-baseline form-field-input border-block\">\n <mat-label>{{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}</mat-label>\n <shared-files-upload [haveElevation]=\"false\"\n [section]=\"fieldData.options?.filesSection\"\n [filesType]=\"fieldData.options?.filesType\"\n [itemId]=\"itemId\"></shared-files-upload>\n\n </div>\n <div *ngIf=\"!itemId\" class=\"display-flex-align-center empty-list\">\n {{emptyTitle}}\n </div>\n </div>\n</div>\n\n\n", styles: [".form-field-file .form-field-input{transition:all .2s ease;min-height:66px;align-items:center;padding-top:0;padding-bottom:0;position:relative}.form-field-file .form-field-input.height-0{height:0;padding:0;border:0}.form-field-file .form-field-input mat-label{color:#5f5b5b;font-size:12px;padding:0 5px;position:absolute;background-color:#fff;top:-10px;left:10px}.form-field-file .form-field-file-image{position:relative;transition:all .2s ease;overflow:hidden;display:flex;justify-content:flex-start;margin:10px 0}.form-field-file .form-field-file-image.height-100{height:100px}.form-field-file .form-field-file-image img{object-fit:cover;width:150px;height:100px;border-radius:4px;overflow:hidden;background:#fff}.form-field-file .form-field-file-image .form-field-file-close{right:0;top:0;cursor:pointer;background:#fff;position:absolute;width:15px;height:15px;display:flex;align-items:center;justify-content:center;border-bottom-left-radius:4px;color:#f44336}.form-field-file .position-absolute{position:absolute}\n"] }]
|
|
9126
|
-
}], ctorParameters:
|
|
9125
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { config: [{
|
|
9127
9126
|
type: Input
|
|
9128
9127
|
}], fieldData: [{
|
|
9129
9128
|
type: Input
|
|
@@ -9137,8 +9136,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
9137
9136
|
}] } });
|
|
9138
9137
|
|
|
9139
9138
|
class FormFieldFileShowComponent {
|
|
9140
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9141
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9139
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldFileShowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9140
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FormFieldFileShowComponent, selector: "shared-form-field-file-show", inputs: { config: "config", fieldData: "fieldData", value: "value" }, ngImport: i0, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"width100\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div\n @appearFromLeft\n *ngIf=\"value\"\n class=\"form-field-file-image\">\n <div class=\"image-block mlr--5\">\n <shared-image class=\"mlr-5 mat-elevation-z3 width150100\"\n [versions]=\"value.versions\"\n [version]=\"1\"\n [haveZoom]=\"true\"></shared-image>\n </div>\n </div>\n </div>\n</div>\n", styles: [".image-block{display:flex;margin-bottom:10px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ImageComponent, selector: "shared-image", inputs: ["versions", "url", "version", "title", "index", "haveZoom", "imgClass"], outputs: ["clickEvent", "delete"] }], animations: [
|
|
9142
9141
|
appearFromLeft,
|
|
9143
9142
|
trigger('inputAnim', [
|
|
9144
9143
|
state('0', style({
|
|
@@ -9156,7 +9155,7 @@ class FormFieldFileShowComponent {
|
|
|
9156
9155
|
])
|
|
9157
9156
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9158
9157
|
}
|
|
9159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldFileShowComponent, decorators: [{
|
|
9160
9159
|
type: Component,
|
|
9161
9160
|
args: [{ selector: 'shared-form-field-file-show', changeDetection: ChangeDetectionStrategy.OnPush, animations: [
|
|
9162
9161
|
appearFromLeft,
|
|
@@ -9188,10 +9187,10 @@ class FormFieldSlideToggleShowComponent {
|
|
|
9188
9187
|
this.publishTitle = 'Да';
|
|
9189
9188
|
this.unPublishTitle = 'Нет';
|
|
9190
9189
|
}
|
|
9191
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9192
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9190
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldSlideToggleShowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9191
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FormFieldSlideToggleShowComponent, selector: "shared-form-field-slide-toggle-show", inputs: { config: "config", fieldData: "fieldData", value: "value" }, ngImport: i0, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <label class=\"show-label\">{{ fieldData.title }}</label>\n <div class=\"display-flex-align-center form-field-value\" [ngClass]=\"{'color-green': value, 'color-red': !value }\">\n <ng-container *ngIf=\"value\">\n <mat-icon>check</mat-icon>\n {{ publishTitle }}\n </ng-container>\n <ng-container *ngIf=\"!value\">\n <mat-icon>clear</mat-icon>\n {{ unPublishTitle }}\n </ng-container>\n </div>\n</div>\n", styles: [".small-form-width-form-field .show-label{margin-bottom:0}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9193
9192
|
}
|
|
9194
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldSlideToggleShowComponent, decorators: [{
|
|
9195
9194
|
type: Component,
|
|
9196
9195
|
args: [{ selector: 'shared-form-field-slide-toggle-show', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <label class=\"show-label\">{{ fieldData.title }}</label>\n <div class=\"display-flex-align-center form-field-value\" [ngClass]=\"{'color-green': value, 'color-red': !value }\">\n <ng-container *ngIf=\"value\">\n <mat-icon>check</mat-icon>\n {{ publishTitle }}\n </ng-container>\n <ng-container *ngIf=\"!value\">\n <mat-icon>clear</mat-icon>\n {{ unPublishTitle }}\n </ng-container>\n </div>\n</div>\n", styles: [".small-form-width-form-field .show-label{margin-bottom:0}\n"] }]
|
|
9197
9196
|
}], propDecorators: { config: [{
|
|
@@ -9232,13 +9231,13 @@ class FormFieldInputShowComponent {
|
|
|
9232
9231
|
this.inputValue = value;
|
|
9233
9232
|
}
|
|
9234
9233
|
}
|
|
9235
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9236
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9234
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldInputShowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9235
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FormFieldInputShowComponent, selector: "shared-form-field-input-show", inputs: { config: "config", fieldData: "fieldData", value: "value" }, usesOnChanges: true, ngImport: i0, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"width100\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"display-flex align-baseline\">\n {{inputValue}}\n </div>\n </div>\n</div>\n", styles: [".small-form-width-form-field .show-label{margin-bottom:0}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9237
9236
|
}
|
|
9238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldInputShowComponent, decorators: [{
|
|
9239
9238
|
type: Component,
|
|
9240
9239
|
args: [{ selector: 'shared-form-field-input-show', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"width100\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"display-flex align-baseline\">\n {{inputValue}}\n </div>\n </div>\n</div>\n", styles: [".small-form-width-form-field .show-label{margin-bottom:0}\n"] }]
|
|
9241
|
-
}], ctorParameters:
|
|
9240
|
+
}], ctorParameters: () => [], propDecorators: { config: [{
|
|
9242
9241
|
type: Input
|
|
9243
9242
|
}], fieldData: [{
|
|
9244
9243
|
type: Input
|
|
@@ -9265,13 +9264,13 @@ class FormFieldFilesShowComponent {
|
|
|
9265
9264
|
this.files$ = this.filesFacade.getFiles(params)
|
|
9266
9265
|
.pipe(take(1));
|
|
9267
9266
|
}
|
|
9268
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9269
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9267
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldFilesShowComponent, deps: [{ token: FilesFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9268
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FormFieldFilesShowComponent, selector: "shared-form-field-files-show", inputs: { config: "config", fieldData: "fieldData", entityId: "entityId", entitySection: "entitySection" }, ngImport: i0, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"width100\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"display-flex align-baseline\">\n <ng-container *ngIf=\"files$ | async as files\">\n <div class=\"position-relative image-block mlr--5\">\n <shared-image *ngFor=\"let file of files\"\n class=\"mlr-5 mat-elevation-z3\"\n [versions]=\"file.versions\"\n [version]=\"1\"\n [haveZoom]=\"true\"></shared-image>\n </div>\n </ng-container>\n </div>\n </div>\n</div>\n", styles: [".image-block{display:flex}.image-block shared-image{max-width:150px;max-height:100px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ImageComponent, selector: "shared-image", inputs: ["versions", "url", "version", "title", "index", "haveZoom", "imgClass"], outputs: ["clickEvent", "delete"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9270
9269
|
}
|
|
9271
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldFilesShowComponent, decorators: [{
|
|
9272
9271
|
type: Component,
|
|
9273
9272
|
args: [{ selector: 'shared-form-field-files-show', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"width100\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"display-flex align-baseline\">\n <ng-container *ngIf=\"files$ | async as files\">\n <div class=\"position-relative image-block mlr--5\">\n <shared-image *ngFor=\"let file of files\"\n class=\"mlr-5 mat-elevation-z3\"\n [versions]=\"file.versions\"\n [version]=\"1\"\n [haveZoom]=\"true\"></shared-image>\n </div>\n </ng-container>\n </div>\n </div>\n</div>\n", styles: [".image-block{display:flex}.image-block shared-image{max-width:150px;max-height:100px}\n"] }]
|
|
9274
|
-
}], ctorParameters:
|
|
9273
|
+
}], ctorParameters: () => [{ type: FilesFacade }], propDecorators: { config: [{
|
|
9275
9274
|
type: Input
|
|
9276
9275
|
}], fieldData: [{
|
|
9277
9276
|
type: Input
|
|
@@ -9297,13 +9296,13 @@ class FormFieldJsonShowComponent {
|
|
|
9297
9296
|
});
|
|
9298
9297
|
return result;
|
|
9299
9298
|
}
|
|
9300
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9301
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9299
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldJsonShowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9300
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FormFieldJsonShowComponent, selector: "shared-form-field-json-show", inputs: { config: "config", fieldData: "fieldData", value: "value" }, usesOnChanges: true, ngImport: i0, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"width100\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"display-flex align-baseline\">\n <div *ngFor=\"let item of inputValue\" class=\"display-flex display-flex-space-between\">\n <div class=\"json-line-field\">{{item.field}}: </div>\n <div class=\"json-line-value\">{{item.value}}</div>\n </div>\n </div>\n </div>\n</div>\n", styles: [".small-form-width-form-field .show-label{margin-bottom:0}.json-line-field{margin-right:5px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9302
9301
|
}
|
|
9303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldJsonShowComponent, decorators: [{
|
|
9304
9303
|
type: Component,
|
|
9305
9304
|
args: [{ selector: 'shared-form-field-json-show', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div class=\"width100\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"display-flex align-baseline\">\n <div *ngFor=\"let item of inputValue\" class=\"display-flex display-flex-space-between\">\n <div class=\"json-line-field\">{{item.field}}: </div>\n <div class=\"json-line-value\">{{item.value}}</div>\n </div>\n </div>\n </div>\n</div>\n", styles: [".small-form-width-form-field .show-label{margin-bottom:0}.json-line-field{margin-right:5px}\n"] }]
|
|
9306
|
-
}], ctorParameters:
|
|
9305
|
+
}], ctorParameters: () => [], propDecorators: { config: [{
|
|
9307
9306
|
type: Input
|
|
9308
9307
|
}], fieldData: [{
|
|
9309
9308
|
type: Input
|
|
@@ -9386,13 +9385,13 @@ class FormFieldTagsComponent {
|
|
|
9386
9385
|
name: event.option.viewValue
|
|
9387
9386
|
}]);
|
|
9388
9387
|
}
|
|
9389
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9390
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9388
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldTagsComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: StaticDataFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9389
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FormFieldTagsComponent, selector: "shared-form-field-tags", inputs: { config: "config", fieldData: "fieldData", form: "form", itemId: "itemId" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }, { propertyName: "tagInput", first: true, predicate: ["tagInput"], descendants: true }, { propertyName: "matAutocomplete", first: true, predicate: ["auto"], descendants: true }], ngImport: i0, template: "<ng-container *ngIf=\"form.get(fieldData.field) as field\"\n [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div [formGroup]=\"form\">\n <mat-form-field class=\"example-chip-list w-100\" appearance=\"outline\">\n <mat-label>\u0422\u044D\u0433\u0438</mat-label>\n <mat-chip-grid #chipGrid aria-label=\"\u0422\u0435\u0433\u0438\">\n <mat-chip-row *ngFor=\"let tag of selectedTags\"\n (removed)=\"remove(tag.id, tag.name)\">\n {{ tag.name }}\n <button matChipRemove [attr.aria-label]=\"'\u0443\u0434\u0430\u043B\u0438\u0442\u044C ' + tag.name\">\n <mat-icon>cancel</mat-icon>\n </button>\n </mat-chip-row>\n </mat-chip-grid>\n <input placeholder=\"\u041D\u043E\u0432\u044B\u0439 \u0442\u044D\u0433...\"\n #tagInput\n [formControl]=\"tagInputControl\"\n [matChipInputFor]=\"chipGrid\"\n [matAutocomplete]=\"auto\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n (matChipInputTokenEnd)=\"add($event)\"\n (ngModelChange)=\"enterNew($event)\" />\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selected($event)\">\n <mat-option *ngFor=\"let item of tagsList$ | async\" [value]=\"item.id\">\n {{ item['name'] }}\n </mat-option>\n </mat-autocomplete>\n </mat-form-field>\n </div>\n</ng-container>\n", styles: [".form-field-suffix{width:17px;height:17px}.form-field-suffix mat-icon{color:#4caf50;font-size:17px;height:17px!important;width:17px!important;min-width:17px;min-height:17px;font-weight:700!important}.form-field-suffix.input-field-icon-red mat-icon{color:#f44336}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$4.MatLabel, selector: "mat-label" }, { kind: "component", type: i5$1.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i7$2.MatChipGrid, selector: "mat-chip-grid", inputs: ["tabIndex", "disabled", "placeholder", "required", "value", "errorStateMatcher"], outputs: ["change", "valueChange"] }, { kind: "directive", type: i7$2.MatChipInput, selector: "input[matChipInputFor]", inputs: ["matChipInputFor", "matChipInputAddOnBlur", "matChipInputSeparatorKeyCodes", "placeholder", "id", "disabled"], outputs: ["matChipInputTokenEnd"], exportAs: ["matChipInput", "matChipInputFor"] }, { kind: "directive", type: i7$2.MatChipRemove, selector: "[matChipRemove]" }, { kind: "component", type: i7$2.MatChipRow, selector: "mat-chip-row, [mat-chip-row], mat-basic-chip-row, [mat-basic-chip-row]", inputs: ["color", "disabled", "disableRipple", "tabIndex", "editable"], outputs: ["edited"] }, { kind: "component", type: i8.MatAutocomplete, selector: "mat-autocomplete", inputs: ["disableRipple", "hideSingleSelectionIndicator"], exportAs: ["matAutocomplete"] }, { kind: "directive", type: i8.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", exportAs: ["matAutocompleteTrigger"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9391
9390
|
}
|
|
9392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldTagsComponent, decorators: [{
|
|
9393
9392
|
type: Component,
|
|
9394
9393
|
args: [{ selector: 'shared-form-field-tags', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"form.get(fieldData.field) as field\"\n [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div [formGroup]=\"form\">\n <mat-form-field class=\"example-chip-list w-100\" appearance=\"outline\">\n <mat-label>\u0422\u044D\u0433\u0438</mat-label>\n <mat-chip-grid #chipGrid aria-label=\"\u0422\u0435\u0433\u0438\">\n <mat-chip-row *ngFor=\"let tag of selectedTags\"\n (removed)=\"remove(tag.id, tag.name)\">\n {{ tag.name }}\n <button matChipRemove [attr.aria-label]=\"'\u0443\u0434\u0430\u043B\u0438\u0442\u044C ' + tag.name\">\n <mat-icon>cancel</mat-icon>\n </button>\n </mat-chip-row>\n </mat-chip-grid>\n <input placeholder=\"\u041D\u043E\u0432\u044B\u0439 \u0442\u044D\u0433...\"\n #tagInput\n [formControl]=\"tagInputControl\"\n [matChipInputFor]=\"chipGrid\"\n [matAutocomplete]=\"auto\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n (matChipInputTokenEnd)=\"add($event)\"\n (ngModelChange)=\"enterNew($event)\" />\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selected($event)\">\n <mat-option *ngFor=\"let item of tagsList$ | async\" [value]=\"item.id\">\n {{ item['name'] }}\n </mat-option>\n </mat-autocomplete>\n </mat-form-field>\n </div>\n</ng-container>\n", styles: [".form-field-suffix{width:17px;height:17px}.form-field-suffix mat-icon{color:#4caf50;font-size:17px;height:17px!important;width:17px!important;min-width:17px;min-height:17px;font-weight:700!important}.form-field-suffix.input-field-icon-red mat-icon{color:#f44336}\n"] }]
|
|
9395
|
-
}], ctorParameters:
|
|
9394
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: StaticDataFacade }], propDecorators: { config: [{
|
|
9396
9395
|
type: Input
|
|
9397
9396
|
}], fieldData: [{
|
|
9398
9397
|
type: Input
|
|
@@ -9429,13 +9428,13 @@ class FormFieldTextareaShowComponent {
|
|
|
9429
9428
|
this.formatedText = this.value;
|
|
9430
9429
|
}
|
|
9431
9430
|
}
|
|
9432
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9433
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9431
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldTextareaShowComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9432
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FormFieldTextareaShowComponent, selector: "shared-form-field-textarea-show", inputs: { config: "config", fieldData: "fieldData", value: "value" }, ngImport: i0, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div>{{ formatedText }}</div>\n</div>\n", styles: [".form-field-suffix{width:17px;height:17px}.form-field-suffix mat-icon{color:#4caf50;font-size:17px;height:17px!important;width:17px!important;min-width:17px;min-height:17px;font-weight:700!important}.form-field-suffix.input-field-icon-red mat-icon{color:#f44336}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9434
9433
|
}
|
|
9435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldTextareaShowComponent, decorators: [{
|
|
9436
9435
|
type: Component,
|
|
9437
|
-
args: [{ selector: 'shared-form-field-textarea-show', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div>{{ formatedText }}
|
|
9438
|
-
}], ctorParameters:
|
|
9436
|
+
args: [{ selector: 'shared-form-field-textarea-show', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <div>{{ formatedText }}</div>\n</div>\n", styles: [".form-field-suffix{width:17px;height:17px}.form-field-suffix mat-icon{color:#4caf50;font-size:17px;height:17px!important;width:17px!important;min-width:17px;min-height:17px;font-weight:700!important}.form-field-suffix.input-field-icon-red mat-icon{color:#f44336}\n"] }]
|
|
9437
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { config: [{
|
|
9439
9438
|
type: Input
|
|
9440
9439
|
}], fieldData: [{
|
|
9441
9440
|
type: Input
|
|
@@ -9552,16 +9551,16 @@ class FormFieldComponent {
|
|
|
9552
9551
|
"tabletools,templates,toolbar,undo,wsc,wysiwygarea"
|
|
9553
9552
|
*/
|
|
9554
9553
|
}
|
|
9555
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9556
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FormFieldComponent, selector: "shared-form-field", inputs: { config: "config", fieldData: "fieldData", itemId: "itemId", form: "form", editorImageUploadUrl: "editorImageUploadUrl", errorMessageTexts: "errorMessageTexts", entity: "entity", publicationMessages: "publicationMessages", entityTypeUserRoleRights: "entityTypeUserRoleRights", autoCompleteFields: "autoCompleteFields", entityPermissionUpdateDanyFields: "entityPermissionUpdateDanyFields" }, outputs: { eventUpdateForm: "eventUpdateForm", eventSendAction: "eventSendAction" }, ngImport: i0, template: "<div *ngIf=\"!fieldData.options?.hide\"\n fxLayout=\"column\"\n class=\"position-relative form-field\"\n [id]=\"'field-' + fieldData.field\"\n [formGroup]=\"form\"\n [ngClass]=\"{\n 'border-block textarea-field mb-21': fieldData.type === fieldTypes.FieldTypeTextarea || fieldData.type === fieldTypes.FieldTypeTextareaEditor,\n 'form-field-error': haveFieldError,\n 'form-field-warning': haveFieldWarning,\n 'check-box-field': fieldData.type === fieldTypes.FieldTypeSlideToggle,\n 'preview-mode': isDenyToUpdate || fieldData.options.notEditable\n }\">\n\n <ng-container [ngSwitch]=\"fieldData.type\">\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSelect\">\n <shared-form-field-select\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [autoCompleteFields]=\"autoCompleteFields\"\n ></shared-form-field-select>\n <shared-form-field-select-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-select-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSlideToggle\">\n <shared-form-field-slide-toggle\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-slide-toggle>\n <shared-form-field-slide-toggle-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-slide-toggle-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextarea\">\n <div class=\"textarea-field-width\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <label\n [id]=\"'field-' + fieldData.field\">{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</label>\n <ng-container *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\">\n <textarea matInput rows=\"6\" [formControlName]=\"fieldData.field\"></textarea>\n <div class=\"textarea-field-length\">\n <b>\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0434\u043B\u0438\u043D\u0430: {{ form.get(fieldData.field).value?.length || 0 }}</b>\n </div>\n </ng-container>\n <ng-container *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\">\n <shared-form-field-textarea-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-textarea-show>\n </ng-container>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextareaEditor\">\n <div class=\"textarea-field-width\">\n <label\n [id]=\"'field-' + fieldData.field\">{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</label>\n <ng-container *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\">\n <div *ngIf=\"fieldData.description\" class=\"field-description\">\n {{ fieldData.description }}\n </div>\n <ckeditor [formControlName]=\"fieldData.field\"\n [config]=\"ckeConfig\"></ckeditor>\n <div class=\"textarea-field-length\">\n <b>\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0434\u043B\u0438\u043D\u0430: {{ form.get(fieldData.field).value?.length || 0 }}</b>\n </div>\n </ng-container>\n <shared-form-field-textarea-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-textarea-show>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFile\">\n <shared-form-field-file\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [entity]=\"entity\"\n ></shared-form-field-file>\n <shared-form-field-file-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-file-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFiles\">\n <shared-form-field-files\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-files>\n <shared-form-field-files-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [entityId]=\"form.get('id').value\"\n [entitySection]=\"entity\"\n ></shared-form-field-files-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeJSON\">\n <shared-form-field-json-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-json-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTags\">\n <shared-form-field-tags\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-tags>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <shared-form-field-input\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-input>\n <shared-form-field-input-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-input-show>\n </ng-container>\n </ng-container>\n\n <div *ngIf=\"fieldData.actions\" class=\"field-actions\">\n <ng-container *ngFor=\"let action of fieldData.actions\">\n <div class=\"field-actions-action\" (click)=\"fieldActionHandler(action)\">{{ action.title }}</div>\n </ng-container>\n </div>\n\n <!-- <shared-form-field-spinner *ngIf=\"loading\"></shared-form-field-spinner>-->\n\n <ng-container *ngIf=\"fieldData.options?.hint\">\n <mat-icon class=\"hint-icons\" (click)=\"openHintDialog(fieldData.options?.hint)\">help_outline</mat-icon>\n </ng-container>\n\n <shared-form-field-error\n @appearFromLeft\n *ngIf=\"fieldControl.touched && !fieldControl.valid\"\n [form]=\"form\"\n [fieldData]=\"fieldData\"\n [errorMessageTexts]=\"errorMessageTexts\"\n [ngClass]=\"{'textarea-error': fieldData.type === fieldTypes.FieldTypeTextarea}\"\n ></shared-form-field-error>\n\n <shared-form-field-publish-error\n [form]=\"form\"\n [entity]=\"entity\"\n [fieldData]=\"fieldData\"\n [errorMessageTexts]=\"errorMessageTexts\"\n [ngClass]=\"{'textarea-error': fieldData.type === fieldTypes.FieldTypeTextarea}\"\n ></shared-form-field-publish-error>\n</div>\n", styles: [".mb-21{margin-bottom:21px}.field-description{border-radius:8px;color:#5f5b5b;margin:5px 5px 15px;border-left:3px solid #009ce5;padding:10px 0 10px 10px;background:#009ce542}.field-actions{display:flex;justify-content:flex-end;margin-bottom:5px}.field-actions .field-actions-action{padding:0 10px;text-align:right;background:#007bff;color:#fff;border-radius:4px}.textarea-field-length{background:#f8f8f8;text-align:right;padding-right:10px;color:#989494;border-bottom:1px solid #d1d1d1;font-size:11px}.hint-icons{position:absolute;right:0;margin-top:9px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$3.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: FormFieldErrorComponent, selector: "shared-form-field-error", inputs: ["fieldData", "form", "errorMessageTexts"] }, { kind: "component", type: FormFieldPublishErrorComponent, selector: "shared-form-field-publish-error", inputs: ["fieldData", "form", "entity", "errorMessageTexts"] }, { kind: "directive", type: i3$3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i9.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i11.CKEditorComponent, selector: "ckeditor", inputs: ["config", "editorUrl", "tagName", "type", "data", "readOnly"], outputs: ["namespaceLoaded", "ready", "dataReady", "change", "dataChange", "dragStart", "dragEnd", "drop", "fileUploadResponse", "fileUploadRequest", "focus", "paste", "afterPaste", "blur"] }, { kind: "component", type: FormFieldSelectComponent, selector: "shared-form-field-select", inputs: ["config", "fieldData", "form", "autoCompleteFields"] }, { kind: "component", type: FormFieldSelectShowComponent, selector: "shared-form-field-select-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldSlideToggleComponent, selector: "shared-form-field-slide-toggle", inputs: ["config", "fieldData", "form"] }, { kind: "component", type: FormFieldInputComponent, selector: "shared-form-field-input", inputs: ["config", "fieldData", "form"] }, { kind: "component", type: FormFieldFileComponent, selector: "shared-form-field-file", inputs: ["config", "fieldData", "form", "entity"] }, { kind: "component", type: FormFieldFilesComponent, selector: "shared-form-field-files", inputs: ["config", "fieldData", "form", "itemId"] }, { kind: "component", type: FormFieldFileShowComponent, selector: "shared-form-field-file-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldSlideToggleShowComponent, selector: "shared-form-field-slide-toggle-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldInputShowComponent, selector: "shared-form-field-input-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldFilesShowComponent, selector: "shared-form-field-files-show", inputs: ["config", "fieldData", "entityId", "entitySection"] }, { kind: "component", type: FormFieldJsonShowComponent, selector: "shared-form-field-json-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldTagsComponent, selector: "shared-form-field-tags", inputs: ["config", "fieldData", "form", "itemId"] }, { kind: "component", type: FormFieldTextareaShowComponent, selector: "shared-form-field-textarea-show", inputs: ["config", "fieldData", "value"] }], animations: [appearFromLeft], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9554
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldComponent, deps: [{ token: CORE_CONFIG }, { token: AuthenticationService }, { token: CoreFacade }, { token: i0.ChangeDetectorRef }, { token: i1$4.MatDialog }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9555
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FormFieldComponent, selector: "shared-form-field", inputs: { config: "config", fieldData: "fieldData", itemId: "itemId", form: "form", editorImageUploadUrl: "editorImageUploadUrl", errorMessageTexts: "errorMessageTexts", entity: "entity", publicationMessages: "publicationMessages", entityTypeUserRoleRights: "entityTypeUserRoleRights", autoCompleteFields: "autoCompleteFields", entityPermissionUpdateDanyFields: "entityPermissionUpdateDanyFields" }, outputs: { eventUpdateForm: "eventUpdateForm", eventSendAction: "eventSendAction" }, ngImport: i0, template: "<div *ngIf=\"!fieldData.options?.hide\"\n fxLayout=\"column\"\n class=\"position-relative form-field\"\n [id]=\"'field-' + fieldData.field\"\n [formGroup]=\"form\"\n [ngClass]=\"{\n 'border-block textarea-field mb-21': fieldData.type === fieldTypes.FieldTypeTextarea || fieldData.type === fieldTypes.FieldTypeTextareaEditor,\n 'form-field-error': haveFieldError,\n 'form-field-warning': haveFieldWarning,\n 'check-box-field': fieldData.type === fieldTypes.FieldTypeSlideToggle,\n 'preview-mode': isDenyToUpdate || fieldData.options.notEditable\n }\">\n\n <ng-container [ngSwitch]=\"fieldData.type\">\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSelect\">\n <shared-form-field-select\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [autoCompleteFields]=\"autoCompleteFields\"\n ></shared-form-field-select>\n <shared-form-field-select-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-select-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSlideToggle\">\n <shared-form-field-slide-toggle\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-slide-toggle>\n <shared-form-field-slide-toggle-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-slide-toggle-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextarea\">\n <div class=\"textarea-field-width\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <label\n [id]=\"'field-' + fieldData.field\">{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</label>\n <ng-container *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\">\n <textarea matInput rows=\"6\" [formControlName]=\"fieldData.field\"></textarea>\n <div class=\"textarea-field-length\">\n <b>\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0434\u043B\u0438\u043D\u0430: {{ form.get(fieldData.field).value?.length || 0 }}</b>\n </div>\n </ng-container>\n <ng-container *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\">\n <shared-form-field-textarea-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-textarea-show>\n </ng-container>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextareaEditor\">\n <div class=\"textarea-field-width\">\n <label\n [id]=\"'field-' + fieldData.field\">{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</label>\n <ng-container *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\">\n <div *ngIf=\"fieldData.description\" class=\"field-description\">\n {{ fieldData.description }}\n </div>\n <ckeditor [formControlName]=\"fieldData.field\"\n [config]=\"ckeConfig\"></ckeditor>\n <div class=\"textarea-field-length\">\n <b>\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0434\u043B\u0438\u043D\u0430: {{ form.get(fieldData.field).value?.length || 0 }}</b>\n </div>\n </ng-container>\n <shared-form-field-textarea-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-textarea-show>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFile\">\n <shared-form-field-file\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [entity]=\"entity\"\n ></shared-form-field-file>\n <shared-form-field-file-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-file-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFiles\">\n <shared-form-field-files\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-files>\n <shared-form-field-files-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [entityId]=\"form.get('id').value\"\n [entitySection]=\"entity\"\n ></shared-form-field-files-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeJSON\">\n <shared-form-field-json-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-json-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTags\">\n <shared-form-field-tags\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-tags>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <shared-form-field-input\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-input>\n <shared-form-field-input-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-input-show>\n </ng-container>\n </ng-container>\n\n <div *ngIf=\"fieldData.actions\" class=\"field-actions\">\n <ng-container *ngFor=\"let action of fieldData.actions\">\n <div class=\"field-actions-action\" (click)=\"fieldActionHandler(action)\">{{ action.title }}</div>\n </ng-container>\n </div>\n\n <!-- <shared-form-field-spinner *ngIf=\"loading\"></shared-form-field-spinner>-->\n\n <ng-container *ngIf=\"fieldData.options?.hint\">\n <mat-icon class=\"hint-icons\" (click)=\"openHintDialog(fieldData.options?.hint)\">help_outline</mat-icon>\n </ng-container>\n\n <shared-form-field-error\n @appearFromLeft\n *ngIf=\"fieldControl.touched && !fieldControl.valid\"\n [form]=\"form\"\n [fieldData]=\"fieldData\"\n [errorMessageTexts]=\"errorMessageTexts\"\n [ngClass]=\"{'textarea-error': fieldData.type === fieldTypes.FieldTypeTextarea}\"\n ></shared-form-field-error>\n\n <shared-form-field-publish-error\n [form]=\"form\"\n [entity]=\"entity\"\n [fieldData]=\"fieldData\"\n [errorMessageTexts]=\"errorMessageTexts\"\n [ngClass]=\"{'textarea-error': fieldData.type === fieldTypes.FieldTypeTextarea}\"\n ></shared-form-field-publish-error>\n</div>\n", styles: [".mb-21{margin-bottom:21px}.field-description{border-radius:8px;color:#5f5b5b;margin:5px 5px 15px;border-left:3px solid #009ce5;padding:10px 0 10px 10px;background:#009ce542}.field-actions{display:flex;justify-content:flex-end;margin-bottom:5px}.field-actions .field-actions-action{padding:0 10px;text-align:right;background:#007bff;color:#fff;border-radius:4px}.textarea-field-length{background:#f8f8f8;text-align:right;padding-right:10px;color:#989494;border-bottom:1px solid #d1d1d1;font-size:11px}.hint-icons{position:absolute;right:0;margin-top:9px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$3.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: FormFieldErrorComponent, selector: "shared-form-field-error", inputs: ["fieldData", "form", "errorMessageTexts"] }, { kind: "component", type: FormFieldPublishErrorComponent, selector: "shared-form-field-publish-error", inputs: ["fieldData", "form", "entity", "errorMessageTexts"] }, { kind: "directive", type: i3$3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i9.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i11.CKEditorComponent, selector: "ckeditor", inputs: ["config", "editorUrl", "tagName", "type", "data", "readOnly"], outputs: ["namespaceLoaded", "ready", "dataReady", "change", "dataChange", "dragStart", "dragEnd", "drop", "fileUploadResponse", "fileUploadRequest", "focus", "paste", "afterPaste", "blur"] }, { kind: "component", type: FormFieldSelectComponent, selector: "shared-form-field-select", inputs: ["config", "fieldData", "form", "autoCompleteFields"] }, { kind: "component", type: FormFieldSelectShowComponent, selector: "shared-form-field-select-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldSlideToggleComponent, selector: "shared-form-field-slide-toggle", inputs: ["config", "fieldData", "form"] }, { kind: "component", type: FormFieldInputComponent, selector: "shared-form-field-input", inputs: ["config", "fieldData", "form"] }, { kind: "component", type: FormFieldFileComponent, selector: "shared-form-field-file", inputs: ["config", "fieldData", "form", "entity"] }, { kind: "component", type: FormFieldFilesComponent, selector: "shared-form-field-files", inputs: ["config", "fieldData", "form", "itemId"] }, { kind: "component", type: FormFieldFileShowComponent, selector: "shared-form-field-file-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldSlideToggleShowComponent, selector: "shared-form-field-slide-toggle-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldInputShowComponent, selector: "shared-form-field-input-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldFilesShowComponent, selector: "shared-form-field-files-show", inputs: ["config", "fieldData", "entityId", "entitySection"] }, { kind: "component", type: FormFieldJsonShowComponent, selector: "shared-form-field-json-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldTagsComponent, selector: "shared-form-field-tags", inputs: ["config", "fieldData", "form", "itemId"] }, { kind: "component", type: FormFieldTextareaShowComponent, selector: "shared-form-field-textarea-show", inputs: ["config", "fieldData", "value"] }], animations: [appearFromLeft], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9557
9556
|
}
|
|
9558
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9557
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldComponent, decorators: [{
|
|
9559
9558
|
type: Component,
|
|
9560
9559
|
args: [{ selector: 'shared-form-field', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromLeft], template: "<div *ngIf=\"!fieldData.options?.hide\"\n fxLayout=\"column\"\n class=\"position-relative form-field\"\n [id]=\"'field-' + fieldData.field\"\n [formGroup]=\"form\"\n [ngClass]=\"{\n 'border-block textarea-field mb-21': fieldData.type === fieldTypes.FieldTypeTextarea || fieldData.type === fieldTypes.FieldTypeTextareaEditor,\n 'form-field-error': haveFieldError,\n 'form-field-warning': haveFieldWarning,\n 'check-box-field': fieldData.type === fieldTypes.FieldTypeSlideToggle,\n 'preview-mode': isDenyToUpdate || fieldData.options.notEditable\n }\">\n\n <ng-container [ngSwitch]=\"fieldData.type\">\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSelect\">\n <shared-form-field-select\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [autoCompleteFields]=\"autoCompleteFields\"\n ></shared-form-field-select>\n <shared-form-field-select-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-select-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSlideToggle\">\n <shared-form-field-slide-toggle\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-slide-toggle>\n <shared-form-field-slide-toggle-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-slide-toggle-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextarea\">\n <div class=\"textarea-field-width\" [ngClass]=\"{'small-form-width-form-field': config?.smallFormWidth}\">\n <label\n [id]=\"'field-' + fieldData.field\">{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</label>\n <ng-container *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\">\n <textarea matInput rows=\"6\" [formControlName]=\"fieldData.field\"></textarea>\n <div class=\"textarea-field-length\">\n <b>\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0434\u043B\u0438\u043D\u0430: {{ form.get(fieldData.field).value?.length || 0 }}</b>\n </div>\n </ng-container>\n <ng-container *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\">\n <shared-form-field-textarea-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-textarea-show>\n </ng-container>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextareaEditor\">\n <div class=\"textarea-field-width\">\n <label\n [id]=\"'field-' + fieldData.field\">{{ fieldData.title }}{{ fieldData.validators && fieldData.validators.includes('required') ? ' *' : '' }}</label>\n <ng-container *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\">\n <div *ngIf=\"fieldData.description\" class=\"field-description\">\n {{ fieldData.description }}\n </div>\n <ckeditor [formControlName]=\"fieldData.field\"\n [config]=\"ckeConfig\"></ckeditor>\n <div class=\"textarea-field-length\">\n <b>\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0434\u043B\u0438\u043D\u0430: {{ form.get(fieldData.field).value?.length || 0 }}</b>\n </div>\n </ng-container>\n <shared-form-field-textarea-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-textarea-show>\n </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFile\">\n <shared-form-field-file\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [entity]=\"entity\"\n ></shared-form-field-file>\n <shared-form-field-file-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-file-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFiles\">\n <shared-form-field-files\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-files>\n <shared-form-field-files-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [entityId]=\"form.get('id').value\"\n [entitySection]=\"entity\"\n ></shared-form-field-files-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeJSON\">\n <shared-form-field-json-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-json-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTags\">\n <shared-form-field-tags\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-tags>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <shared-form-field-input\n *ngIf=\"!isDenyToUpdate && !fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-input>\n <shared-form-field-input-show\n *ngIf=\"isDenyToUpdate || fieldData.options.notEditable\"\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"form.get(fieldData.field).value\"\n ></shared-form-field-input-show>\n </ng-container>\n </ng-container>\n\n <div *ngIf=\"fieldData.actions\" class=\"field-actions\">\n <ng-container *ngFor=\"let action of fieldData.actions\">\n <div class=\"field-actions-action\" (click)=\"fieldActionHandler(action)\">{{ action.title }}</div>\n </ng-container>\n </div>\n\n <!-- <shared-form-field-spinner *ngIf=\"loading\"></shared-form-field-spinner>-->\n\n <ng-container *ngIf=\"fieldData.options?.hint\">\n <mat-icon class=\"hint-icons\" (click)=\"openHintDialog(fieldData.options?.hint)\">help_outline</mat-icon>\n </ng-container>\n\n <shared-form-field-error\n @appearFromLeft\n *ngIf=\"fieldControl.touched && !fieldControl.valid\"\n [form]=\"form\"\n [fieldData]=\"fieldData\"\n [errorMessageTexts]=\"errorMessageTexts\"\n [ngClass]=\"{'textarea-error': fieldData.type === fieldTypes.FieldTypeTextarea}\"\n ></shared-form-field-error>\n\n <shared-form-field-publish-error\n [form]=\"form\"\n [entity]=\"entity\"\n [fieldData]=\"fieldData\"\n [errorMessageTexts]=\"errorMessageTexts\"\n [ngClass]=\"{'textarea-error': fieldData.type === fieldTypes.FieldTypeTextarea}\"\n ></shared-form-field-publish-error>\n</div>\n", styles: [".mb-21{margin-bottom:21px}.field-description{border-radius:8px;color:#5f5b5b;margin:5px 5px 15px;border-left:3px solid #009ce5;padding:10px 0 10px 10px;background:#009ce542}.field-actions{display:flex;justify-content:flex-end;margin-bottom:5px}.field-actions .field-actions-action{padding:0 10px;text-align:right;background:#007bff;color:#fff;border-radius:4px}.textarea-field-length{background:#f8f8f8;text-align:right;padding-right:10px;color:#989494;border-bottom:1px solid #d1d1d1;font-size:11px}.hint-icons{position:absolute;right:0;margin-top:9px}\n"] }]
|
|
9561
|
-
}], ctorParameters:
|
|
9560
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
9562
9561
|
type: Inject,
|
|
9563
9562
|
args: [CORE_CONFIG]
|
|
9564
|
-
}] }, { type: AuthenticationService }, { type: CoreFacade }, { type: i0.ChangeDetectorRef }, { type: i1$4.MatDialog }]
|
|
9563
|
+
}] }, { type: AuthenticationService }, { type: CoreFacade }, { type: i0.ChangeDetectorRef }, { type: i1$4.MatDialog }], propDecorators: { config: [{
|
|
9565
9564
|
type: Input
|
|
9566
9565
|
}], fieldData: [{
|
|
9567
9566
|
type: Input
|
|
@@ -9597,13 +9596,13 @@ class StarRatingComponent {
|
|
|
9597
9596
|
}
|
|
9598
9597
|
ngOnInit() {
|
|
9599
9598
|
}
|
|
9600
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9601
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9599
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StarRatingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9600
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: StarRatingComponent, selector: "shared-star-rating", inputs: { rating: "rating", size: "size", config: "config" }, ngImport: i0, template: "<div class=\"star-rating-block\"\n [ngClass]=\"{'block-big': size === 'big', 'small-form-width-form-field': config?.smallFormWidth}\">\n <span class=\"d-flex align-items-center\">\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n </span>\n <span class=\"d-flex align-items-center yellow-starts\">\n <i *ngFor=\"let number of arrayList\" class=\"fa fa-star\"></i>\n </span>\n</div>\n", styles: [".star-rating-block{overflow:hidden;position:relative}.star-rating-block span.yellow-starts{position:absolute;left:0;top:0}.star-rating-block span.yellow-starts i{color:#fdae5c!important}.star-rating-block span i{font-size:15px;color:#faae5c73!important}.star-rating-block.block-big i{font-size:20px!important}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9602
9601
|
}
|
|
9603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StarRatingComponent, decorators: [{
|
|
9604
9603
|
type: Component,
|
|
9605
9604
|
args: [{ selector: 'shared-star-rating', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"star-rating-block\"\n [ngClass]=\"{'block-big': size === 'big', 'small-form-width-form-field': config?.smallFormWidth}\">\n <span class=\"d-flex align-items-center\">\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n <i class=\"fa fa-star\"></i>\n </span>\n <span class=\"d-flex align-items-center yellow-starts\">\n <i *ngFor=\"let number of arrayList\" class=\"fa fa-star\"></i>\n </span>\n</div>\n", styles: [".star-rating-block{overflow:hidden;position:relative}.star-rating-block span.yellow-starts{position:absolute;left:0;top:0}.star-rating-block span.yellow-starts i{color:#fdae5c!important}.star-rating-block span i{font-size:15px;color:#faae5c73!important}.star-rating-block.block-big i{font-size:20px!important}\n"] }]
|
|
9606
|
-
}], ctorParameters:
|
|
9605
|
+
}], ctorParameters: () => [], propDecorators: { rating: [{
|
|
9607
9606
|
type: Input
|
|
9608
9607
|
}], size: [{
|
|
9609
9608
|
type: Input
|
|
@@ -9633,13 +9632,13 @@ class AutoFormShowFieldComponent {
|
|
|
9633
9632
|
this.inputType = InputType.Text;
|
|
9634
9633
|
}
|
|
9635
9634
|
}
|
|
9636
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9637
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9635
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AutoFormShowFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9636
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AutoFormShowFieldComponent, selector: "shared-auto-form-show-field", inputs: { fieldData: "fieldData", data: "data", entityId: "entityId", entitySection: "entitySection", config: "config" }, ngImport: i0, template: "<div fxLayout=\"column\"\n class=\"position-relative form-field\">\n <ng-container [ngSwitch]=\"fieldData.type\">\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSelect\">\n <shared-form-field-select-show\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"value\"\n ></shared-form-field-select-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSelectMultiple\">\n <shared-form-field-select-show\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"value\"\n ></shared-form-field-select-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSlideToggle\">\n <shared-form-field-slide-toggle-show\n [config]=\"config\"\n [fieldData]=\"fieldData\" [value]=\"value\"></shared-form-field-slide-toggle-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextarea\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"form-field-value\">{{value}}</div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextareaEditor\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"form-field-value\" [innerHTML]=\"value\"></div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFile\">\n <shared-form-field-file-show\n [config]=\"config\"\n [fieldData]=\"fieldData\" [value]=\"value\"></shared-form-field-file-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeRating\">\n <shared-star-rating\n [config]=\"config\"\n [rating]=\"value\"></shared-star-rating>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFiles\">\n <shared-form-field-files-show [fieldData]=\"fieldData\"\n [entityId]=\"entityId\"\n [entitySection]=\"entitySection\"></shared-form-field-files-show>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <shared-form-field-input-show [fieldData]=\"fieldData\" [value]=\"value\"></shared-form-field-input-show>\n </ng-container>\n </ng-container>\n</div>\n", styles: [".form-field{margin-bottom:20px}.form-field:last-child{margin-bottom:0}.show-label{font-size:12px;opacity:.5}.form-field-value{font-size:16px}.mb-21{margin-bottom:21px}.textarea-field-width{width:100%;max-width:1000px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$3.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i9.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "component", type: StarRatingComponent, selector: "shared-star-rating", inputs: ["rating", "size", "config"] }, { kind: "component", type: FormFieldSelectShowComponent, selector: "shared-form-field-select-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldFileShowComponent, selector: "shared-form-field-file-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldSlideToggleShowComponent, selector: "shared-form-field-slide-toggle-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldInputShowComponent, selector: "shared-form-field-input-show", inputs: ["config", "fieldData", "value"] }, { kind: "component", type: FormFieldFilesShowComponent, selector: "shared-form-field-files-show", inputs: ["config", "fieldData", "entityId", "entitySection"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9638
9637
|
}
|
|
9639
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AutoFormShowFieldComponent, decorators: [{
|
|
9640
9639
|
type: Component,
|
|
9641
9640
|
args: [{ selector: "shared-auto-form-show-field", changeDetection: ChangeDetectionStrategy.OnPush, template: "<div fxLayout=\"column\"\n class=\"position-relative form-field\">\n <ng-container [ngSwitch]=\"fieldData.type\">\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSelect\">\n <shared-form-field-select-show\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"value\"\n ></shared-form-field-select-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSelectMultiple\">\n <shared-form-field-select-show\n [config]=\"config\"\n [fieldData]=\"fieldData\"\n [value]=\"value\"\n ></shared-form-field-select-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSlideToggle\">\n <shared-form-field-slide-toggle-show\n [config]=\"config\"\n [fieldData]=\"fieldData\" [value]=\"value\"></shared-form-field-slide-toggle-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextarea\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"form-field-value\">{{value}}</div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextareaEditor\">\n <label class=\"show-label\">{{fieldData.title}}</label>\n <div class=\"form-field-value\" [innerHTML]=\"value\"></div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFile\">\n <shared-form-field-file-show\n [config]=\"config\"\n [fieldData]=\"fieldData\" [value]=\"value\"></shared-form-field-file-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeRating\">\n <shared-star-rating\n [config]=\"config\"\n [rating]=\"value\"></shared-star-rating>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFiles\">\n <shared-form-field-files-show [fieldData]=\"fieldData\"\n [entityId]=\"entityId\"\n [entitySection]=\"entitySection\"></shared-form-field-files-show>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <shared-form-field-input-show [fieldData]=\"fieldData\" [value]=\"value\"></shared-form-field-input-show>\n </ng-container>\n </ng-container>\n</div>\n", styles: [".form-field{margin-bottom:20px}.form-field:last-child{margin-bottom:0}.show-label{font-size:12px;opacity:.5}.form-field-value{font-size:16px}.mb-21{margin-bottom:21px}.textarea-field-width{width:100%;max-width:1000px}\n"] }]
|
|
9642
|
-
}], ctorParameters:
|
|
9641
|
+
}], ctorParameters: () => [], propDecorators: { fieldData: [{
|
|
9643
9642
|
type: Input
|
|
9644
9643
|
}], data: [{
|
|
9645
9644
|
type: Input
|
|
@@ -9728,13 +9727,13 @@ class FormMessageBoxComponent {
|
|
|
9728
9727
|
['field']: field?.title,
|
|
9729
9728
|
});
|
|
9730
9729
|
}
|
|
9731
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9732
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9730
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormMessageBoxComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: BaseAutoFormService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9731
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: FormMessageBoxComponent, selector: "shred-form-message-box", inputs: { form: "form", fields: "fields", errorMessageTexts: "errorMessageTexts" }, ngImport: i0, template: "<ng-container *ngIf=\"!form.pristine\">\n <div @appearFromLeft *ngIf=\"listErrors && listErrors.length\" class=\"message-box error mb-10\">\n <b>{{title}}</b>\n <ul>\n <li *ngFor=\"let error of listErrors\" [innerHTML]=\"error\"></li>\n </ul>\n </div>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [appearFromLeft], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9733
9732
|
}
|
|
9734
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9733
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormMessageBoxComponent, decorators: [{
|
|
9735
9734
|
type: Component,
|
|
9736
9735
|
args: [{ selector: 'shred-form-message-box', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromLeft], template: "<ng-container *ngIf=\"!form.pristine\">\n <div @appearFromLeft *ngIf=\"listErrors && listErrors.length\" class=\"message-box error mb-10\">\n <b>{{title}}</b>\n <ul>\n <li *ngFor=\"let error of listErrors\" [innerHTML]=\"error\"></li>\n </ul>\n </div>\n</ng-container>\n" }]
|
|
9737
|
-
}], ctorParameters:
|
|
9736
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: BaseAutoFormService }], propDecorators: { form: [{
|
|
9738
9737
|
type: Input
|
|
9739
9738
|
}], fields: [{
|
|
9740
9739
|
type: Input
|
|
@@ -9752,13 +9751,13 @@ class PanelComponent {
|
|
|
9752
9751
|
toggleExpanded() {
|
|
9753
9752
|
this.isOpened = !this.isOpened;
|
|
9754
9753
|
}
|
|
9755
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9756
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9754
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9755
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: PanelComponent, selector: "shared-panel", inputs: { title: "title", smallDescription: "smallDescription", description: "description", color: "color", buttonColor: "buttonColor" }, outputs: { close: "close" }, ngImport: i0, template: "<div class=\"fuse-card\" [ngClass]=\"'bg-'+color\">\n\n <div class=\"p-10 cursor-pointer\"\n fxLayout=\"row\"\n fxLayoutAlign=\"space-between center\"\n (click)=\"toggleExpanded()\">\n <div class=\"h4\">{{title}}</div>\n <shared-button\n [color]=\"buttonColor\"\n [icon]=\"isOpened ? 'keyboard_arrow_up' : 'keyboard_arrow_down'\"></shared-button>\n </div>\n\n <div *ngIf=\"smallDescription\" class=\"p-16 pt-0 line-height-1.75\" [innerHTML]=\"smallDescription\">\n </div>\n\n <div class=\"card-expand-area\" *ngIf=\"isOpened\" [@expandCollapse]>\n <div class=\"card-expanded-content\" [innerHTML]=\"description\"></div>\n </div>\n\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "directive", type: i9.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i9.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }], animations: [expandCollapse], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9757
9756
|
}
|
|
9758
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PanelComponent, decorators: [{
|
|
9759
9758
|
type: Component,
|
|
9760
9759
|
args: [{ selector: 'shared-panel', animations: [expandCollapse], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"fuse-card\" [ngClass]=\"'bg-'+color\">\n\n <div class=\"p-10 cursor-pointer\"\n fxLayout=\"row\"\n fxLayoutAlign=\"space-between center\"\n (click)=\"toggleExpanded()\">\n <div class=\"h4\">{{title}}</div>\n <shared-button\n [color]=\"buttonColor\"\n [icon]=\"isOpened ? 'keyboard_arrow_up' : 'keyboard_arrow_down'\"></shared-button>\n </div>\n\n <div *ngIf=\"smallDescription\" class=\"p-16 pt-0 line-height-1.75\" [innerHTML]=\"smallDescription\">\n </div>\n\n <div class=\"card-expand-area\" *ngIf=\"isOpened\" [@expandCollapse]>\n <div class=\"card-expanded-content\" [innerHTML]=\"description\"></div>\n </div>\n\n</div>\n" }]
|
|
9761
|
-
}], ctorParameters:
|
|
9760
|
+
}], ctorParameters: () => [], propDecorators: { title: [{
|
|
9762
9761
|
type: Input
|
|
9763
9762
|
}], smallDescription: [{
|
|
9764
9763
|
type: Input
|
|
@@ -9878,13 +9877,13 @@ class PublicationMessagesComponent {
|
|
|
9878
9877
|
prepareErrors(messages) {
|
|
9879
9878
|
return this.autoFormService.prepareFormFieldPublicationMessage(messages, this.publishErrorConstants, this.fields);
|
|
9880
9879
|
}
|
|
9881
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9882
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
9880
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PublicationMessagesComponent, deps: [{ token: PublicationMessagesFacade }, { token: AutoFormService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9881
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: PublicationMessagesComponent, selector: "shared-publication-messages", inputs: { entity: "entity", form: "form", itemId: "itemId", fields: "fields", config: "config", havePublication: "havePublication" }, outputs: { scrollToField: "scrollToField" }, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"itemPublishFinishedAt\" @appearFromLeftWithDelay class=\"message-box success mb-10\">\n <div>{{publishedTitle}} <b>{{itemPublishFinishedAt| date : 'MMM d, y'}}</b></div>\n</div>\n<div *ngIf=\"!itemPublishFinishedAt && havePublication\" @appearFromLeftWithDelay class=\"message-box error mb-10\">\n <div class=\"no-publish-error\">\n <mat-icon class=\"no-publish-error-ico\">assignment_late</mat-icon>\n <div class=\"no-publish-error-text\">\n <div>{{unPublishedTitle}}</div>\n <div class=\"fs-12 pt-0\">{{unPublishedMessage}}</div>\n </div>\n </div>\n</div>\n<ng-container *ngIf=\"errors?.length\">\n <ng-container\n *ngTemplateOutlet=\"listMessages; context: {title: errorTitle, isError: true, messages: errors}\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"recommendation?.length\">\n <ng-container\n *ngTemplateOutlet=\"listMessages; context: {title: recommendationTitle, isError: false, messages: recommendation}\"></ng-container>\n</ng-container>\n<ng-template #listMessages let-title=\"title\" let-isError=\"isError\" let-messages=\"messages\">\n <div class=\"publish-messages mb-10\"\n [ngClass]=\"{'error-messages': isError, 'warning-messages': !isError}\">\n <div class=\"title cursor-pointer\"\n fxLayout=\"row\"\n fxLayoutAlign=\"space-between center\"\n (click)=\"toggleExpand(isError)\">\n <div fxLayout=\"row\" fxLayoutAlign=\"left center\">\n <mat-icon class=\"f-28 ml-10 mr-20\">{{isError ? 'error' : 'report_problem'}}</mat-icon>\n <h4 [innerHTML]=\"title\"></h4>\n </div>\n <shared-button\n color=\"basic\"\n iconColor=\"orange_gray\"\n size=\"large\"\n [icon]=\"(isError && errorOpened) || (!isError && messagesOpened) ? 'keyboard_arrow_up' : 'keyboard_arrow_down'\"></shared-button>\n </div>\n <div *ngIf=\"(errorOpened && isError) || (messagesOpened && !isError)\"\n [@expandCollapse]\n class=\"publish-messages-list\">\n <div *ngFor=\"let messageData of messages;trackBy: truckByField\" class=\"mb-10\">\n <shared-panel [title]=\"messageData.title\"\n [description]=\"messageData.description\"\n color=\"red-light\"\n buttonColor=\"accent\"\n ></shared-panel>\n <a class=\"cursor-pointer color-grey fs-12\" (click)=\"showScrollToFieldMethod(messageData.field)\">\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\n \u043F\u043E\u043B\u0435</a>\n </div>\n </div>\n </div>\n</ng-template>\n<div *ngIf=\"errors?.length || recommendation?.length\" fxLayout=\"row\" fxLayoutAlign=\"end center\" class=\"fs-12\">\n \u0415\u0441\u043B\u0438 \u0443 \u0412\u0430\u0441 \u0435\u0441\u0442\u044C \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\u043E \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438 \u043F\u0438\u0448\u0438\u0442\u0435 \u0432 <a class=\"pl-5\" href=\"mailto:support@world-travel.uz\">support@world-travel.uz</a>\n</div>\n", styles: [".publish-messages{border-radius:8px;overflow:hidden}.publish-messages.error-messages{background:linear-gradient(90deg,#ef847c,#f190af)}.publish-messages.error-messages .title{background:#f44336;background:linear-gradient(to bottom,#f44336,#af3b32);color:#fff}.publish-messages.warning-messages{background:linear-gradient(260deg,#faf0cd,#fab397)}.publish-messages.warning-messages .title{background:#e28d0b;background:linear-gradient(to bottom,#ffb646,#e28d0b);color:#fff}.publish-messages .title{padding:10px;border-top-left-radius:8px;border-top-right-radius:8px;text-shadow:0 0 6px rgba(56,56,56,.5803921569);font-size:16px}.publish-messages .publish-messages-list{padding:10px}.publish-messages .h4,.publish-messages h4{cursor:pointer}.no-publish-error{display:flex}.no-publish-error .no-publish-error-ico{font-size:43px;margin-right:10px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i9.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i9.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: PanelComponent, selector: "shared-panel", inputs: ["title", "smallDescription", "description", "color", "buttonColor"], outputs: ["close"] }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "pipe", type: i1$3.DatePipe, name: "date" }], animations: [expandCollapse, appearFromLeftWithDelay], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9883
9882
|
}
|
|
9884
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9883
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PublicationMessagesComponent, decorators: [{
|
|
9885
9884
|
type: Component,
|
|
9886
|
-
args: [{ selector: 'shared-publication-messages', animations: [expandCollapse, appearFromLeftWithDelay], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"itemPublishFinishedAt\" @appearFromLeftWithDelay class=\"message-box success mb-10\">\n <div>{{publishedTitle}} <b>{{itemPublishFinishedAt| date : 'MMM d, y'}}</b></div>\n</div>\n<div *ngIf=\"!itemPublishFinishedAt && havePublication\" @appearFromLeftWithDelay class=\"message-box error mb-10\">\n <div class=\"no-publish-error\">\n <mat-icon class=\"no-publish-error-ico\">assignment_late</mat-icon>\n <div class=\"no-publish-error-text\">\n <div>{{unPublishedTitle}}</div>\n <div class=\"fs-12 pt-0\">{{unPublishedMessage}}</div>\n </div>\n </div>\n</div>\n<ng-container *ngIf=\"errors?.length\">\n <ng-container\n *ngTemplateOutlet=\"listMessages; context: {title: errorTitle, isError: true, messages: errors}\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"recommendation?.length\">\n <ng-container\n *ngTemplateOutlet=\"listMessages; context: {title: recommendationTitle, isError: false, messages: recommendation}\"></ng-container>\n</ng-container>\n<ng-template #listMessages let-title=\"title\" let-isError=\"isError\" let-messages=\"messages\">\n <div class=\"publish-messages mb-10\"\n [ngClass]=\"{'error-messages': isError, 'warning-messages': !isError}\">\n <div class=\"title cursor-pointer\"\n fxLayout=\"row\"\n fxLayoutAlign=\"space-between center\"\n (click)=\"toggleExpand(isError)\">\n <div fxLayout=\"row\" fxLayoutAlign=\"left center\">\n <mat-icon class=\"f-28 ml-10 mr-20\">{{isError ? 'error' : 'report_problem'}}</mat-icon>\n <h4 [innerHTML]=\"title\"></h4>\n </div>\n <shared-button\n color=\"basic\"\n iconColor=\"orange_gray\"\n size=\"large\"\n [icon]=\"(isError && errorOpened) || (!isError && messagesOpened) ? 'keyboard_arrow_up' : 'keyboard_arrow_down'\"></shared-button>\n </div>\n <div *ngIf=\"(errorOpened && isError) || (messagesOpened && !isError)\"\n [@expandCollapse]\n class=\"publish-messages-list\">\n <div *ngFor=\"let messageData of messages;trackBy: truckByField\" class=\"mb-10\">\n <shared-panel [title]=\"messageData.title\"\n [description]=\"messageData.description\"\n color=\"red-light\"\n buttonColor=\"accent\"\n ></shared-panel>\n <a class=\"cursor-pointer color-grey fs-12\" (click)=\"showScrollToFieldMethod(messageData.field)\">\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\n \u043F\u043E\u043B\u0435</a>\n </div>\n </div>\n </div>\n</ng-template>\n<div *ngIf=\"errors?.length || recommendation?.length\" fxLayout=\"row\" fxLayoutAlign=\"end center\" class=\"fs-12\">\n \u0415\u0441\u043B\u0438 \u0443 \u0412\u0430\u0441 \u0435\u0441\u0442\u044C \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\u043E \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438 \u043F\u0438\u0448\u0438\u0442\u0435 \u0432 <a class=\"pl-5\" href=\"mailto:support@world-travel.uz\">support
|
|
9887
|
-
}], ctorParameters:
|
|
9885
|
+
args: [{ selector: 'shared-publication-messages', animations: [expandCollapse, appearFromLeftWithDelay], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"itemPublishFinishedAt\" @appearFromLeftWithDelay class=\"message-box success mb-10\">\n <div>{{publishedTitle}} <b>{{itemPublishFinishedAt| date : 'MMM d, y'}}</b></div>\n</div>\n<div *ngIf=\"!itemPublishFinishedAt && havePublication\" @appearFromLeftWithDelay class=\"message-box error mb-10\">\n <div class=\"no-publish-error\">\n <mat-icon class=\"no-publish-error-ico\">assignment_late</mat-icon>\n <div class=\"no-publish-error-text\">\n <div>{{unPublishedTitle}}</div>\n <div class=\"fs-12 pt-0\">{{unPublishedMessage}}</div>\n </div>\n </div>\n</div>\n<ng-container *ngIf=\"errors?.length\">\n <ng-container\n *ngTemplateOutlet=\"listMessages; context: {title: errorTitle, isError: true, messages: errors}\"></ng-container>\n</ng-container>\n<ng-container *ngIf=\"recommendation?.length\">\n <ng-container\n *ngTemplateOutlet=\"listMessages; context: {title: recommendationTitle, isError: false, messages: recommendation}\"></ng-container>\n</ng-container>\n<ng-template #listMessages let-title=\"title\" let-isError=\"isError\" let-messages=\"messages\">\n <div class=\"publish-messages mb-10\"\n [ngClass]=\"{'error-messages': isError, 'warning-messages': !isError}\">\n <div class=\"title cursor-pointer\"\n fxLayout=\"row\"\n fxLayoutAlign=\"space-between center\"\n (click)=\"toggleExpand(isError)\">\n <div fxLayout=\"row\" fxLayoutAlign=\"left center\">\n <mat-icon class=\"f-28 ml-10 mr-20\">{{isError ? 'error' : 'report_problem'}}</mat-icon>\n <h4 [innerHTML]=\"title\"></h4>\n </div>\n <shared-button\n color=\"basic\"\n iconColor=\"orange_gray\"\n size=\"large\"\n [icon]=\"(isError && errorOpened) || (!isError && messagesOpened) ? 'keyboard_arrow_up' : 'keyboard_arrow_down'\"></shared-button>\n </div>\n <div *ngIf=\"(errorOpened && isError) || (messagesOpened && !isError)\"\n [@expandCollapse]\n class=\"publish-messages-list\">\n <div *ngFor=\"let messageData of messages;trackBy: truckByField\" class=\"mb-10\">\n <shared-panel [title]=\"messageData.title\"\n [description]=\"messageData.description\"\n color=\"red-light\"\n buttonColor=\"accent\"\n ></shared-panel>\n <a class=\"cursor-pointer color-grey fs-12\" (click)=\"showScrollToFieldMethod(messageData.field)\">\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\n \u043F\u043E\u043B\u0435</a>\n </div>\n </div>\n </div>\n</ng-template>\n<div *ngIf=\"errors?.length || recommendation?.length\" fxLayout=\"row\" fxLayoutAlign=\"end center\" class=\"fs-12\">\n \u0415\u0441\u043B\u0438 \u0443 \u0412\u0430\u0441 \u0435\u0441\u0442\u044C \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\u043E \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438 \u043F\u0438\u0448\u0438\u0442\u0435 \u0432 <a class=\"pl-5\" href=\"mailto:support@world-travel.uz\">support@world-travel.uz</a>\n</div>\n", styles: [".publish-messages{border-radius:8px;overflow:hidden}.publish-messages.error-messages{background:linear-gradient(90deg,#ef847c,#f190af)}.publish-messages.error-messages .title{background:#f44336;background:linear-gradient(to bottom,#f44336,#af3b32);color:#fff}.publish-messages.warning-messages{background:linear-gradient(260deg,#faf0cd,#fab397)}.publish-messages.warning-messages .title{background:#e28d0b;background:linear-gradient(to bottom,#ffb646,#e28d0b);color:#fff}.publish-messages .title{padding:10px;border-top-left-radius:8px;border-top-right-radius:8px;text-shadow:0 0 6px rgba(56,56,56,.5803921569);font-size:16px}.publish-messages .publish-messages-list{padding:10px}.publish-messages .h4,.publish-messages h4{cursor:pointer}.no-publish-error{display:flex}.no-publish-error .no-publish-error-ico{font-size:43px;margin-right:10px}\n"] }]
|
|
9886
|
+
}], ctorParameters: () => [{ type: PublicationMessagesFacade }, { type: AutoFormService }, { type: i0.ChangeDetectorRef }], propDecorators: { entity: [{
|
|
9888
9887
|
type: Input
|
|
9889
9888
|
}], form: [{
|
|
9890
9889
|
type: Input
|
|
@@ -10175,13 +10174,13 @@ class AutoFormMainComponent {
|
|
|
10175
10174
|
}
|
|
10176
10175
|
return result;
|
|
10177
10176
|
}
|
|
10178
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10179
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
10177
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AutoFormMainComponent, deps: [{ token: FormErrorsFacade }, { token: FormsFacade }, { token: BaseAutoFormService }, { token: AutoFormService }, { token: PublicationMessagesFacade }, { token: i2.ActivatedRoute }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10178
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AutoFormMainComponent, selector: "shared-auto-form", inputs: { fields: "fields", itemId: "itemId", formId: "formId", showPublicationMessages: "showPublicationMessages", useEntityPermissions: "useEntityPermissions", showProgressBar: "showProgressBar", showFormMessageBox: "showFormMessageBox", form: "form", editorImageUploadUrl: "editorImageUploadUrl", errorMessageTexts: "errorMessageTexts", entity: "entity", havePublication: "havePublication", config: "config" }, outputs: { changed: "changed", formCompleted: "formCompleted" }, usesOnChanges: true, ngImport: i0, template: "<shared-smart-progress-bar *ngIf=\"showProgressBar && storedFormValue?._occupancyRating\"\n [value]=\"storedFormValue?._occupancyRating\"\n [title]=\"'\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u043E\u0441\u0442\u0438 \u0444\u043E\u0440\u043C\u044B'\"></shared-smart-progress-bar>\n\n <ng-container *ngIf=\"showPublicationMessages && fields?.length\">\n <ng-container\n *ngTemplateOutlet=\"publicationMessages, context: {form: form, entity: entity, itemId: itemId, fields: fields}\"></ng-container>\n </ng-container>\n\n<div *ngFor=\"let group of object_.keys(groupedFields); trackBy: truckByFieldName\"\n class=\"form-group\"\n [ngClass]=\"{'form-group-open': groupsState[group]}\">\n <h2 *ngIf=\"group\" class=\"form-field-group-title\" (click)=\"groupClick(group)\">\n <mat-icon class=\"fs-20 field-group-icon\">expand_more</mat-icon>\n {{ group }}\n </h2>\n <div *ngIf=\"groupsState[group]\"\n [ngClass]=\"{'small-form-width': config?.smallFormWidth}\"\n class=\"form-group-fields\">\n <div *ngFor=\"let item of groupedFields[group]; trackBy: truckByFieldName\"\n class=\"form-field-row col-md-12\"\n [ngClass]=\"item.options?.col ? 'col-lg-'+item.options.col : ''\">\n\n <div *ngIf=\"isAvailableToUpdate\" [ngClass]=\"{'field-tab': group}\">\n <shared-form-field\n [config]=\"config\"\n [itemId]=\"itemId\"\n [fieldData]=\"item\"\n [form]=\"form\"\n [errorMessageTexts]=\"errorMessageTexts\"\n [editorImageUploadUrl]=\"editorImageUploadUrl\"\n [entity]=\"entity\"\n [publicationMessages]=\"allPublicationMessages\"\n [autoCompleteFields]=\"autoCompleteFields\"\n [entityPermissionUpdateDanyFields]=\"entityPermissionUpdateDanyFields\"\n ></shared-form-field>\n </div>\n <div *ngIf=\"!isAvailableToUpdate\" [ngClass]=\"{'field-tab': group}\">\n <shared-auto-form-show-field\n [config]=\"config\"\n [fieldData]=\"item\"\n [data]=\"form.value\"\n [entityId]=\"itemId\"\n [entitySection]=\"entity\"\n ></shared-auto-form-show-field>\n </div>\n </div>\n </div>\n</div>\n<div @appearFromLeft *ngIf=\"showFormMessageBox && dataStored && form.valid\" class=\"message-box warning mt-20 mb-10\">\n <ul>\n <li>{{ dataStoredTitle }}</li>\n </ul>\n</div>\n<shred-form-message-box\n *ngIf=\"showFormMessageBox\"\n class=\"mt-20 mb-10\"\n [form]=\"form\"\n [fields]=\"fields\"\n [errorMessageTexts]=\"errorMessageTexts\"></shred-form-message-box>\n\n<ng-container *ngIf=\"showFormMessageBox && havePublication\">\n <ng-container *ngIf=\"showPublicationMessages && fields?.length\">\n <ng-container\n *ngTemplateOutlet=\"publicationMessages, context: {form: form, entity: entity, itemId: itemId, fields: fields}\"></ng-container>\n </ng-container>\n</ng-container>\n\n<ng-template #publicationMessages let-form=\"form\" let-entity=\"entity\" let-itemId=\"itemId\" let-fields=\"fields\">\n <shared-publication-messages\n *ngIf=\"itemId\"\n [@appearFromLeft]\n [form]=\"form\"\n [entity]=\"entity\"\n [itemId]=\"itemId\"\n [fields]=\"fields\"\n [havePublication]=\"havePublication\"\n (scrollToField)=\"scrollToField($event)\"></shared-publication-messages>\n</ng-template>\n\n<ng-container *ngIf=\"isAvailableToUpdate\">\n <ng-content select=\"[submitButton]\"></ng-content>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;flex-wrap:wrap}.form-group{cursor:pointer}.form-group h2{display:flex;transition:color .3s}.progress-bar,.small-form-width .form-field-row{margin-bottom:10px}.small-form-width .show-label{margin-bottom:0!important}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: SmartProgressBarComponent, selector: "shared-smart-progress-bar", inputs: ["value", "title", "showValue"] }, { kind: "component", type: FormFieldComponent, selector: "shared-form-field", inputs: ["config", "fieldData", "itemId", "form", "editorImageUploadUrl", "errorMessageTexts", "entity", "publicationMessages", "entityTypeUserRoleRights", "autoCompleteFields", "entityPermissionUpdateDanyFields"], outputs: ["eventUpdateForm", "eventSendAction"] }, { kind: "component", type: AutoFormShowFieldComponent, selector: "shared-auto-form-show-field", inputs: ["fieldData", "data", "entityId", "entitySection", "config"] }, { kind: "component", type: FormMessageBoxComponent, selector: "shred-form-message-box", inputs: ["form", "fields", "errorMessageTexts"] }, { kind: "component", type: PublicationMessagesComponent, selector: "shared-publication-messages", inputs: ["entity", "form", "itemId", "fields", "config", "havePublication"], outputs: ["scrollToField"] }], animations: [appearFromLeft, appearOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10180
10179
|
}
|
|
10181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AutoFormMainComponent, decorators: [{
|
|
10182
10181
|
type: Component,
|
|
10183
10182
|
args: [{ selector: 'shared-auto-form', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromLeft, appearOpacity], template: "<shared-smart-progress-bar *ngIf=\"showProgressBar && storedFormValue?._occupancyRating\"\n [value]=\"storedFormValue?._occupancyRating\"\n [title]=\"'\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u043E\u0441\u0442\u0438 \u0444\u043E\u0440\u043C\u044B'\"></shared-smart-progress-bar>\n\n <ng-container *ngIf=\"showPublicationMessages && fields?.length\">\n <ng-container\n *ngTemplateOutlet=\"publicationMessages, context: {form: form, entity: entity, itemId: itemId, fields: fields}\"></ng-container>\n </ng-container>\n\n<div *ngFor=\"let group of object_.keys(groupedFields); trackBy: truckByFieldName\"\n class=\"form-group\"\n [ngClass]=\"{'form-group-open': groupsState[group]}\">\n <h2 *ngIf=\"group\" class=\"form-field-group-title\" (click)=\"groupClick(group)\">\n <mat-icon class=\"fs-20 field-group-icon\">expand_more</mat-icon>\n {{ group }}\n </h2>\n <div *ngIf=\"groupsState[group]\"\n [ngClass]=\"{'small-form-width': config?.smallFormWidth}\"\n class=\"form-group-fields\">\n <div *ngFor=\"let item of groupedFields[group]; trackBy: truckByFieldName\"\n class=\"form-field-row col-md-12\"\n [ngClass]=\"item.options?.col ? 'col-lg-'+item.options.col : ''\">\n\n <div *ngIf=\"isAvailableToUpdate\" [ngClass]=\"{'field-tab': group}\">\n <shared-form-field\n [config]=\"config\"\n [itemId]=\"itemId\"\n [fieldData]=\"item\"\n [form]=\"form\"\n [errorMessageTexts]=\"errorMessageTexts\"\n [editorImageUploadUrl]=\"editorImageUploadUrl\"\n [entity]=\"entity\"\n [publicationMessages]=\"allPublicationMessages\"\n [autoCompleteFields]=\"autoCompleteFields\"\n [entityPermissionUpdateDanyFields]=\"entityPermissionUpdateDanyFields\"\n ></shared-form-field>\n </div>\n <div *ngIf=\"!isAvailableToUpdate\" [ngClass]=\"{'field-tab': group}\">\n <shared-auto-form-show-field\n [config]=\"config\"\n [fieldData]=\"item\"\n [data]=\"form.value\"\n [entityId]=\"itemId\"\n [entitySection]=\"entity\"\n ></shared-auto-form-show-field>\n </div>\n </div>\n </div>\n</div>\n<div @appearFromLeft *ngIf=\"showFormMessageBox && dataStored && form.valid\" class=\"message-box warning mt-20 mb-10\">\n <ul>\n <li>{{ dataStoredTitle }}</li>\n </ul>\n</div>\n<shred-form-message-box\n *ngIf=\"showFormMessageBox\"\n class=\"mt-20 mb-10\"\n [form]=\"form\"\n [fields]=\"fields\"\n [errorMessageTexts]=\"errorMessageTexts\"></shred-form-message-box>\n\n<ng-container *ngIf=\"showFormMessageBox && havePublication\">\n <ng-container *ngIf=\"showPublicationMessages && fields?.length\">\n <ng-container\n *ngTemplateOutlet=\"publicationMessages, context: {form: form, entity: entity, itemId: itemId, fields: fields}\"></ng-container>\n </ng-container>\n</ng-container>\n\n<ng-template #publicationMessages let-form=\"form\" let-entity=\"entity\" let-itemId=\"itemId\" let-fields=\"fields\">\n <shared-publication-messages\n *ngIf=\"itemId\"\n [@appearFromLeft]\n [form]=\"form\"\n [entity]=\"entity\"\n [itemId]=\"itemId\"\n [fields]=\"fields\"\n [havePublication]=\"havePublication\"\n (scrollToField)=\"scrollToField($event)\"></shared-publication-messages>\n</ng-template>\n\n<ng-container *ngIf=\"isAvailableToUpdate\">\n <ng-content select=\"[submitButton]\"></ng-content>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;flex-wrap:wrap}.form-group{cursor:pointer}.form-group h2{display:flex;transition:color .3s}.progress-bar,.small-form-width .form-field-row{margin-bottom:10px}.small-form-width .show-label{margin-bottom:0!important}\n"] }]
|
|
10184
|
-
}], ctorParameters:
|
|
10183
|
+
}], ctorParameters: () => [{ type: FormErrorsFacade }, { type: FormsFacade }, { type: BaseAutoFormService }, { type: AutoFormService }, { type: PublicationMessagesFacade }, { type: i2.ActivatedRoute }, { type: i0.ChangeDetectorRef }], propDecorators: { fields: [{
|
|
10185
10184
|
type: Input
|
|
10186
10185
|
}], itemId: [{
|
|
10187
10186
|
type: Input
|
|
@@ -10242,10 +10241,10 @@ class AutoFormShowComponent {
|
|
|
10242
10241
|
this.fieldGrouped = true;
|
|
10243
10242
|
}
|
|
10244
10243
|
}
|
|
10245
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10246
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
10244
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AutoFormShowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10245
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AutoFormShowComponent, selector: "shared-auto-form-show", inputs: { fields: "fields", data: "data", entityId: "entityId", entitySection: "entitySection", config: "config" }, usesOnChanges: true, ngImport: i0, template: "<div *ngFor=\"let group of object_.keys(groupedFields); trackBy: truckByFieldName\"\n class=\"form-group\">\n <h2 *ngIf=\"group\" class=\"form-field-group-title\">\n {{group}}\n </h2>\n <div class=\"form-group-fields\">\n <div *ngFor=\"let item of groupedFields[group]; trackBy: truckByFieldName\"\n class=\"form-field-row col-md-12\"\n [ngClass]=\"item.options?.col ? 'col-lg-'+item.options.col : ''\">\n <!-- [ngClass]=\"item.options.col ? 'form-field-col-'+item.options.col : ''\" -->\n <div [ngClass]=\"{'field-tab': group}\">\n <shared-auto-form-show-field\n [config]=\"config\"\n [fieldData]=\"item\"\n [data]=\"data\"\n [entityId]=\"entityId\"\n [entitySection]=\"entitySection\"\n ></shared-auto-form-show-field>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{display:flex;flex-direction:column}.form-field-group-title{padding:0 20px}.form-group-fields{overflow:hidden;padding-left:20px;padding-right:20px}.form-group{margin-left:20px;width:calc(100% - 40px);margin-right:20px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AutoFormShowFieldComponent, selector: "shared-auto-form-show-field", inputs: ["fieldData", "data", "entityId", "entitySection", "config"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10247
10246
|
}
|
|
10248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AutoFormShowComponent, decorators: [{
|
|
10249
10248
|
type: Component,
|
|
10250
10249
|
args: [{ selector: 'shared-auto-form-show', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngFor=\"let group of object_.keys(groupedFields); trackBy: truckByFieldName\"\n class=\"form-group\">\n <h2 *ngIf=\"group\" class=\"form-field-group-title\">\n {{group}}\n </h2>\n <div class=\"form-group-fields\">\n <div *ngFor=\"let item of groupedFields[group]; trackBy: truckByFieldName\"\n class=\"form-field-row col-md-12\"\n [ngClass]=\"item.options?.col ? 'col-lg-'+item.options.col : ''\">\n <!-- [ngClass]=\"item.options.col ? 'form-field-col-'+item.options.col : ''\" -->\n <div [ngClass]=\"{'field-tab': group}\">\n <shared-auto-form-show-field\n [config]=\"config\"\n [fieldData]=\"item\"\n [data]=\"data\"\n [entityId]=\"entityId\"\n [entitySection]=\"entitySection\"\n ></shared-auto-form-show-field>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{display:flex;flex-direction:column}.form-field-group-title{padding:0 20px}.form-group-fields{overflow:hidden;padding-left:20px;padding-right:20px}.form-group{margin-left:20px;width:calc(100% - 40px);margin-right:20px}\n"] }]
|
|
10251
10250
|
}], propDecorators: { fields: [{
|
|
@@ -10261,13 +10260,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10261
10260
|
}] } });
|
|
10262
10261
|
|
|
10263
10262
|
class FormFieldErrorModule {
|
|
10264
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10265
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10263
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10264
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FormFieldErrorModule, declarations: [FormFieldErrorComponent], imports: [CommonModule,
|
|
10266
10265
|
MatFormFieldModule], exports: [FormFieldErrorComponent] }); }
|
|
10267
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10266
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldErrorModule, imports: [CommonModule,
|
|
10268
10267
|
MatFormFieldModule] }); }
|
|
10269
10268
|
}
|
|
10270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldErrorModule, decorators: [{
|
|
10271
10270
|
type: NgModule,
|
|
10272
10271
|
args: [{
|
|
10273
10272
|
declarations: [FormFieldErrorComponent],
|
|
@@ -10282,13 +10281,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10282
10281
|
}] });
|
|
10283
10282
|
|
|
10284
10283
|
class FormFieldPublishErrorModule {
|
|
10285
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10286
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10284
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldPublishErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10285
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FormFieldPublishErrorModule, declarations: [FormFieldPublishErrorComponent], imports: [CommonModule,
|
|
10287
10286
|
MatFormFieldModule], exports: [FormFieldPublishErrorComponent] }); }
|
|
10288
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10287
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldPublishErrorModule, imports: [CommonModule,
|
|
10289
10288
|
MatFormFieldModule] }); }
|
|
10290
10289
|
}
|
|
10291
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FormFieldPublishErrorModule, decorators: [{
|
|
10292
10291
|
type: NgModule,
|
|
10293
10292
|
args: [{
|
|
10294
10293
|
declarations: [FormFieldPublishErrorComponent],
|
|
@@ -10303,13 +10302,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10303
10302
|
}] });
|
|
10304
10303
|
|
|
10305
10304
|
class SharedSpinnerModule {
|
|
10306
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10307
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10305
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SharedSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10306
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: SharedSpinnerModule, declarations: [SpinnerComponent], imports: [CommonModule,
|
|
10308
10307
|
MatProgressSpinnerModule], exports: [SpinnerComponent] }); }
|
|
10309
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10308
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SharedSpinnerModule, imports: [CommonModule,
|
|
10310
10309
|
MatProgressSpinnerModule] }); }
|
|
10311
10310
|
}
|
|
10312
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SharedSpinnerModule, decorators: [{
|
|
10313
10312
|
type: NgModule,
|
|
10314
10313
|
args: [{
|
|
10315
10314
|
declarations: [SpinnerComponent],
|
|
@@ -10322,8 +10321,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10322
10321
|
}] });
|
|
10323
10322
|
|
|
10324
10323
|
class FilesUploadModule {
|
|
10325
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10326
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10324
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FilesUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10325
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: FilesUploadModule, declarations: [FilesUploadComponent,
|
|
10327
10326
|
FilesUploadListImagesComponent,
|
|
10328
10327
|
FileListCardComponent,
|
|
10329
10328
|
TableFilesUploadingComponent], imports: [CommonModule,
|
|
@@ -10337,7 +10336,7 @@ class FilesUploadModule {
|
|
|
10337
10336
|
// SortablejsModule
|
|
10338
10337
|
], exports: [FilesUploadComponent,
|
|
10339
10338
|
DragDropModule] }); }
|
|
10340
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10339
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FilesUploadModule, imports: [CommonModule,
|
|
10341
10340
|
MatIconModule,
|
|
10342
10341
|
MatProgressBarModule,
|
|
10343
10342
|
FileUploadModule,
|
|
@@ -10348,7 +10347,7 @@ class FilesUploadModule {
|
|
|
10348
10347
|
// SortablejsModule
|
|
10349
10348
|
, DragDropModule] }); }
|
|
10350
10349
|
}
|
|
10351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: FilesUploadModule, decorators: [{
|
|
10352
10351
|
type: NgModule,
|
|
10353
10352
|
args: [{
|
|
10354
10353
|
imports: [
|
|
@@ -10376,13 +10375,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10376
10375
|
}] });
|
|
10377
10376
|
|
|
10378
10377
|
class ImageModule {
|
|
10379
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10380
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10378
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ImageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10379
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: ImageModule, declarations: [ImageComponent], imports: [CommonModule,
|
|
10381
10380
|
MatIconModule], exports: [ImageComponent] }); }
|
|
10382
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10381
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ImageModule, imports: [CommonModule,
|
|
10383
10382
|
MatIconModule] }); }
|
|
10384
10383
|
}
|
|
10385
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10384
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ImageModule, decorators: [{
|
|
10386
10385
|
type: NgModule,
|
|
10387
10386
|
args: [{
|
|
10388
10387
|
declarations: [ImageComponent],
|
|
@@ -10395,13 +10394,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10395
10394
|
}] });
|
|
10396
10395
|
|
|
10397
10396
|
class SharedIconModule {
|
|
10398
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10399
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10397
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SharedIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10398
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: SharedIconModule, declarations: [IconComponent], imports: [CommonModule,
|
|
10400
10399
|
MatIconModule], exports: [IconComponent] }); }
|
|
10401
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10400
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SharedIconModule, imports: [CommonModule,
|
|
10402
10401
|
MatIconModule] }); }
|
|
10403
10402
|
}
|
|
10404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SharedIconModule, decorators: [{
|
|
10405
10404
|
type: NgModule,
|
|
10406
10405
|
args: [{
|
|
10407
10406
|
imports: [
|
|
@@ -10414,21 +10413,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10414
10413
|
}] });
|
|
10415
10414
|
|
|
10416
10415
|
class ButtonModule {
|
|
10417
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10418
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10416
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10417
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: ButtonModule, declarations: [ButtonComponent], imports: [CommonModule,
|
|
10419
10418
|
FormsModule,
|
|
10420
10419
|
MatTooltipModule,
|
|
10421
10420
|
SharedIconModule,
|
|
10422
10421
|
SharedSpinnerModule,
|
|
10423
10422
|
MatButtonModule], exports: [ButtonComponent] }); }
|
|
10424
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10423
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ButtonModule, imports: [CommonModule,
|
|
10425
10424
|
FormsModule,
|
|
10426
10425
|
MatTooltipModule,
|
|
10427
10426
|
SharedIconModule,
|
|
10428
10427
|
SharedSpinnerModule,
|
|
10429
10428
|
MatButtonModule] }); }
|
|
10430
10429
|
}
|
|
10431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ButtonModule, decorators: [{
|
|
10432
10431
|
type: NgModule,
|
|
10433
10432
|
args: [{
|
|
10434
10433
|
imports: [
|
|
@@ -10445,15 +10444,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10445
10444
|
}] });
|
|
10446
10445
|
|
|
10447
10446
|
class PanelModule {
|
|
10448
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10449
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10447
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10448
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: PanelModule, declarations: [PanelComponent], imports: [CommonModule,
|
|
10450
10449
|
ButtonModule,
|
|
10451
10450
|
FlexModule], exports: [PanelComponent] }); }
|
|
10452
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10451
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PanelModule, imports: [CommonModule,
|
|
10453
10452
|
ButtonModule,
|
|
10454
10453
|
FlexModule] }); }
|
|
10455
10454
|
}
|
|
10456
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PanelModule, decorators: [{
|
|
10457
10456
|
type: NgModule,
|
|
10458
10457
|
args: [{
|
|
10459
10458
|
declarations: [PanelComponent],
|
|
@@ -10467,11 +10466,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10467
10466
|
}] });
|
|
10468
10467
|
|
|
10469
10468
|
class StarRatingModule {
|
|
10470
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10471
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10472
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10469
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StarRatingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10470
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: StarRatingModule, declarations: [StarRatingComponent], imports: [CommonModule], exports: [StarRatingComponent] }); }
|
|
10471
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StarRatingModule, imports: [CommonModule] }); }
|
|
10473
10472
|
}
|
|
10474
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10473
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StarRatingModule, decorators: [{
|
|
10475
10474
|
type: NgModule,
|
|
10476
10475
|
args: [{
|
|
10477
10476
|
declarations: [StarRatingComponent],
|
|
@@ -10485,11 +10484,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10485
10484
|
}] });
|
|
10486
10485
|
|
|
10487
10486
|
class SmartProgressBarModule {
|
|
10488
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10489
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10490
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10487
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SmartProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10488
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: SmartProgressBarModule, declarations: [SmartProgressBarComponent], imports: [CommonModule], exports: [SmartProgressBarComponent] }); }
|
|
10489
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SmartProgressBarModule, imports: [CommonModule] }); }
|
|
10491
10490
|
}
|
|
10492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10491
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SmartProgressBarModule, decorators: [{
|
|
10493
10492
|
type: NgModule,
|
|
10494
10493
|
args: [{
|
|
10495
10494
|
declarations: [SmartProgressBarComponent],
|
|
@@ -10499,8 +10498,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10499
10498
|
}] });
|
|
10500
10499
|
|
|
10501
10500
|
class AutoFormModule {
|
|
10502
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10503
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10501
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AutoFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10502
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: AutoFormModule, declarations: [FormFieldComponent,
|
|
10504
10503
|
FormFieldSpinnerComponent,
|
|
10505
10504
|
FormFieldSelectComponent,
|
|
10506
10505
|
FormFieldSelectShowComponent,
|
|
@@ -10545,7 +10544,7 @@ class AutoFormModule {
|
|
|
10545
10544
|
NgxMaskDirective,
|
|
10546
10545
|
NgxMaskPipe], exports: [AutoFormMainComponent,
|
|
10547
10546
|
AutoFormShowComponent] }); }
|
|
10548
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10547
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AutoFormModule, imports: [CommonModule,
|
|
10549
10548
|
FormFieldErrorModule,
|
|
10550
10549
|
FormFieldPublishErrorModule,
|
|
10551
10550
|
MatFormFieldModule,
|
|
@@ -10569,7 +10568,7 @@ class AutoFormModule {
|
|
|
10569
10568
|
MatAutocompleteModule,
|
|
10570
10569
|
NgxMatSelectSearchModule] }); }
|
|
10571
10570
|
}
|
|
10572
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10571
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AutoFormModule, decorators: [{
|
|
10573
10572
|
type: NgModule,
|
|
10574
10573
|
args: [{
|
|
10575
10574
|
declarations: [
|
|
@@ -10631,8 +10630,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10631
10630
|
}] });
|
|
10632
10631
|
|
|
10633
10632
|
class DialogsModule {
|
|
10634
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10635
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10633
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DialogsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10634
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DialogsModule, declarations: [DeleteComponent,
|
|
10636
10635
|
CommonDialogComponent,
|
|
10637
10636
|
SelectDialogComponent], imports: [CommonModule,
|
|
10638
10637
|
MatDialogModule,
|
|
@@ -10643,7 +10642,7 @@ class DialogsModule {
|
|
|
10643
10642
|
FlexModule,
|
|
10644
10643
|
FormsModule,
|
|
10645
10644
|
ReactiveFormsModule] }); }
|
|
10646
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10645
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DialogsModule, providers: [DialogService], imports: [CommonModule,
|
|
10647
10646
|
MatDialogModule,
|
|
10648
10647
|
MatButtonModule,
|
|
10649
10648
|
MatIconModule,
|
|
@@ -10653,7 +10652,7 @@ class DialogsModule {
|
|
|
10653
10652
|
FormsModule,
|
|
10654
10653
|
ReactiveFormsModule] }); }
|
|
10655
10654
|
}
|
|
10656
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10655
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DialogsModule, decorators: [{
|
|
10657
10656
|
type: NgModule,
|
|
10658
10657
|
args: [{
|
|
10659
10658
|
imports: [
|
|
@@ -10677,20 +10676,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
10677
10676
|
}] });
|
|
10678
10677
|
|
|
10679
10678
|
class AccessDeniedComponent {
|
|
10680
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10681
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
10679
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AccessDeniedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10680
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AccessDeniedComponent, selector: "shared-access-denied", ngImport: i0, template: "<div class=\"text-center mt-30\">\n \u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E, \u0443 \u0412\u0430\u0441 \u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u0434\u043B\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u044D\u0442\u043E\u0439 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B<br/>\n <div class=\"mt-20\">\n \u0415\u0441\u043B\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044C \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\u043E \u044D\u0442\u043E\u043C\u0443 \u043F\u043E\u0432\u043E\u0434\u0443, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430 \u043D\u0430\u043F\u0438\u0448\u0438\u0442\u0435 \u0432 <a href=\"mailto:support@world-travel.uz\">support@world-travel.uz</a>\n </div>\n</div>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10682
10681
|
}
|
|
10683
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AccessDeniedComponent, decorators: [{
|
|
10684
10683
|
type: Component,
|
|
10685
|
-
args: [{ selector: 'shared-access-denied', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"text-center mt-30\">\n \u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E, \u0443 \u0412\u0430\u0441 \u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u0434\u043B\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u044D\u0442\u043E\u0439 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B<br/>\n <div class=\"mt-20\">\n \u0415\u0441\u043B\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044C \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\u043E \u044D\u0442\u043E\u043C\u0443 \u043F\u043E\u0432\u043E\u0434\u0443, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430 \u043D\u0430\u043F\u0438\u0448\u0438\u0442\u0435 \u0432 <a href=\"mailto:support@world-travel.uz\">support
|
|
10684
|
+
args: [{ selector: 'shared-access-denied', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"text-center mt-30\">\n \u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E, \u0443 \u0412\u0430\u0441 \u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u0434\u043B\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u044D\u0442\u043E\u0439 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B<br/>\n <div class=\"mt-20\">\n \u0415\u0441\u043B\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044C \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\u043E \u044D\u0442\u043E\u043C\u0443 \u043F\u043E\u0432\u043E\u0434\u0443, \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430 \u043D\u0430\u043F\u0438\u0448\u0438\u0442\u0435 \u0432 <a href=\"mailto:support@world-travel.uz\">support@world-travel.uz</a>\n </div>\n</div>\n" }]
|
|
10686
10685
|
}] });
|
|
10687
10686
|
|
|
10688
10687
|
class AccessDeniedModule {
|
|
10689
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10690
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10691
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10688
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AccessDeniedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10689
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: AccessDeniedModule, declarations: [AccessDeniedComponent], exports: [AccessDeniedComponent] }); }
|
|
10690
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AccessDeniedModule }); }
|
|
10692
10691
|
}
|
|
10693
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AccessDeniedModule, decorators: [{
|
|
10694
10693
|
type: NgModule,
|
|
10695
10694
|
args: [{
|
|
10696
10695
|
imports: [],
|
|
@@ -10703,22 +10702,22 @@ class BreadCrumbsComponent {
|
|
|
10703
10702
|
constructor() { }
|
|
10704
10703
|
ngOnInit() {
|
|
10705
10704
|
}
|
|
10706
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10707
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
10705
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BreadCrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10706
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: BreadCrumbsComponent, selector: "shared-bread-crumbs", inputs: { list: "list" }, ngImport: i0, template: "<div class=\"bread-crumbs\" *ngIf=\"list\">\n <ng-container *ngFor=\"let item of list\">\n <ng-container *ngIf=\"item.url\">\n <a [routerLink]=\"item.url\">{{item.title}}</a><span class=\"separate\">/</span>\n </ng-container>\n <ng-container *ngIf=\"!item.url\">\n <span>{{item.title}}</span>\n </ng-container>\n </ng-container>\n</div>\n", styles: [".bread-crumbs{margin-bottom:15px;font-size:12px;opacity:.8}.bread-crumbs .separate{padding:0 5px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
10708
10707
|
}
|
|
10709
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10708
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BreadCrumbsComponent, decorators: [{
|
|
10710
10709
|
type: Component,
|
|
10711
10710
|
args: [{ selector: 'shared-bread-crumbs', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"bread-crumbs\" *ngIf=\"list\">\n <ng-container *ngFor=\"let item of list\">\n <ng-container *ngIf=\"item.url\">\n <a [routerLink]=\"item.url\">{{item.title}}</a><span class=\"separate\">/</span>\n </ng-container>\n <ng-container *ngIf=\"!item.url\">\n <span>{{item.title}}</span>\n </ng-container>\n </ng-container>\n</div>\n", styles: [".bread-crumbs{margin-bottom:15px;font-size:12px;opacity:.8}.bread-crumbs .separate{padding:0 5px}\n"] }]
|
|
10712
|
-
}], ctorParameters:
|
|
10711
|
+
}], ctorParameters: () => [], propDecorators: { list: [{
|
|
10713
10712
|
type: Input
|
|
10714
10713
|
}] } });
|
|
10715
10714
|
|
|
10716
10715
|
class BreadCrumbsModule {
|
|
10717
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10718
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10719
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10716
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BreadCrumbsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10717
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: BreadCrumbsModule, declarations: [BreadCrumbsComponent], imports: [CommonModule, RouterModule], exports: [CommonModule, BreadCrumbsComponent] }); }
|
|
10718
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BreadCrumbsModule, imports: [CommonModule, RouterModule, CommonModule] }); }
|
|
10720
10719
|
}
|
|
10721
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BreadCrumbsModule, decorators: [{
|
|
10722
10721
|
type: NgModule,
|
|
10723
10722
|
args: [{
|
|
10724
10723
|
declarations: [BreadCrumbsComponent],
|
|
@@ -11057,13 +11056,13 @@ class SiteHelperComponent {
|
|
|
11057
11056
|
}
|
|
11058
11057
|
ngOnDestroy() {
|
|
11059
11058
|
}
|
|
11060
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11061
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
11059
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SiteHelperComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: FormsFacade }, { token: PublicationMessagesFacade }, { token: StaticDataFacade }, { token: i3$2.CookieService }, { token: i2.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11060
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SiteHelperComponent, selector: "shared-site-helper", inputs: { configurations: "configurations" }, viewQueries: [{ propertyName: "textDiv", first: true, predicate: ["siteHelperText"], descendants: true }], ngImport: i0, template: "", styles: [".site-helper{position:fixed;right:20px;bottom:0;z-index:100000;display:flex;flex-direction:column}.site-helper .site-helper-text-button button{background:#4caf50;border:0;color:#fff;height:30px;margin-top:10px}\n"], animations: [appearOpacity2], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11062
11061
|
}
|
|
11063
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SiteHelperComponent, decorators: [{
|
|
11064
11063
|
type: Component,
|
|
11065
11064
|
args: [{ selector: 'shared-site-helper', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearOpacity2], template: "", styles: [".site-helper{position:fixed;right:20px;bottom:0;z-index:100000;display:flex;flex-direction:column}.site-helper .site-helper-text-button button{background:#4caf50;border:0;color:#fff;height:30px;margin-top:10px}\n"] }]
|
|
11066
|
-
}], ctorParameters:
|
|
11065
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: FormsFacade }, { type: PublicationMessagesFacade }, { type: StaticDataFacade }, { type: i3$2.CookieService }, { type: i2.Router }], propDecorators: { configurations: [{
|
|
11067
11066
|
type: Input
|
|
11068
11067
|
}], textDiv: [{
|
|
11069
11068
|
type: ViewChild,
|
|
@@ -11071,11 +11070,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
11071
11070
|
}] } });
|
|
11072
11071
|
|
|
11073
11072
|
class SiteHelperModule {
|
|
11074
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11075
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11076
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
11073
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SiteHelperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11074
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: SiteHelperModule, declarations: [SiteHelperComponent], imports: [CommonModule], exports: [SiteHelperComponent] }); }
|
|
11075
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SiteHelperModule, imports: [CommonModule] }); }
|
|
11077
11076
|
}
|
|
11078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11077
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SiteHelperModule, decorators: [{
|
|
11079
11078
|
type: NgModule,
|
|
11080
11079
|
args: [{
|
|
11081
11080
|
declarations: [SiteHelperComponent],
|
|
@@ -11085,10 +11084,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
11085
11084
|
}] });
|
|
11086
11085
|
|
|
11087
11086
|
class StaticDataComponentInputData {
|
|
11088
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11089
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
11087
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataComponentInputData, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
11088
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataComponentInputData }); }
|
|
11090
11089
|
}
|
|
11091
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11090
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataComponentInputData, decorators: [{
|
|
11092
11091
|
type: Injectable
|
|
11093
11092
|
}] });
|
|
11094
11093
|
|
|
@@ -11152,27 +11151,27 @@ class RightService {
|
|
|
11152
11151
|
};
|
|
11153
11152
|
}));
|
|
11154
11153
|
}
|
|
11155
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11156
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
11154
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RightService, deps: [{ token: AuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
11155
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RightService, providedIn: 'root' }); }
|
|
11157
11156
|
}
|
|
11158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RightService, decorators: [{
|
|
11159
11158
|
type: Injectable,
|
|
11160
11159
|
args: [{
|
|
11161
11160
|
providedIn: 'root'
|
|
11162
11161
|
}]
|
|
11163
|
-
}], ctorParameters:
|
|
11162
|
+
}], ctorParameters: () => [{ type: AuthenticationService }] });
|
|
11164
11163
|
|
|
11165
11164
|
class PanelHeaderComponent {
|
|
11166
11165
|
constructor() { }
|
|
11167
11166
|
ngOnInit() {
|
|
11168
11167
|
}
|
|
11169
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11170
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
11168
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PanelHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11169
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: PanelHeaderComponent, selector: "shared-panel-header", inputs: { title: "title", parentTitle: "parentTitle", parentUrl: "parentUrl" }, ngImport: i0, template: "<div class=\"header accent p-24 h-160\">\n <div class=\"header-breadcrumbs mt-16\">\n <mat-icon\n class=\"secondary-text s-18 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">home\n </mat-icon>\n\n <!--\n <span class=\"secondary-text\">Documentation</span>\n <mat-icon\n class=\"secondary-text s-16 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">chevron_right\n </mat-icon>\n <span class=\"secondary-text\">Components</span>-->\n <ng-container *ngIf=\"parentTitle\">\n <mat-icon\n class=\"secondary-text s-16 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">chevron_right\n </mat-icon>\n <div class=\"address-paren-item address-item\" [routerLink]=\"parentUrl\">{{parentTitle}}</div>\n </ng-container>\n <mat-icon\n class=\"secondary-text s-16 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">chevron_right\n </mat-icon>\n <div class=\"address-item\">{{title}}</div>\n </div>\n\n <!-- <div class=\"find-block\">\n <mat-form-field>\n <div class=\"find-field\">\n <input matInput #filterInput placeholder=\"\u041F\u043E\u0438\u0441\u043A\">\n <button mat-button [color]=\"'primary'\" (click)=\"applyFilter(filterInput)\" class=\"w-100\">\n \u041D\u0430\u0439\u0442\u0438\n </button>\n <button *ngIf=\"searchText\" mat-button\n (click)=\"applyFilter(filterInput, true)\"\n class=\"ml-5 w-100\">\n \u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n </div>\n </mat-form-field>\n </div>-->\n</div>\n\n", styles: [".address-item{font-size:12px}.address-item.address-paren-item{cursor:pointer;color:#007bff}\n"], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11171
11170
|
}
|
|
11172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PanelHeaderComponent, decorators: [{
|
|
11173
11172
|
type: Component,
|
|
11174
11173
|
args: [{ selector: 'shared-panel-header', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"header accent p-24 h-160\">\n <div class=\"header-breadcrumbs mt-16\">\n <mat-icon\n class=\"secondary-text s-18 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">home\n </mat-icon>\n\n <!--\n <span class=\"secondary-text\">Documentation</span>\n <mat-icon\n class=\"secondary-text s-16 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">chevron_right\n </mat-icon>\n <span class=\"secondary-text\">Components</span>-->\n <ng-container *ngIf=\"parentTitle\">\n <mat-icon\n class=\"secondary-text s-16 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">chevron_right\n </mat-icon>\n <div class=\"address-paren-item address-item\" [routerLink]=\"parentUrl\">{{parentTitle}}</div>\n </ng-container>\n <mat-icon\n class=\"secondary-text s-16 mat-icon notranslate material-icons mat-icon-no-color\"\n role=\"img\" aria-hidden=\"true\">chevron_right\n </mat-icon>\n <div class=\"address-item\">{{title}}</div>\n </div>\n\n <!-- <div class=\"find-block\">\n <mat-form-field>\n <div class=\"find-field\">\n <input matInput #filterInput placeholder=\"\u041F\u043E\u0438\u0441\u043A\">\n <button mat-button [color]=\"'primary'\" (click)=\"applyFilter(filterInput)\" class=\"w-100\">\n \u041D\u0430\u0439\u0442\u0438\n </button>\n <button *ngIf=\"searchText\" mat-button\n (click)=\"applyFilter(filterInput, true)\"\n class=\"ml-5 w-100\">\n \u041E\u0442\u043C\u0435\u043D\u0430\n </button>\n </div>\n </mat-form-field>\n </div>-->\n</div>\n\n", styles: [".address-item{font-size:12px}.address-item.address-paren-item{cursor:pointer;color:#007bff}\n"] }]
|
|
11175
|
-
}], ctorParameters:
|
|
11174
|
+
}], ctorParameters: () => [], propDecorators: { title: [{
|
|
11176
11175
|
type: Input
|
|
11177
11176
|
}], parentTitle: [{
|
|
11178
11177
|
type: Input
|
|
@@ -11280,13 +11279,13 @@ class StaticDataItemsComponent {
|
|
|
11280
11279
|
});
|
|
11281
11280
|
return preparedRow;
|
|
11282
11281
|
}
|
|
11283
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11284
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
11282
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataItemsComponent, deps: [{ token: RouterFacade }, { token: StaticDataFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11283
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: StaticDataItemsComponent, selector: "app-static-data-items", inputs: { items: "items", contentType: "contentType", queryParams: "queryParams", userRights: "userRights", staticSection: "staticSection" }, outputs: { delete: "delete" }, usesOnChanges: true, ngImport: i0, template: "<table class=\"list-items\">\n <tr>\n <th *ngFor=\"let fieldData of fieldsList\">{{fieldData.title}}</th>\n </tr>\n <tr *ngFor=\"let item of ( preparedItems$ | async ) as items\">\n <ng-container *ngFor=\"let fieldData of fieldsList\">\n <td (click)=\"edit(item.id)\" [ngClass]=\"{'true-select': item[fieldData.field] === true }\">\n {{item[fieldData.field]}}\n </td>\n </ng-container>\n\n <td class=\"action-field\">\n <shared-button\n *ngIf=\"userRights[2]\"\n class=\"mr-5\"\n size=\"small\"\n icon=\"edit\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"edit(item.id)\">\n </shared-button>\n <shared-button\n *ngIf=\"userRights[3]\"\n icon=\"clear\"\n size=\"small\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"warn\"\n (click)=\"deleteAction(item)\">\n </shared-button>\n </td>\n\n </tr>\n</table>\n", styles: [".field{margin:0 10px}.list-items{width:100%}.list-items tr{cursor:pointer}.list-items tr:first-child{cursor:default}.list-items tr:first-child:hover{background:none}.list-items tr:hover{background:#c7deef6e}.list-items .action-field{text-align:right}.true-select{background:#c3fcc580}table tr{border-bottom:1px solid rgba(0,0,0,.1294117647)}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11285
11284
|
}
|
|
11286
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataItemsComponent, decorators: [{
|
|
11287
11286
|
type: Component,
|
|
11288
11287
|
args: [{ selector: 'app-static-data-items', changeDetection: ChangeDetectionStrategy.OnPush, template: "<table class=\"list-items\">\n <tr>\n <th *ngFor=\"let fieldData of fieldsList\">{{fieldData.title}}</th>\n </tr>\n <tr *ngFor=\"let item of ( preparedItems$ | async ) as items\">\n <ng-container *ngFor=\"let fieldData of fieldsList\">\n <td (click)=\"edit(item.id)\" [ngClass]=\"{'true-select': item[fieldData.field] === true }\">\n {{item[fieldData.field]}}\n </td>\n </ng-container>\n\n <td class=\"action-field\">\n <shared-button\n *ngIf=\"userRights[2]\"\n class=\"mr-5\"\n size=\"small\"\n icon=\"edit\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"edit(item.id)\">\n </shared-button>\n <shared-button\n *ngIf=\"userRights[3]\"\n icon=\"clear\"\n size=\"small\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"warn\"\n (click)=\"deleteAction(item)\">\n </shared-button>\n </td>\n\n </tr>\n</table>\n", styles: [".field{margin:0 10px}.list-items{width:100%}.list-items tr{cursor:pointer}.list-items tr:first-child{cursor:default}.list-items tr:first-child:hover{background:none}.list-items tr:hover{background:#c7deef6e}.list-items .action-field{text-align:right}.true-select{background:#c3fcc580}table tr{border-bottom:1px solid rgba(0,0,0,.1294117647)}\n"] }]
|
|
11289
|
-
}], ctorParameters:
|
|
11288
|
+
}], ctorParameters: () => [{ type: RouterFacade }, { type: StaticDataFacade }], propDecorators: { items: [{
|
|
11290
11289
|
type: Input
|
|
11291
11290
|
}], contentType: [{
|
|
11292
11291
|
type: Input
|
|
@@ -11476,13 +11475,13 @@ class StaticDataListItemsComponent {
|
|
|
11476
11475
|
this.pageIndex = data.pageIndex;
|
|
11477
11476
|
this.loadStaticData(this.pageIndex + 1, data.pageSize);
|
|
11478
11477
|
}
|
|
11479
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11480
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
11478
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataListItemsComponent, deps: [{ token: i1$4.MatDialog }, { token: RightService }, { token: StaticDataFacade }, { token: i0.ChangeDetectorRef }, { token: RouterFacade }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11479
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: StaticDataListItemsComponent, selector: "app-static-data-list-items", inputs: { staticDataConfiguration: "staticDataConfiguration", contentType: "contentType", customTitle: "customTitle", addTitle: "addTitle", parentSection: "parentSection", parentItemId: "parentItemId", showPanelHeader: "showPanelHeader", parentData: "parentData", parentSectionHashtag: "parentSectionHashtag", autoCompleteFields: "autoCompleteFields", filteringQuery: "filteringQuery" }, viewQueries: [{ propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true, static: true }, { propertyName: "sort", first: true, predicate: MatSort, descendants: true, static: true }, { propertyName: "searchInput", first: true, predicate: ["search"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticDataMeta$ | async) as staticDataObj\">\n <div class=\"page-layout simple fullwidth angular-material-elements\">\n <shared-panel-header *ngIf=\"showPanelHeader\" [title]=\"title\"></shared-panel-header>\n\n <h1>{{title}}</h1>\n <div class=\"content p-24\">\n <div *ngIf=\"staticSection.options?.search\" class=\"top-bar\">\n <div class=\"search-block\">\n \u041F\u043E\u0438\u0441\u043A: <input #search class=\"search-input\">\n <shared-button\n icon=\"search\"\n color=\"accent\"\n iconColor=\"black\"\n (click)=\"searchHandle(search.value)\"></shared-button>\n <div class=\"cancel-button\">\n <shared-button\n *ngIf=\"search.value\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"black\"\n (click)=\"searchCancelHandle()\"></shared-button>\n </div>\n </div>\n </div>\n <ng-container *ngIf=\"staticData$ | async as staticData\">\n <div class=\"center-block p-10\">\n <app-static-data-items [items]=\"staticData\"\n [userRights]=\"userRights\"\n [staticSection]=\"staticSection\"\n [contentType]=\"contentType\"\n [queryParams]=\"queryParams\"\n (delete)=\"deleteEvent($event)\"></app-static-data-items>\n </div>\n <div *ngIf=\"staticDataObj.meta?.perPage !== -1\">\n <mat-paginator\n *ngIf=\"totalCount\"\n [length]=\"staticDataObj.meta?.totalCount\"\n [pageIndex]=\"pageIndex\"\n [pageSizeOptions]=\"[10, 25, 100]\"\n (page)=\"changePage($event)\"></mat-paginator>\n </div>\n </ng-container>\n <div *ngIf=\"isLoaded && !totalCount\">\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442</div>\n <div *ngIf=\"userRights[0]\" class=\"text-center mt-30 mb-30\">\n <shared-button\n id=\"go-to-create-form-button\"\n class=\"mr-5\"\n iconSize=\"small\"\n icon=\"add\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"addHandle()\">{{ addTitle || '\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C' }}\n </shared-button>\n </div>\n </div>\n <ng-container *ngIf=\"loaded$|async; let loaded;\">\n <shared-spinner *ngIf=\"!loaded\"></shared-spinner>\n </ng-container>\n </div>\n </ng-container>\n</ng-container>\n", styles: [".top-bar{background:#c7deef;display:flex;justify-content:flex-end}.top-bar .search-block{display:flex;align-content:center;align-items:center}.top-bar .search-block .search-input{background-color:#adcde8!important;padding:11px 10px!important}.top-bar .search-block .cancel-button{width:64px;height:40px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6$1.MatPaginator, selector: "mat-paginator", inputs: ["disabled"], exportAs: ["matPaginator"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "component", type: PanelHeaderComponent, selector: "shared-panel-header", inputs: ["title", "parentTitle", "parentUrl"] }, { kind: "component", type: StaticDataItemsComponent, selector: "app-static-data-items", inputs: ["items", "contentType", "queryParams", "userRights", "staticSection"], outputs: ["delete"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11481
11480
|
}
|
|
11482
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataListItemsComponent, decorators: [{
|
|
11483
11482
|
type: Component,
|
|
11484
11483
|
args: [{ selector: 'app-static-data-list-items', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticDataMeta$ | async) as staticDataObj\">\n <div class=\"page-layout simple fullwidth angular-material-elements\">\n <shared-panel-header *ngIf=\"showPanelHeader\" [title]=\"title\"></shared-panel-header>\n\n <h1>{{title}}</h1>\n <div class=\"content p-24\">\n <div *ngIf=\"staticSection.options?.search\" class=\"top-bar\">\n <div class=\"search-block\">\n \u041F\u043E\u0438\u0441\u043A: <input #search class=\"search-input\">\n <shared-button\n icon=\"search\"\n color=\"accent\"\n iconColor=\"black\"\n (click)=\"searchHandle(search.value)\"></shared-button>\n <div class=\"cancel-button\">\n <shared-button\n *ngIf=\"search.value\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"black\"\n (click)=\"searchCancelHandle()\"></shared-button>\n </div>\n </div>\n </div>\n <ng-container *ngIf=\"staticData$ | async as staticData\">\n <div class=\"center-block p-10\">\n <app-static-data-items [items]=\"staticData\"\n [userRights]=\"userRights\"\n [staticSection]=\"staticSection\"\n [contentType]=\"contentType\"\n [queryParams]=\"queryParams\"\n (delete)=\"deleteEvent($event)\"></app-static-data-items>\n </div>\n <div *ngIf=\"staticDataObj.meta?.perPage !== -1\">\n <mat-paginator\n *ngIf=\"totalCount\"\n [length]=\"staticDataObj.meta?.totalCount\"\n [pageIndex]=\"pageIndex\"\n [pageSizeOptions]=\"[10, 25, 100]\"\n (page)=\"changePage($event)\"></mat-paginator>\n </div>\n </ng-container>\n <div *ngIf=\"isLoaded && !totalCount\">\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0443\u0441\u0442</div>\n <div *ngIf=\"userRights[0]\" class=\"text-center mt-30 mb-30\">\n <shared-button\n id=\"go-to-create-form-button\"\n class=\"mr-5\"\n iconSize=\"small\"\n icon=\"add\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"accent\"\n (click)=\"addHandle()\">{{ addTitle || '\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C' }}\n </shared-button>\n </div>\n </div>\n <ng-container *ngIf=\"loaded$|async; let loaded;\">\n <shared-spinner *ngIf=\"!loaded\"></shared-spinner>\n </ng-container>\n </div>\n </ng-container>\n</ng-container>\n", styles: [".top-bar{background:#c7deef;display:flex;justify-content:flex-end}.top-bar .search-block{display:flex;align-content:center;align-items:center}.top-bar .search-block .search-input{background-color:#adcde8!important;padding:11px 10px!important}.top-bar .search-block .cancel-button{width:64px;height:40px}\n"] }]
|
|
11485
|
-
}], ctorParameters:
|
|
11484
|
+
}], ctorParameters: () => [{ type: i1$4.MatDialog }, { type: RightService }, { type: StaticDataFacade }, { type: i0.ChangeDetectorRef }, { type: RouterFacade }], propDecorators: { staticDataConfiguration: [{
|
|
11486
11485
|
type: Input
|
|
11487
11486
|
}], contentType: [{
|
|
11488
11487
|
type: Input
|
|
@@ -11917,13 +11916,13 @@ class StaticDataDetailsComponent {
|
|
|
11917
11916
|
return dialogRef.afterClosed()
|
|
11918
11917
|
.toPromise();
|
|
11919
11918
|
}
|
|
11920
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11921
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: StaticDataDetailsComponent, selector: "app-static-data-details", usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"(status$ | async) as status\">\n <ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticData$ | async) as staticData\">\n <div class=\"page-layout simple fullwidth angular-material-elements\">\n <shared-panel-header *ngIf=\"form.get('name')\" [parentTitle]=\"staticSection.title\"\n [parentUrl]=\"['/static-data', contentType]\"\n [title]=\"form.get('name')?.value\">>\n </shared-panel-header>\n\n <div class=\"content p-24\">\n <div class=\"center-block bg-white mat-elevation-z1\">\n <mat-tab-group [selectedIndex]=\"activeTabIndex\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon class=\"static-data-tab-icon\">edit</mat-icon>\n \u0424\u043E\u0440\u043C\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\n </ng-template>\n <ng-template matTabContent>\n <div class=\"center-block-header position-relative\">\n <div @appearFromLeftWithDelay class=\"center-block-header-title\">\n {{ form.get('name')?.value || '\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435' }}\n </div>\n </div>\n <div *ngIf=\"staticSection?.options?.hasMultiLanguage\" class=\"languages\">\n <div *ngFor=\"let item of languageList\" class=\"language-item\">\n <a\n [ngClass]=\"{'activeLang': currentLanguageId ? item.id === currentLanguageId : defaultLanguageId ? item.id === defaultLanguageId : false }\"\n [routerLink]=\"['/static-data', contentType, itemId, item.id]\">[ {{item.slug}} ]</a>\n </div>\n </div>\n <div class=\"center-block-inner\">\n <form [formGroup]=\"form\">\n <shared-auto-form\n *ngIf=\"status.value === statusType.LOADED\"\n class=\"mb-20\"\n [showPublicationMessages]=\"staticSection.options?.havePublication || false\"\n [entity]=\"contentType\"\n [itemId]=\"itemId\"\n [formId]=\"formId\"\n [fields]=\"fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [havePublication]=\"staticSection.options?.havePublication || false\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue($event)\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>\n\n <div *ngIf=\"staticSection.globalActions\" class=\"global-actions\">\n <div *ngFor=\"let action of staticSection.globalActions\"\n (click)=\"globalActionHandle(action)\" class=\"global-action\">\n {{ action.title }}\n </div>\n </div>\n <div @appearFromLeftWithDelay\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n class=\"mt-20\">\n <shared-button\n id=\"back-to-list-button\"\n class=\"mr-8\"\n icon=\"chevron_left\"\n type=\"button\"\n styleTheme=\"raised\"\n color=\"basic\"\n iconColor=\"black\"\n (click)=\"goBack()\"\n >\u041A \u0441\u043F\u0438\u0441\u043A\u0443\n </shared-button>\n <shared-button\n *ngIf=\"userRights[0]\"\n id=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [loading]=\"status.value === statusType.LOADING\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >{{ itemId ? '\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C' : '\u0421\u043E\u0437\u0434\u0430\u0442\u044C' }}\n <!-- [disabled]=\"!form.valid dataStored\" -->\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.havePublication\">\n <shared-button\n *ngIf=\"!form.get('status')?.value\"\n id=\"publish-button\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"!itemId || publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u0442\u044C\n </shared-button>\n <shared-button\n *ngIf=\"form.get('status')?.value === publishStatus\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u0421\u043D\u044F\u0442\u044C \u0441 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438\n </shared-button>\n </ng-container>\n <shared-button\n *ngIf=\"userRights[3]\"\n id=\"delete-button\"\n [disabled]=\"!itemId\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n (click)=\"deleteAction(staticData.value)\"\n >\u0423\u0434\u0430\u043B\u0438\u0442\u044C\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.publicationInTelegramBot\">\n <shared-button\n icon=\"send\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n (click)=\"publishInTelegram()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0432 Telegram\n </shared-button>\n </ng-container>\n </div>\n </form>\n </div>\n </ng-template>\n </mat-tab>\n <ng-container *ngFor=\"let subEntity of staticSection.options?.subEntities\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon *ngIf=\"subEntity.titleIcon\"\n class=\"static-data-tab-icon\">{{ subEntity.titleIcon }}\n </mat-icon>\n {{ subEntity.title }}\n </ng-template>\n <ng-template matTabContent>\n <div class=\"center-block-inner\">\n <ng-container *ngIf=\"subEntity.subEntitiesType === 'static-data'\">\n <ng-container *ngIf=\"staticData.value?.id\">\n <ng-container *ngIf=\"staticData.value?.id\" class=\"center-block-inner\">\n <app-static-data-list-items\n [staticDataConfiguration]=\"staticDataConfiguration\"\n [contentType]=\"subEntity.entity\"\n [customTitle]=\"subEntity.title + ' ' + staticData.value?.['name']\"\n [addTitle]=\"subEntity.addTitle + ' ' + staticData.value?.['name']\"\n [filteringQuery]=\"subEntity.getFilteringQuery(staticData.value)\"\n [parentSection]=\"contentType\"\n [parentItemId]=\"itemId\"\n [parentSectionHashtag]=\"subEntity.hashTag\"\n [parentData]=\"form.value\"\n [autoCompleteFields]=\"subEntity.autoCompleteFields\"\n ></app-static-data-list-items>\n </ng-container>\n <shared-spinner *ngIf=\"!staticData.value?.id\"\n [overlay]=\"true\"></shared-spinner>\n </ng-container>\n <ng-container *ngIf=\"!staticData.value?.id\">\n <div class=\"message-box error\">\n <ng-container *ngIf=\"!subEntity.entity\">\n \u041F\u0435\u0440\u0435\u0434 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043C \u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u0435\u0439 \u0412\u0430\u043C \u043D\u0443\u0436\u043D\u043E \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\n \u043E\u0441\u043D\u043E\u0432\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C\n </ng-container>\n <ng-container *ngIf=\"subEntity.emptyTitle\">\n {{ subEntity.emptyTitle }}\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"subEntity.subEntitiesType === 'component'\">\n <ng-container *ngComponentOutlet=\"\n subEntity.component;\n injector: componentDataInjector;\n \" /> <!-- subEntity.getInputData(form.value) -->\n </ng-container>\n </div>\n </ng-template>\n </mat-tab>\n </ng-container>\n </mat-tab-group>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n <shared-spinner *ngIf=\"status.value !== statusType.LOADED || formStatus === 'loading'\" [overlay]=\"true\"></shared-spinner>\n</ng-container>\n\n\n", styles: [".update-published-tour-popup{position:absolute;top:0;left:0;width:100%;background:#485860a6;height:100%;z-index:100}.static-data-tab-icon{margin-right:5px}.languages{display:flex;justify-content:center;margin:5px 0 10px}.languages .language-item .activeLang{background:#007bff;color:#fff}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AutoFormMainComponent, selector: "shared-auto-form", inputs: ["fields", "itemId", "formId", "showPublicationMessages", "useEntityPermissions", "showProgressBar", "showFormMessageBox", "form", "editorImageUploadUrl", "errorMessageTexts", "entity", "havePublication", "config"], outputs: ["changed", "formCompleted"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "component", type: PanelHeaderComponent, selector: "shared-panel-header", inputs: ["title", "parentTitle", "parentUrl"] }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i9.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i9.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i22.MatTabContent, selector: "[matTabContent]" }, { kind: "directive", type: i22.MatTabLabel, selector: "[mat-tab-label], [matTabLabel]" }, { kind: "component", type: i22.MatTab, selector: "mat-tab", inputs: ["disabled"], exportAs: ["matTab"] }, { kind: "component", type: i22.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple", "fitInkBarToContent", "mat-stretch-tabs"], exportAs: ["matTabGroup"] }, { kind: "component", type: StaticDataListItemsComponent, selector: "app-static-data-list-items", inputs: ["staticDataConfiguration", "contentType", "customTitle", "addTitle", "parentSection", "parentItemId", "showPanelHeader", "parentData", "parentSectionHashtag", "autoCompleteFields", "filteringQuery"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11919
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataDetailsComponent, deps: [{ token: i3.UntypedFormBuilder }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: AutoFormService }, { token: RouterFacade }, { token: FormErrorsFacade }, { token: FormsFacade }, { token: RequestsFacade }, { token: StaticDataFacade }, { token: RightService }, { token: i1$4.MatDialog }, { token: NotificationsFacade }, { token: CoreFacade }, { token: PublicationMessagesFacade }, { token: ActionsFacade }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11920
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: StaticDataDetailsComponent, selector: "app-static-data-details", usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"(status$ | async) as status\">\n <ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticData$ | async) as staticData\">\n <div class=\"page-layout simple fullwidth angular-material-elements\">\n <shared-panel-header *ngIf=\"form.get('name')\" [parentTitle]=\"staticSection.title\"\n [parentUrl]=\"['/static-data', contentType]\"\n [title]=\"form.get('name')?.value\">>\n </shared-panel-header>\n\n <div class=\"content p-24\">\n <div class=\"center-block bg-white mat-elevation-z1\">\n <mat-tab-group [selectedIndex]=\"activeTabIndex\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon class=\"static-data-tab-icon\">edit</mat-icon>\n \u0424\u043E\u0440\u043C\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\n </ng-template>\n <ng-template matTabContent>\n <div class=\"center-block-header position-relative\">\n <div @appearFromLeftWithDelay class=\"center-block-header-title\">\n {{ form.get('name')?.value || '\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435' }}\n </div>\n </div>\n <div *ngIf=\"staticSection?.options?.hasMultiLanguage\" class=\"languages\">\n <div *ngFor=\"let item of languageList\" class=\"language-item\">\n <a\n [ngClass]=\"{'activeLang': currentLanguageId ? item.id === currentLanguageId : defaultLanguageId ? item.id === defaultLanguageId : false }\"\n [routerLink]=\"['/static-data', contentType, itemId, item.id]\">[ {{item.slug}} ]</a>\n </div>\n </div>\n <div class=\"center-block-inner\">\n <form [formGroup]=\"form\">\n <shared-auto-form\n *ngIf=\"status.value === statusType.LOADED\"\n class=\"mb-20\"\n [showPublicationMessages]=\"staticSection.options?.havePublication || false\"\n [entity]=\"contentType\"\n [itemId]=\"itemId\"\n [formId]=\"formId\"\n [fields]=\"fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [havePublication]=\"staticSection.options?.havePublication || false\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue($event)\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>\n\n <div *ngIf=\"staticSection.globalActions\" class=\"global-actions\">\n <div *ngFor=\"let action of staticSection.globalActions\"\n (click)=\"globalActionHandle(action)\" class=\"global-action\">\n {{ action.title }}\n </div>\n </div>\n <div @appearFromLeftWithDelay\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n class=\"mt-20\">\n <shared-button\n id=\"back-to-list-button\"\n class=\"mr-8\"\n icon=\"chevron_left\"\n type=\"button\"\n styleTheme=\"raised\"\n color=\"basic\"\n iconColor=\"black\"\n (click)=\"goBack()\"\n >\u041A \u0441\u043F\u0438\u0441\u043A\u0443\n </shared-button>\n <shared-button\n *ngIf=\"userRights[0]\"\n id=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [loading]=\"status.value === statusType.LOADING\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >{{ itemId ? '\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C' : '\u0421\u043E\u0437\u0434\u0430\u0442\u044C' }}\n <!-- [disabled]=\"!form.valid dataStored\" -->\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.havePublication\">\n <shared-button\n *ngIf=\"!form.get('status')?.value\"\n id=\"publish-button\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"!itemId || publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u0442\u044C\n </shared-button>\n <shared-button\n *ngIf=\"form.get('status')?.value === publishStatus\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u0421\u043D\u044F\u0442\u044C \u0441 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438\n </shared-button>\n </ng-container>\n <shared-button\n *ngIf=\"userRights[3]\"\n id=\"delete-button\"\n [disabled]=\"!itemId\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n (click)=\"deleteAction(staticData.value)\"\n >\u0423\u0434\u0430\u043B\u0438\u0442\u044C\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.publicationInTelegramBot\">\n <shared-button\n icon=\"send\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n (click)=\"publishInTelegram()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0432 Telegram\n </shared-button>\n </ng-container>\n </div>\n </form>\n </div>\n </ng-template>\n </mat-tab>\n <ng-container *ngFor=\"let subEntity of staticSection.options?.subEntities\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon *ngIf=\"subEntity.titleIcon\"\n class=\"static-data-tab-icon\">{{ subEntity.titleIcon }}\n </mat-icon>\n {{ subEntity.title }}\n </ng-template>\n <ng-template matTabContent>\n <div class=\"center-block-inner\">\n <ng-container *ngIf=\"subEntity.subEntitiesType === 'static-data'\">\n <ng-container *ngIf=\"staticData.value?.id\">\n <ng-container *ngIf=\"staticData.value?.id\" class=\"center-block-inner\">\n <app-static-data-list-items\n [staticDataConfiguration]=\"staticDataConfiguration\"\n [contentType]=\"subEntity.entity\"\n [customTitle]=\"subEntity.title + ' ' + staticData.value?.['name']\"\n [addTitle]=\"subEntity.addTitle + ' ' + staticData.value?.['name']\"\n [filteringQuery]=\"subEntity.getFilteringQuery(staticData.value)\"\n [parentSection]=\"contentType\"\n [parentItemId]=\"itemId\"\n [parentSectionHashtag]=\"subEntity.hashTag\"\n [parentData]=\"form.value\"\n [autoCompleteFields]=\"subEntity.autoCompleteFields\"\n ></app-static-data-list-items>\n </ng-container>\n <shared-spinner *ngIf=\"!staticData.value?.id\"\n [overlay]=\"true\"></shared-spinner>\n </ng-container>\n <ng-container *ngIf=\"!staticData.value?.id\">\n <div class=\"message-box error\">\n <ng-container *ngIf=\"!subEntity.entity\">\n \u041F\u0435\u0440\u0435\u0434 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043C \u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u0435\u0439 \u0412\u0430\u043C \u043D\u0443\u0436\u043D\u043E \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\n \u043E\u0441\u043D\u043E\u0432\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C\n </ng-container>\n <ng-container *ngIf=\"subEntity.emptyTitle\">\n {{ subEntity.emptyTitle }}\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"subEntity.subEntitiesType === 'component'\">\n <ng-container *ngComponentOutlet=\"\n subEntity.component;\n injector: componentDataInjector;\n \" /> <!-- subEntity.getInputData(form.value) -->\n </ng-container>\n </div>\n </ng-template>\n </mat-tab>\n </ng-container>\n </mat-tab-group>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n <shared-spinner *ngIf=\"status.value !== statusType.LOADED || formStatus === 'loading'\" [overlay]=\"true\"></shared-spinner>\n</ng-container>\n\n\n", styles: [".update-published-tour-popup{position:absolute;top:0;left:0;width:100%;background:#485860a6;height:100%;z-index:100}.static-data-tab-icon{margin-right:5px}.languages{display:flex;justify-content:center;margin:5px 0 10px}.languages .language-item .activeLang{background:#007bff;color:#fff}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: AutoFormMainComponent, selector: "shared-auto-form", inputs: ["fields", "itemId", "formId", "showPublicationMessages", "useEntityPermissions", "showProgressBar", "showFormMessageBox", "form", "editorImageUploadUrl", "errorMessageTexts", "entity", "havePublication", "config"], outputs: ["changed", "formCompleted"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: ButtonComponent, selector: "shared-button", inputs: ["icon", "iconColor", "iconSize", "rightIcon", "disabled", "loading", "active", "stopPropagation", "type", "color", "size", "styleTheme", "tooltip", "tooltipPosition"], outputs: ["clickButton"] }, { kind: "component", type: PanelHeaderComponent, selector: "shared-panel-header", inputs: ["title", "parentTitle", "parentUrl"] }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i9.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i9.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i22.MatTabContent, selector: "[matTabContent]" }, { kind: "directive", type: i22.MatTabLabel, selector: "[mat-tab-label], [matTabLabel]" }, { kind: "component", type: i22.MatTab, selector: "mat-tab", inputs: ["disabled"], exportAs: ["matTab"] }, { kind: "component", type: i22.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple", "fitInkBarToContent", "mat-stretch-tabs"], exportAs: ["matTabGroup"] }, { kind: "component", type: StaticDataListItemsComponent, selector: "app-static-data-list-items", inputs: ["staticDataConfiguration", "contentType", "customTitle", "addTitle", "parentSection", "parentItemId", "showPanelHeader", "parentData", "parentSectionHashtag", "autoCompleteFields", "filteringQuery"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11922
11921
|
}
|
|
11923
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11922
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataDetailsComponent, decorators: [{
|
|
11924
11923
|
type: Component,
|
|
11925
11924
|
args: [{ selector: 'app-static-data-details', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromRightWithDelay, appearFromLeftWithDelay, appearOpacity], template: "<ng-container *ngIf=\"(status$ | async) as status\">\n <ng-container *ngIf=\"(userRights$ | async) as userRights\">\n <ng-container *ngIf=\"(staticData$ | async) as staticData\">\n <div class=\"page-layout simple fullwidth angular-material-elements\">\n <shared-panel-header *ngIf=\"form.get('name')\" [parentTitle]=\"staticSection.title\"\n [parentUrl]=\"['/static-data', contentType]\"\n [title]=\"form.get('name')?.value\">>\n </shared-panel-header>\n\n <div class=\"content p-24\">\n <div class=\"center-block bg-white mat-elevation-z1\">\n <mat-tab-group [selectedIndex]=\"activeTabIndex\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon class=\"static-data-tab-icon\">edit</mat-icon>\n \u0424\u043E\u0440\u043C\u0430 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\n </ng-template>\n <ng-template matTabContent>\n <div class=\"center-block-header position-relative\">\n <div @appearFromLeftWithDelay class=\"center-block-header-title\">\n {{ form.get('name')?.value || '\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435' }}\n </div>\n </div>\n <div *ngIf=\"staticSection?.options?.hasMultiLanguage\" class=\"languages\">\n <div *ngFor=\"let item of languageList\" class=\"language-item\">\n <a\n [ngClass]=\"{'activeLang': currentLanguageId ? item.id === currentLanguageId : defaultLanguageId ? item.id === defaultLanguageId : false }\"\n [routerLink]=\"['/static-data', contentType, itemId, item.id]\">[ {{item.slug}} ]</a>\n </div>\n </div>\n <div class=\"center-block-inner\">\n <form [formGroup]=\"form\">\n <shared-auto-form\n *ngIf=\"status.value === statusType.LOADED\"\n class=\"mb-20\"\n [showPublicationMessages]=\"staticSection.options?.havePublication || false\"\n [entity]=\"contentType\"\n [itemId]=\"itemId\"\n [formId]=\"formId\"\n [fields]=\"fields\"\n [form]=\"form\"\n [config]=\"{needToPublish: false}\"\n [havePublication]=\"staticSection.options?.havePublication || false\"\n [errorMessageTexts]=\"globalErrorMessageTexts\"\n (changed)=\"changedFormValue($event)\"\n (formCompleted)=\"formCompleted($event)\"\n ></shared-auto-form>\n\n <div *ngIf=\"staticSection.globalActions\" class=\"global-actions\">\n <div *ngFor=\"let action of staticSection.globalActions\"\n (click)=\"globalActionHandle(action)\" class=\"global-action\">\n {{ action.title }}\n </div>\n </div>\n <div @appearFromLeftWithDelay\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n class=\"mt-20\">\n <shared-button\n id=\"back-to-list-button\"\n class=\"mr-8\"\n icon=\"chevron_left\"\n type=\"button\"\n styleTheme=\"raised\"\n color=\"basic\"\n iconColor=\"black\"\n (click)=\"goBack()\"\n >\u041A \u0441\u043F\u0438\u0441\u043A\u0443\n </shared-button>\n <shared-button\n *ngIf=\"userRights[0]\"\n id=\"form-create-button\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"edit\"\n iconColor=\"white\"\n color=\"accent\"\n styleTheme=\"raised\"\n [loading]=\"status.value === statusType.LOADING\"\n [disabled]=\"!form.valid || formStatus === 'loading'\"\n (click)=\"submitClick()\"\n >{{ itemId ? '\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C' : '\u0421\u043E\u0437\u0434\u0430\u0442\u044C' }}\n <!-- [disabled]=\"!form.valid dataStored\" -->\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.havePublication\">\n <shared-button\n *ngIf=\"!form.get('status')?.value\"\n id=\"publish-button\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"!itemId || publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u0442\u044C\n </shared-button>\n <shared-button\n *ngIf=\"form.get('status')?.value === publishStatus\"\n class=\"mr-8\"\n icon=\"check\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n [disabled]=\"publishButtonLoading\"\n [loading]=\"publishButtonLoading\"\n (click)=\"publishToggle()\"\n >\u0421\u043D\u044F\u0442\u044C \u0441 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438\n </shared-button>\n </ng-container>\n <shared-button\n *ngIf=\"userRights[3]\"\n id=\"delete-button\"\n [disabled]=\"!itemId\"\n class=\"mr-8\"\n type=\"submit\"\n icon=\"clear\"\n color=\"warn\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n (click)=\"deleteAction(staticData.value)\"\n >\u0423\u0434\u0430\u043B\u0438\u0442\u044C\n </shared-button>\n <ng-container *ngIf=\"staticSection.options?.publicationInTelegramBot\">\n <shared-button\n icon=\"send\"\n type=\"button\"\n iconColor=\"white\"\n styleTheme=\"raised\"\n color=\"orange\"\n (click)=\"publishInTelegram()\"\n >\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0432 Telegram\n </shared-button>\n </ng-container>\n </div>\n </form>\n </div>\n </ng-template>\n </mat-tab>\n <ng-container *ngFor=\"let subEntity of staticSection.options?.subEntities\">\n <mat-tab>\n <ng-template mat-tab-label>\n <mat-icon *ngIf=\"subEntity.titleIcon\"\n class=\"static-data-tab-icon\">{{ subEntity.titleIcon }}\n </mat-icon>\n {{ subEntity.title }}\n </ng-template>\n <ng-template matTabContent>\n <div class=\"center-block-inner\">\n <ng-container *ngIf=\"subEntity.subEntitiesType === 'static-data'\">\n <ng-container *ngIf=\"staticData.value?.id\">\n <ng-container *ngIf=\"staticData.value?.id\" class=\"center-block-inner\">\n <app-static-data-list-items\n [staticDataConfiguration]=\"staticDataConfiguration\"\n [contentType]=\"subEntity.entity\"\n [customTitle]=\"subEntity.title + ' ' + staticData.value?.['name']\"\n [addTitle]=\"subEntity.addTitle + ' ' + staticData.value?.['name']\"\n [filteringQuery]=\"subEntity.getFilteringQuery(staticData.value)\"\n [parentSection]=\"contentType\"\n [parentItemId]=\"itemId\"\n [parentSectionHashtag]=\"subEntity.hashTag\"\n [parentData]=\"form.value\"\n [autoCompleteFields]=\"subEntity.autoCompleteFields\"\n ></app-static-data-list-items>\n </ng-container>\n <shared-spinner *ngIf=\"!staticData.value?.id\"\n [overlay]=\"true\"></shared-spinner>\n </ng-container>\n <ng-container *ngIf=\"!staticData.value?.id\">\n <div class=\"message-box error\">\n <ng-container *ngIf=\"!subEntity.entity\">\n \u041F\u0435\u0440\u0435\u0434 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043C \u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u0435\u0439 \u0412\u0430\u043C \u043D\u0443\u0436\u043D\u043E \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\n \u043E\u0441\u043D\u043E\u0432\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C\n </ng-container>\n <ng-container *ngIf=\"subEntity.emptyTitle\">\n {{ subEntity.emptyTitle }}\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"subEntity.subEntitiesType === 'component'\">\n <ng-container *ngComponentOutlet=\"\n subEntity.component;\n injector: componentDataInjector;\n \" /> <!-- subEntity.getInputData(form.value) -->\n </ng-container>\n </div>\n </ng-template>\n </mat-tab>\n </ng-container>\n </mat-tab-group>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n <shared-spinner *ngIf=\"status.value !== statusType.LOADED || formStatus === 'loading'\" [overlay]=\"true\"></shared-spinner>\n</ng-container>\n\n\n", styles: [".update-published-tour-popup{position:absolute;top:0;left:0;width:100%;background:#485860a6;height:100%;z-index:100}.static-data-tab-icon{margin-right:5px}.languages{display:flex;justify-content:center;margin:5px 0 10px}.languages .language-item .activeLang{background:#007bff;color:#fff}\n"] }]
|
|
11926
|
-
}], ctorParameters:
|
|
11925
|
+
}], ctorParameters: () => [{ type: i3.UntypedFormBuilder }, { type: i2.Router }, { type: i2.ActivatedRoute }, { type: AutoFormService }, { type: RouterFacade }, { type: FormErrorsFacade }, { type: FormsFacade }, { type: RequestsFacade }, { type: StaticDataFacade }, { type: RightService }, { type: i1$4.MatDialog }, { type: NotificationsFacade }, { type: CoreFacade }, { type: PublicationMessagesFacade }, { type: ActionsFacade }, { type: i0.Injector }, { type: i0.ChangeDetectorRef }] });
|
|
11927
11926
|
|
|
11928
11927
|
/**
|
|
11929
11928
|
* @title Data table with sorting, pagination, and filtering.
|
|
@@ -11952,13 +11951,13 @@ class StaticDataListComponent {
|
|
|
11952
11951
|
return params?.[0].path;
|
|
11953
11952
|
}));
|
|
11954
11953
|
}
|
|
11955
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11956
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
11954
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataListComponent, deps: [{ token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11955
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: StaticDataListComponent, selector: "app-static-data-list", ngImport: i0, template: "<ng-container *ngIf=\"contentType$ | async as contentType\">\n <app-static-data-list-items\n [staticDataConfiguration]=\"staticDataConfiguration\"\n [contentType]=\"contentType\"\n [showPanelHeader]=\"true\"></app-static-data-list-items>\n</ng-container>\n", styles: [".top-bar{background:#c7deef;display:flex;justify-content:flex-end}.top-bar .search-block{display:flex;align-content:center;align-items:center}.top-bar .search-block .search-input{background-color:#adcde8!important;padding:11px 10px!important}.top-bar .search-block .cancel-button{width:64px;height:40px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: StaticDataListItemsComponent, selector: "app-static-data-list-items", inputs: ["staticDataConfiguration", "contentType", "customTitle", "addTitle", "parentSection", "parentItemId", "showPanelHeader", "parentData", "parentSectionHashtag", "autoCompleteFields", "filteringQuery"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11957
11956
|
}
|
|
11958
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11957
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataListComponent, decorators: [{
|
|
11959
11958
|
type: Component,
|
|
11960
11959
|
args: [{ selector: 'app-static-data-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"contentType$ | async as contentType\">\n <app-static-data-list-items\n [staticDataConfiguration]=\"staticDataConfiguration\"\n [contentType]=\"contentType\"\n [showPanelHeader]=\"true\"></app-static-data-list-items>\n</ng-container>\n", styles: [".top-bar{background:#c7deef;display:flex;justify-content:flex-end}.top-bar .search-block{display:flex;align-content:center;align-items:center}.top-bar .search-block .search-input{background-color:#adcde8!important;padding:11px 10px!important}.top-bar .search-block .cancel-button{width:64px;height:40px}\n"] }]
|
|
11961
|
-
}], ctorParameters:
|
|
11960
|
+
}], ctorParameters: () => [{ type: i2.ActivatedRoute }] });
|
|
11962
11961
|
|
|
11963
11962
|
const routes = [
|
|
11964
11963
|
{
|
|
@@ -11980,11 +11979,11 @@ const routes = [
|
|
|
11980
11979
|
}
|
|
11981
11980
|
];
|
|
11982
11981
|
class StaticDataRoutingModule {
|
|
11983
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11984
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
11985
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
11982
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11983
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: StaticDataRoutingModule, imports: [i2.RouterModule], exports: [RouterModule] }); }
|
|
11984
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
|
|
11986
11985
|
}
|
|
11987
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11986
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataRoutingModule, decorators: [{
|
|
11988
11987
|
type: NgModule,
|
|
11989
11988
|
args: [{
|
|
11990
11989
|
imports: [RouterModule.forChild(routes)],
|
|
@@ -12005,31 +12004,31 @@ class TableMenuComponent {
|
|
|
12005
12004
|
deleteAction() {
|
|
12006
12005
|
this.delete.emit();
|
|
12007
12006
|
}
|
|
12008
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12009
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
12007
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TableMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12008
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TableMenuComponent, selector: "shared-table-menu", outputs: { edit: "edit", delete: "delete" }, ngImport: i0, template: "<mat-icon class=\"cursor-pointer\" [matMenuTriggerFor]=\"menu\">more_vert</mat-icon>\n<mat-menu #menu=\"matMenu\">\n <button mat-menu-item (click)=\"editAction()\">\n <mat-icon>edit</mat-icon>\n <span>\u0420\u0435\u0434.</span>\n </button>\n <button mat-menu-item (click)=\"deleteAction()\">\n <mat-icon>delete</mat-icon>\n <span>\u0423\u0434\u0430\u043B\u0438\u0442\u044C</span>\n </button>\n</mat-menu>\n", styles: [""], dependencies: [{ kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i2$6.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i2$6.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i2$6.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }] }); }
|
|
12010
12009
|
}
|
|
12011
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12010
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TableMenuComponent, decorators: [{
|
|
12012
12011
|
type: Component,
|
|
12013
12012
|
args: [{ selector: 'shared-table-menu', template: "<mat-icon class=\"cursor-pointer\" [matMenuTriggerFor]=\"menu\">more_vert</mat-icon>\n<mat-menu #menu=\"matMenu\">\n <button mat-menu-item (click)=\"editAction()\">\n <mat-icon>edit</mat-icon>\n <span>\u0420\u0435\u0434.</span>\n </button>\n <button mat-menu-item (click)=\"deleteAction()\">\n <mat-icon>delete</mat-icon>\n <span>\u0423\u0434\u0430\u043B\u0438\u0442\u044C</span>\n </button>\n</mat-menu>\n" }]
|
|
12014
|
-
}], ctorParameters:
|
|
12013
|
+
}], ctorParameters: () => [], propDecorators: { edit: [{
|
|
12015
12014
|
type: Output
|
|
12016
12015
|
}], delete: [{
|
|
12017
12016
|
type: Output
|
|
12018
12017
|
}] } });
|
|
12019
12018
|
|
|
12020
12019
|
class TableMenuModule {
|
|
12021
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12022
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
12020
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TableMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12021
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: TableMenuModule, declarations: [TableMenuComponent], imports: [CommonModule,
|
|
12023
12022
|
MatIconModule,
|
|
12024
12023
|
MatMenuModule], exports: [TableMenuComponent,
|
|
12025
12024
|
MatIconModule,
|
|
12026
12025
|
MatMenuModule] }); }
|
|
12027
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12026
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TableMenuModule, imports: [CommonModule,
|
|
12028
12027
|
MatIconModule,
|
|
12029
12028
|
MatMenuModule, MatIconModule,
|
|
12030
12029
|
MatMenuModule] }); }
|
|
12031
12030
|
}
|
|
12032
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TableMenuModule, decorators: [{
|
|
12033
12032
|
type: NgModule,
|
|
12034
12033
|
args: [{
|
|
12035
12034
|
declarations: [TableMenuComponent],
|
|
@@ -12047,15 +12046,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
12047
12046
|
}] });
|
|
12048
12047
|
|
|
12049
12048
|
class PanelHeaderModule {
|
|
12050
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12051
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
12049
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PanelHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12050
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: PanelHeaderModule, declarations: [PanelHeaderComponent], imports: [CommonModule,
|
|
12052
12051
|
MatIconModule,
|
|
12053
12052
|
MatFormFieldModule,
|
|
12054
12053
|
MatButtonModule,
|
|
12055
12054
|
MatInputModule,
|
|
12056
12055
|
FlexLayoutModule,
|
|
12057
12056
|
RouterModule], exports: [PanelHeaderComponent] }); }
|
|
12058
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12057
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PanelHeaderModule, imports: [CommonModule,
|
|
12059
12058
|
MatIconModule,
|
|
12060
12059
|
MatFormFieldModule,
|
|
12061
12060
|
MatButtonModule,
|
|
@@ -12063,7 +12062,7 @@ class PanelHeaderModule {
|
|
|
12063
12062
|
FlexLayoutModule,
|
|
12064
12063
|
RouterModule] }); }
|
|
12065
12064
|
}
|
|
12066
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12065
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PanelHeaderModule, decorators: [{
|
|
12067
12066
|
type: NgModule,
|
|
12068
12067
|
args: [{
|
|
12069
12068
|
declarations: [PanelHeaderComponent],
|
|
@@ -12081,8 +12080,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
12081
12080
|
}] });
|
|
12082
12081
|
|
|
12083
12082
|
class StaticDataModule {
|
|
12084
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12085
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
12083
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12084
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: StaticDataModule, declarations: [StaticDataDetailsComponent,
|
|
12086
12085
|
StaticDataListComponent,
|
|
12087
12086
|
StaticDataItemsComponent,
|
|
12088
12087
|
StaticDataListItemsComponent], imports: [CommonModule,
|
|
@@ -12112,7 +12111,7 @@ class StaticDataModule {
|
|
|
12112
12111
|
PanelModule,
|
|
12113
12112
|
MatChipsModule,
|
|
12114
12113
|
MatAutocompleteModule] }); }
|
|
12115
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12114
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataModule, providers: [
|
|
12116
12115
|
AutoFormService,
|
|
12117
12116
|
DialogService,
|
|
12118
12117
|
StaticDataComponentInputData,
|
|
@@ -12143,7 +12142,7 @@ class StaticDataModule {
|
|
|
12143
12142
|
MatChipsModule,
|
|
12144
12143
|
MatAutocompleteModule] }); }
|
|
12145
12144
|
}
|
|
12146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StaticDataModule, decorators: [{
|
|
12147
12146
|
type: NgModule,
|
|
12148
12147
|
args: [{
|
|
12149
12148
|
declarations: [
|
|
@@ -12248,13 +12247,13 @@ class ChipsInputComponent {
|
|
|
12248
12247
|
});
|
|
12249
12248
|
}
|
|
12250
12249
|
}
|
|
12251
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12252
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
12250
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChipsInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12251
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChipsInputComponent, selector: "shared-chips-input", inputs: { title: "title", items: "items", selectedItems: "selectedItems" }, outputs: { changedList: "changedList", changedText: "changedText" }, viewQueries: [{ propertyName: "itemInput", first: true, predicate: ["itemInput"], descendants: true }, { propertyName: "matAutocomplete", first: true, predicate: ["auto"], descendants: true }], ngImport: i0, template: "<!--\n<mat-form-field class=\"example-chip-list\">\n <mat-label class=\"title\">{{title}}</mat-label>\n <mat-chip-list #chipList aria-label=\"Fruit selection\">\n <mat-chip\n *ngFor=\"let item of selectedItems\"\n [selectable]=\"selectable\"\n [removable]=\"removable\"\n (removed)=\"remove(item)\">\n {{item.title}}\n <mat-icon matChipRemove *ngIf=\"removable\">cancel</mat-icon>\n </mat-chip>\n <input\n #itemInput\n [placeholder]=\"''\"\n [formControl]=\"itemsCtrl\"\n [matAutocomplete]=\"auto\"\n [matChipInputFor]=\"chipList\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n [matChipInputAddOnBlur]=\"addOnBlur\"\n (matChipInputTokenEnd)=\"add($event)\">\n </mat-chip-list>\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selected($event)\">\n <mat-option *ngFor=\"let item of filteredItems | async\" [value]=\"item\">\n {{item.title}}\n </mat-option>\n </mat-autocomplete>\n</mat-form-field>\n-->\n<!--\n<mat-form-field class=\"example-chip-list\">\n <mat-label>Favorite Fruits</mat-label>\n <mat-chip-grid #chipGrid aria-label=\"Fruit selection\">\n <mat-chip-row *ngFor=\"let fruit of fruits\" (removed)=\"remove(fruit)\">\n {{fruit}}\n <button matChipRemove [attr.aria-label]=\"'remove ' + fruit\">\n <mat-icon>cancel</mat-icon>\n </button>\n </mat-chip-row>\n </mat-chip-grid>\n <input placeholder=\"New Fruit...\" #fruitInput [formControl]=\"fruitCtrl\"\n [matChipInputFor]=\"chipGrid\" [matAutocomplete]=\"auto\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n (matChipInputTokenEnd)=\"add($event)\"/>\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selected($event)\">\n <mat-option *ngFor=\"let fruit of filteredFruits | async\" [value]=\"fruit\">\n {{fruit}}\n </mat-option>\n </mat-autocomplete>\n </mat-form-field>\n-->\n", styles: [".example-chip-list{width:100%}.title{color:#0009;font-size:16px}\n"] }); }
|
|
12253
12252
|
}
|
|
12254
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChipsInputComponent, decorators: [{
|
|
12255
12254
|
type: Component,
|
|
12256
12255
|
args: [{ selector: 'shared-chips-input', template: "<!--\n<mat-form-field class=\"example-chip-list\">\n <mat-label class=\"title\">{{title}}</mat-label>\n <mat-chip-list #chipList aria-label=\"Fruit selection\">\n <mat-chip\n *ngFor=\"let item of selectedItems\"\n [selectable]=\"selectable\"\n [removable]=\"removable\"\n (removed)=\"remove(item)\">\n {{item.title}}\n <mat-icon matChipRemove *ngIf=\"removable\">cancel</mat-icon>\n </mat-chip>\n <input\n #itemInput\n [placeholder]=\"''\"\n [formControl]=\"itemsCtrl\"\n [matAutocomplete]=\"auto\"\n [matChipInputFor]=\"chipList\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n [matChipInputAddOnBlur]=\"addOnBlur\"\n (matChipInputTokenEnd)=\"add($event)\">\n </mat-chip-list>\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selected($event)\">\n <mat-option *ngFor=\"let item of filteredItems | async\" [value]=\"item\">\n {{item.title}}\n </mat-option>\n </mat-autocomplete>\n</mat-form-field>\n-->\n<!--\n<mat-form-field class=\"example-chip-list\">\n <mat-label>Favorite Fruits</mat-label>\n <mat-chip-grid #chipGrid aria-label=\"Fruit selection\">\n <mat-chip-row *ngFor=\"let fruit of fruits\" (removed)=\"remove(fruit)\">\n {{fruit}}\n <button matChipRemove [attr.aria-label]=\"'remove ' + fruit\">\n <mat-icon>cancel</mat-icon>\n </button>\n </mat-chip-row>\n </mat-chip-grid>\n <input placeholder=\"New Fruit...\" #fruitInput [formControl]=\"fruitCtrl\"\n [matChipInputFor]=\"chipGrid\" [matAutocomplete]=\"auto\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\"\n (matChipInputTokenEnd)=\"add($event)\"/>\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selected($event)\">\n <mat-option *ngFor=\"let fruit of filteredFruits | async\" [value]=\"fruit\">\n {{fruit}}\n </mat-option>\n </mat-autocomplete>\n </mat-form-field>\n-->\n", styles: [".example-chip-list{width:100%}.title{color:#0009;font-size:16px}\n"] }]
|
|
12257
|
-
}], ctorParameters:
|
|
12256
|
+
}], ctorParameters: () => [], propDecorators: { title: [{
|
|
12258
12257
|
type: Input
|
|
12259
12258
|
}], items: [{
|
|
12260
12259
|
type: Input
|
|
@@ -12272,24 +12271,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
12272
12271
|
args: ['auto', { static: false }]
|
|
12273
12272
|
}] } });
|
|
12274
12273
|
|
|
12274
|
+
// import { MatLegacyChipsModule } from "@angular/material/legacy-chips";
|
|
12275
12275
|
class ChipsInputModule {
|
|
12276
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12277
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
12276
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChipsInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12277
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: ChipsInputModule, declarations: [ChipsInputComponent], imports: [CommonModule,
|
|
12278
12278
|
MatFormFieldModule,
|
|
12279
12279
|
MatChipsModule,
|
|
12280
12280
|
MatAutocompleteModule,
|
|
12281
12281
|
MatIconModule,
|
|
12282
|
-
ReactiveFormsModule,
|
|
12283
|
-
|
|
12284
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChipsInputModule, imports: [CommonModule,
|
|
12282
|
+
ReactiveFormsModule], exports: [ChipsInputComponent] }); }
|
|
12283
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChipsInputModule, imports: [CommonModule,
|
|
12285
12284
|
MatFormFieldModule,
|
|
12286
12285
|
MatChipsModule,
|
|
12287
12286
|
MatAutocompleteModule,
|
|
12288
12287
|
MatIconModule,
|
|
12289
|
-
ReactiveFormsModule
|
|
12290
|
-
MatLegacyChipsModule] }); }
|
|
12288
|
+
ReactiveFormsModule] }); }
|
|
12291
12289
|
}
|
|
12292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChipsInputModule, decorators: [{
|
|
12293
12291
|
type: NgModule,
|
|
12294
12292
|
args: [{
|
|
12295
12293
|
declarations: [ChipsInputComponent],
|
|
@@ -12301,7 +12299,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
12301
12299
|
MatAutocompleteModule,
|
|
12302
12300
|
MatIconModule,
|
|
12303
12301
|
ReactiveFormsModule,
|
|
12304
|
-
MatLegacyChipsModule
|
|
12302
|
+
// MatLegacyChipsModule
|
|
12305
12303
|
]
|
|
12306
12304
|
}]
|
|
12307
12305
|
}] });
|
|
@@ -12313,13 +12311,13 @@ class HeaderComponent {
|
|
|
12313
12311
|
}
|
|
12314
12312
|
ngOnInit() {
|
|
12315
12313
|
}
|
|
12316
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12317
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
12314
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12315
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: HeaderComponent, selector: "shared-header", inputs: { title: "title", subTitle: "subTitle", description: "description", image: "image", small: "small" }, ngImport: i0, template: "<section class=\"home_banner_area\" [ngStyle]=\"{'background-image': image ? ' url(assets/' + image + ')' : '', 'color': '#ff0000'}\">\n <div class=\"banner_inner\" [ngClass]=\"{'dark-bg': image}\">\n <div class=\"container\">\n <div class=\"row\">\n <div class=\"col-lg-3 text-right\">\n <div class=\"home_left_img mb-14\">\n <img class=\"img-fluid\" src=\"assets/images/banner/logo.png\" [alt]=\"title\">\n </div>\n </div>\n <div class=\"col-lg-9\" style=\"margin-top: 45px\">\n <div class=\"banner_content\">\n <div *ngIf=\"subTitle\" class=\"sub-title\">{{subTitle}}</div>\n <h1>\n {{title}}\n </h1>\n <p class=\"description\" *ngIf=\"description\">\n {{description}}\n </p>\n </div>\n </div>\n </div>\n </div>\n </div>\n</section>\n", styles: [".description{height:83px;overflow:hidden;line-height:20px;font-size:14px}.dark-bg{background-color:#0000008c}.mb-14{margin-bottom:14px}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] }); }
|
|
12318
12316
|
}
|
|
12319
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
12320
12318
|
type: Component,
|
|
12321
12319
|
args: [{ selector: 'shared-header', template: "<section class=\"home_banner_area\" [ngStyle]=\"{'background-image': image ? ' url(assets/' + image + ')' : '', 'color': '#ff0000'}\">\n <div class=\"banner_inner\" [ngClass]=\"{'dark-bg': image}\">\n <div class=\"container\">\n <div class=\"row\">\n <div class=\"col-lg-3 text-right\">\n <div class=\"home_left_img mb-14\">\n <img class=\"img-fluid\" src=\"assets/images/banner/logo.png\" [alt]=\"title\">\n </div>\n </div>\n <div class=\"col-lg-9\" style=\"margin-top: 45px\">\n <div class=\"banner_content\">\n <div *ngIf=\"subTitle\" class=\"sub-title\">{{subTitle}}</div>\n <h1>\n {{title}}\n </h1>\n <p class=\"description\" *ngIf=\"description\">\n {{description}}\n </p>\n </div>\n </div>\n </div>\n </div>\n </div>\n</section>\n", styles: [".description{height:83px;overflow:hidden;line-height:20px;font-size:14px}.dark-bg{background-color:#0000008c}.mb-14{margin-bottom:14px}\n"] }]
|
|
12322
|
-
}], ctorParameters:
|
|
12320
|
+
}], ctorParameters: () => [], propDecorators: { title: [{
|
|
12323
12321
|
type: Input
|
|
12324
12322
|
}], subTitle: [{
|
|
12325
12323
|
type: Input
|
|
@@ -12332,12 +12330,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
12332
12330
|
}] } });
|
|
12333
12331
|
|
|
12334
12332
|
class HeaderModule {
|
|
12335
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12336
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
12333
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12334
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: HeaderModule, declarations: [HeaderComponent], imports: [CommonModule], exports: [CommonModule,
|
|
12337
12335
|
HeaderComponent] }); }
|
|
12338
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12336
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HeaderModule, imports: [CommonModule, CommonModule] }); }
|
|
12339
12337
|
}
|
|
12340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12338
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HeaderModule, decorators: [{
|
|
12341
12339
|
type: NgModule,
|
|
12342
12340
|
args: [{
|
|
12343
12341
|
declarations: [HeaderComponent],
|
|
@@ -12368,22 +12366,22 @@ class InputTagsComponent {
|
|
|
12368
12366
|
}
|
|
12369
12367
|
changedList(tags) {
|
|
12370
12368
|
}
|
|
12371
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12372
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
12369
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputTagsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12370
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: InputTagsComponent, selector: "shared-input-tags", ngImport: i0, template: "<ng-container *ngIf=\"allTags && allTags.length\">\n <shared-chips-input\n [title]=\"'Tags'\"\n [items]=\"allTags\"\n [selectedItems]=\"tags\"\n (changedText)=\"changedText($event)\"\n (changedList)=\"changedList($event)\"></shared-chips-input>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ChipsInputComponent, selector: "shared-chips-input", inputs: ["title", "items", "selectedItems"], outputs: ["changedList", "changedText"] }] }); }
|
|
12373
12371
|
}
|
|
12374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputTagsComponent, decorators: [{
|
|
12375
12373
|
type: Component,
|
|
12376
12374
|
args: [{ selector: 'shared-input-tags', template: "<ng-container *ngIf=\"allTags && allTags.length\">\n <shared-chips-input\n [title]=\"'Tags'\"\n [items]=\"allTags\"\n [selectedItems]=\"tags\"\n (changedText)=\"changedText($event)\"\n (changedList)=\"changedList($event)\"></shared-chips-input>\n</ng-container>\n" }]
|
|
12377
|
-
}], ctorParameters:
|
|
12375
|
+
}], ctorParameters: () => [] });
|
|
12378
12376
|
|
|
12379
12377
|
class InputTagsModule {
|
|
12380
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12381
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
12378
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputTagsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12379
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: InputTagsModule, declarations: [InputTagsComponent], imports: [CommonModule,
|
|
12382
12380
|
ChipsInputModule], exports: [InputTagsComponent] }); }
|
|
12383
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12381
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputTagsModule, imports: [CommonModule,
|
|
12384
12382
|
ChipsInputModule] }); }
|
|
12385
12383
|
}
|
|
12386
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12384
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: InputTagsModule, decorators: [{
|
|
12387
12385
|
type: NgModule,
|
|
12388
12386
|
args: [{
|
|
12389
12387
|
declarations: [InputTagsComponent],
|
|
@@ -12425,13 +12423,13 @@ class PaginationComponent {
|
|
|
12425
12423
|
}
|
|
12426
12424
|
}
|
|
12427
12425
|
}
|
|
12428
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12429
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
12426
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12427
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: PaginationComponent, selector: "shared-pagination", inputs: { count: "count", perPage: "perPage", page: "page", url: "url" }, usesOnChanges: true, ngImport: i0, template: "<nav aria-label=\"\u041F\u0430\u0433\u0438\u043D\u0430\u0446\u0438\u044F\">\n <ul class=\"pagination\">\n <li *ngFor=\"let pageIndex of pages\" class=\"page-item\">\n <a *ngIf=\"pageIndex !== 0 && page !== pageIndex\" class=\"page-link\" [routerLink]=\"[url]\"\n [queryParams]=\"{p: pageIndex}\">{{pageIndex}}</a>\n <span *ngIf=\"pageIndex === 0\" class=\"page-link\">...</span>\n <span *ngIf=\"page === pageIndex\" class=\"page-link active-page\">{{pageIndex}}</span>\n </li>\n </ul>\n</nav>\n", styles: [".page-link{border:1px solid rgba(222,226,230,.368627451)}.page-link.active-page,.page-link.active-page:hover{background:#1fc6b6;color:#fff!important;-webkit-text-fill-color:white!important}.page-link:hover{background:-webkit-linear-gradient(131deg,#11736a 0%,#1fc6b6 99%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-decoration:none;-webkit-transition:.5s;transition:.5s}.page-item span{color:#666!important;cursor:default}\n"], dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
12430
12428
|
}
|
|
12431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12429
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaginationComponent, decorators: [{
|
|
12432
12430
|
type: Component,
|
|
12433
|
-
args: [{ selector: 'shared-pagination', changeDetection: ChangeDetectionStrategy.OnPush, template: "<nav aria-label=\"\u041F\u0430\u0433\u0438\u043D\u0430\u0446\u0438\u044F\">\n <ul class=\"pagination\">\n <li *ngFor=\"let pageIndex of pages\" class=\"page-item\">\n <a *ngIf=\"pageIndex !== 0 && page !== pageIndex\" class=\"page-link\" [routerLink]=\"[url]\"\n [queryParams]=\"{p: pageIndex}\">{{pageIndex}}</a>\n <span *ngIf=\"pageIndex === 0\" class=\"page-link\">...</span>\n <span *ngIf=\"page === pageIndex\" class=\"page-link active-page\">{{pageIndex}}</span>\n </li>\n </ul>\n</nav>\n", styles: [".page-link{border:1px solid rgba(222,226,230,.368627451)}.page-link.active-page,.page-link.active-page:hover{background:#1fc6b6;color:#fff!important;-webkit-text-fill-color:white!important}.page-link:hover{background:-webkit-linear-gradient(131deg,#11736a 0%,#1fc6b6 99%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-decoration:none;transition:.5s}.page-item span{color:#666!important;cursor:default}\n"] }]
|
|
12434
|
-
}], ctorParameters:
|
|
12431
|
+
args: [{ selector: 'shared-pagination', changeDetection: ChangeDetectionStrategy.OnPush, template: "<nav aria-label=\"\u041F\u0430\u0433\u0438\u043D\u0430\u0446\u0438\u044F\">\n <ul class=\"pagination\">\n <li *ngFor=\"let pageIndex of pages\" class=\"page-item\">\n <a *ngIf=\"pageIndex !== 0 && page !== pageIndex\" class=\"page-link\" [routerLink]=\"[url]\"\n [queryParams]=\"{p: pageIndex}\">{{pageIndex}}</a>\n <span *ngIf=\"pageIndex === 0\" class=\"page-link\">...</span>\n <span *ngIf=\"page === pageIndex\" class=\"page-link active-page\">{{pageIndex}}</span>\n </li>\n </ul>\n</nav>\n", styles: [".page-link{border:1px solid rgba(222,226,230,.368627451)}.page-link.active-page,.page-link.active-page:hover{background:#1fc6b6;color:#fff!important;-webkit-text-fill-color:white!important}.page-link:hover{background:-webkit-linear-gradient(131deg,#11736a 0%,#1fc6b6 99%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-decoration:none;-webkit-transition:.5s;transition:.5s}.page-item span{color:#666!important;cursor:default}\n"] }]
|
|
12432
|
+
}], ctorParameters: () => [], propDecorators: { count: [{
|
|
12435
12433
|
type: Input
|
|
12436
12434
|
}], perPage: [{
|
|
12437
12435
|
type: Input
|
|
@@ -12442,14 +12440,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
12442
12440
|
}] } });
|
|
12443
12441
|
|
|
12444
12442
|
class PaginationModule {
|
|
12445
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12446
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
12443
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12444
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: PaginationModule, declarations: [PaginationComponent], imports: [CommonModule,
|
|
12447
12445
|
RouterModule], exports: [CommonModule,
|
|
12448
12446
|
PaginationComponent] }); }
|
|
12449
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12447
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaginationModule, imports: [CommonModule,
|
|
12450
12448
|
RouterModule, CommonModule] }); }
|
|
12451
12449
|
}
|
|
12452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PaginationModule, decorators: [{
|
|
12453
12451
|
type: NgModule,
|
|
12454
12452
|
args: [{
|
|
12455
12453
|
declarations: [PaginationComponent],
|
|
@@ -12824,7 +12822,7 @@ class StickySidebarDirective {
|
|
|
12824
12822
|
this.affixedType = affixType;
|
|
12825
12823
|
}
|
|
12826
12824
|
_widthBreakpoint() {
|
|
12827
|
-
if (window.innerWidth <= this.options.minWidth) {
|
|
12825
|
+
if (Number(window.innerWidth) <= Number(this.options.minWidth)) {
|
|
12828
12826
|
this._breakpoint = true;
|
|
12829
12827
|
this.affixedType = 'STATIC';
|
|
12830
12828
|
this.renderer.removeAttribute(this.sidebarEl, 'style');
|
|
@@ -12887,15 +12885,15 @@ class StickySidebarDirective {
|
|
|
12887
12885
|
getScrollTop() {
|
|
12888
12886
|
return document.documentElement.scrollTop || document.body.scrollTop || document.documentElement.offsetTop * -1;
|
|
12889
12887
|
}
|
|
12890
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12891
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
12888
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StickySidebarDirective, deps: [{ token: i0.ElementRef }, { token: STICKY_SIDEBAR_OPTIONS, optional: true }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
12889
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: StickySidebarDirective, selector: "[wtStickySidebar]", queries: [{ propertyName: "sidebarInner", first: true, predicate: i0.forwardRef(() => StickySidebarInnerDirective), descendants: true, read: ElementRef, static: true }], ngImport: i0 }); }
|
|
12892
12890
|
}
|
|
12893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12891
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StickySidebarDirective, decorators: [{
|
|
12894
12892
|
type: Directive,
|
|
12895
12893
|
args: [{
|
|
12896
12894
|
selector: '[wtStickySidebar]'
|
|
12897
12895
|
}]
|
|
12898
|
-
}], ctorParameters:
|
|
12896
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
12899
12897
|
type: Optional
|
|
12900
12898
|
}, {
|
|
12901
12899
|
type: Inject,
|
|
@@ -12903,22 +12901,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
12903
12901
|
}] }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1$6.Platform, decorators: [{
|
|
12904
12902
|
type: Inject,
|
|
12905
12903
|
args: [PLATFORM_ID]
|
|
12906
|
-
}] }]
|
|
12904
|
+
}] }], propDecorators: { sidebarInner: [{
|
|
12907
12905
|
type: ContentChild,
|
|
12908
12906
|
args: [forwardRef(() => StickySidebarInnerDirective), { static: true, read: ElementRef }]
|
|
12909
12907
|
}] } });
|
|
12910
12908
|
class StickySidebarInnerDirective {
|
|
12911
12909
|
constructor() {
|
|
12912
12910
|
}
|
|
12913
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12914
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
12911
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StickySidebarInnerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
12912
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: StickySidebarInnerDirective, selector: "[wtStickySidebarInner]", ngImport: i0 }); }
|
|
12915
12913
|
}
|
|
12916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12914
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StickySidebarInnerDirective, decorators: [{
|
|
12917
12915
|
type: Directive,
|
|
12918
12916
|
args: [{
|
|
12919
12917
|
selector: '[wtStickySidebarInner]'
|
|
12920
12918
|
}]
|
|
12921
|
-
}], ctorParameters:
|
|
12919
|
+
}], ctorParameters: () => [] });
|
|
12922
12920
|
|
|
12923
12921
|
class StickySidebarModule {
|
|
12924
12922
|
static withOptions(options) {
|
|
@@ -12932,11 +12930,11 @@ class StickySidebarModule {
|
|
|
12932
12930
|
]
|
|
12933
12931
|
};
|
|
12934
12932
|
}
|
|
12935
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12936
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
12937
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12933
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StickySidebarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12934
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: StickySidebarModule, declarations: [StickySidebarDirective, StickySidebarInnerDirective], imports: [CommonModule], exports: [StickySidebarDirective, StickySidebarInnerDirective] }); }
|
|
12935
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StickySidebarModule, imports: [CommonModule] }); }
|
|
12938
12936
|
}
|
|
12939
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12937
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StickySidebarModule, decorators: [{
|
|
12940
12938
|
type: NgModule,
|
|
12941
12939
|
args: [{
|
|
12942
12940
|
declarations: [StickySidebarDirective, StickySidebarInnerDirective],
|
|
@@ -12965,24 +12963,24 @@ class TagCloudComponent {
|
|
|
12965
12963
|
}
|
|
12966
12964
|
ngOnDestroy() {
|
|
12967
12965
|
}
|
|
12968
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12969
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
12966
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TagCloudComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12967
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TagCloudComponent, selector: "shared-tag-cloud", ngImport: i0, template: "<ng-container *ngIf=\"getTags$ | async; let tags;\">\n<aside *ngIf=\"loaded\" class=\"single-sidebar-widget tag_cloud_widget\">\n <h4 class=\"widget_title\">\u0422\u0435\u0433\u0438</h4>\n <ul class=\"tag-list list\">\n <li *ngFor=\"let tag of tags; trackBy: trackByFn\"><a [routerLink]=\"['/tag/' + tag.slug + '.html']\">{{tag.name}}</a></li>\n </ul>\n</aside>\n</ng-container>\n<shared-spinner *ngIf=\"!loaded\" [diameter]=\"30\"></shared-spinner>\n", styles: [".tag-list li:nth-child(3n) a{margin-right:0!important}\n"], dependencies: [{ kind: "directive", type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
12970
12968
|
}
|
|
12971
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12969
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TagCloudComponent, decorators: [{
|
|
12972
12970
|
type: Component,
|
|
12973
12971
|
args: [{ selector: 'shared-tag-cloud', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"getTags$ | async; let tags;\">\n<aside *ngIf=\"loaded\" class=\"single-sidebar-widget tag_cloud_widget\">\n <h4 class=\"widget_title\">\u0422\u0435\u0433\u0438</h4>\n <ul class=\"tag-list list\">\n <li *ngFor=\"let tag of tags; trackBy: trackByFn\"><a [routerLink]=\"['/tag/' + tag.slug + '.html']\">{{tag.name}}</a></li>\n </ul>\n</aside>\n</ng-container>\n<shared-spinner *ngIf=\"!loaded\" [diameter]=\"30\"></shared-spinner>\n", styles: [".tag-list li:nth-child(3n) a{margin-right:0!important}\n"] }]
|
|
12974
|
-
}], ctorParameters:
|
|
12972
|
+
}], ctorParameters: () => [] });
|
|
12975
12973
|
|
|
12976
12974
|
class TagCloudModule {
|
|
12977
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12978
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
12975
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TagCloudModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12976
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: TagCloudModule, declarations: [TagCloudComponent], imports: [CommonModule,
|
|
12979
12977
|
SharedSpinnerModule,
|
|
12980
12978
|
RouterModule], exports: [TagCloudComponent] }); }
|
|
12981
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12979
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TagCloudModule, imports: [CommonModule,
|
|
12982
12980
|
SharedSpinnerModule,
|
|
12983
12981
|
RouterModule] }); }
|
|
12984
12982
|
}
|
|
12985
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12983
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TagCloudModule, decorators: [{
|
|
12986
12984
|
type: NgModule,
|
|
12987
12985
|
args: [{
|
|
12988
12986
|
declarations: [TagCloudComponent],
|
|
@@ -13015,15 +13013,15 @@ class SafePipe {
|
|
|
13015
13013
|
throw new Error(`Invalid safe type specified: ${type}`);
|
|
13016
13014
|
}
|
|
13017
13015
|
}
|
|
13018
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13019
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
13016
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SafePipe, deps: [{ token: i1$5.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
13017
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: SafePipe, name: "safe" }); }
|
|
13020
13018
|
}
|
|
13021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SafePipe, decorators: [{
|
|
13022
13020
|
type: Pipe,
|
|
13023
13021
|
args: [{
|
|
13024
13022
|
name: 'safe'
|
|
13025
13023
|
}]
|
|
13026
|
-
}], ctorParameters:
|
|
13024
|
+
}], ctorParameters: () => [{ type: i1$5.DomSanitizer }] });
|
|
13027
13025
|
|
|
13028
13026
|
class TextWithLinkMoreComponent {
|
|
13029
13027
|
constructor() {
|
|
@@ -13045,13 +13043,13 @@ class TextWithLinkMoreComponent {
|
|
|
13045
13043
|
toggle(textBlock) {
|
|
13046
13044
|
textBlock.classList.toggle('open');
|
|
13047
13045
|
}
|
|
13048
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13049
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
13046
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TextWithLinkMoreComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13047
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TextWithLinkMoreComponent, selector: "shared-text-with-link-more", inputs: { text: "text", height: "height" }, ngImport: i0, template: "<div class=\"text-block\" #textBlock>\n <div class=\"text-block-inner\" [innerHTML]=\"text | safe : 'html'\"></div>\n <div class=\"text-right open-text\">\n <a (click)=\"toggle(textBlock)\">\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435</a>\n </div>\n <div class=\"text-right close-text\">\n <a (click)=\"toggle(textBlock)\">\u0417\u0430\u043A\u0440\u044B\u0442\u044C</a>\n </div>\n</div>\n", styles: [".text-block .text-block-inner{overflow:hidden;position:relative;height:200px;transition:height .3s linear 0s}.text-block .text-block-inner:after{content:\"\";text-align:right;position:absolute;bottom:0;right:0;left:0;height:50px;background:linear-gradient(to bottom,#fff0,#fff);pointer-events:none}.text-block .open-text{display:block}.text-block .close-text{display:none}.text-block.open .text-block-inner{height:auto}.text-block.open .text-block-inner:after{background:transparent}.text-block.open .open-text{display:none}.text-block.open .close-text{display:block}.text-right a{cursor:pointer;color:#007bff;font-size:14px}\n"], dependencies: [{ kind: "pipe", type: SafePipe, name: "safe" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
13050
13048
|
}
|
|
13051
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13049
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TextWithLinkMoreComponent, decorators: [{
|
|
13052
13050
|
type: Component,
|
|
13053
13051
|
args: [{ selector: 'shared-text-with-link-more', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"text-block\" #textBlock>\n <div class=\"text-block-inner\" [innerHTML]=\"text | safe : 'html'\"></div>\n <div class=\"text-right open-text\">\n <a (click)=\"toggle(textBlock)\">\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435</a>\n </div>\n <div class=\"text-right close-text\">\n <a (click)=\"toggle(textBlock)\">\u0417\u0430\u043A\u0440\u044B\u0442\u044C</a>\n </div>\n</div>\n", styles: [".text-block .text-block-inner{overflow:hidden;position:relative;height:200px;transition:height .3s linear 0s}.text-block .text-block-inner:after{content:\"\";text-align:right;position:absolute;bottom:0;right:0;left:0;height:50px;background:linear-gradient(to bottom,#fff0,#fff);pointer-events:none}.text-block .open-text{display:block}.text-block .close-text{display:none}.text-block.open .text-block-inner{height:auto}.text-block.open .text-block-inner:after{background:transparent}.text-block.open .open-text{display:none}.text-block.open .close-text{display:block}.text-right a{cursor:pointer;color:#007bff;font-size:14px}\n"] }]
|
|
13054
|
-
}], ctorParameters:
|
|
13052
|
+
}], ctorParameters: () => [], propDecorators: { text: [{
|
|
13055
13053
|
type: Input
|
|
13056
13054
|
}], height: [{
|
|
13057
13055
|
type: Input
|
|
@@ -13078,10 +13076,10 @@ class CountFormatPipe {
|
|
|
13078
13076
|
}
|
|
13079
13077
|
return 0;
|
|
13080
13078
|
}
|
|
13081
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13082
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
13079
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CountFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
13080
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: CountFormatPipe, name: "countFormatPipe" }); }
|
|
13083
13081
|
}
|
|
13084
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13082
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CountFormatPipe, decorators: [{
|
|
13085
13083
|
type: Pipe,
|
|
13086
13084
|
args: [{
|
|
13087
13085
|
name: 'countFormatPipe'
|
|
@@ -13095,10 +13093,10 @@ class DateFormatPipe {
|
|
|
13095
13093
|
}
|
|
13096
13094
|
return null;
|
|
13097
13095
|
}
|
|
13098
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13099
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
13096
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DateFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
13097
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DateFormatPipe, name: "dateFormatPipe" }); }
|
|
13100
13098
|
}
|
|
13101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DateFormatPipe, decorators: [{
|
|
13102
13100
|
type: Pipe,
|
|
13103
13101
|
args: [{
|
|
13104
13102
|
name: 'dateFormatPipe'
|
|
@@ -13120,10 +13118,10 @@ class PhonePipe {
|
|
|
13120
13118
|
*/
|
|
13121
13119
|
return `+${number[0]}${number[1]}${number[2]} ${number[3]}${number[4]} ${number[5]}${number[6]}${number[7]}-${number[8]}${number[9]}-${number[10]}${number[11]}`;
|
|
13122
13120
|
}
|
|
13123
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13124
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
13121
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PhonePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
13122
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: PhonePipe, name: "phoneFormat" }); }
|
|
13125
13123
|
}
|
|
13126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PhonePipe, decorators: [{
|
|
13127
13125
|
type: Pipe,
|
|
13128
13126
|
args: [{
|
|
13129
13127
|
name: 'phoneFormat'
|
|
@@ -13131,17 +13129,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
13131
13129
|
}] });
|
|
13132
13130
|
|
|
13133
13131
|
class PipesModule {
|
|
13134
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13135
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
13132
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
13133
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: PipesModule, declarations: [SafePipe,
|
|
13136
13134
|
CountFormatPipe,
|
|
13137
13135
|
DateFormatPipe,
|
|
13138
13136
|
PhonePipe], imports: [CommonModule], exports: [SafePipe,
|
|
13139
13137
|
CountFormatPipe,
|
|
13140
13138
|
DateFormatPipe,
|
|
13141
13139
|
PhonePipe] }); }
|
|
13142
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
13140
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PipesModule, imports: [CommonModule] }); }
|
|
13143
13141
|
}
|
|
13144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PipesModule, decorators: [{
|
|
13145
13143
|
type: NgModule,
|
|
13146
13144
|
args: [{
|
|
13147
13145
|
declarations: [
|
|
@@ -13163,13 +13161,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
13163
13161
|
}] });
|
|
13164
13162
|
|
|
13165
13163
|
class TextWithLinkMoreModule {
|
|
13166
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13167
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
13164
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TextWithLinkMoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
13165
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: TextWithLinkMoreModule, declarations: [TextWithLinkMoreComponent], imports: [CommonModule,
|
|
13168
13166
|
PipesModule], exports: [TextWithLinkMoreComponent] }); }
|
|
13169
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
13167
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TextWithLinkMoreModule, imports: [CommonModule,
|
|
13170
13168
|
PipesModule] }); }
|
|
13171
13169
|
}
|
|
13172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TextWithLinkMoreModule, decorators: [{
|
|
13173
13171
|
type: NgModule,
|
|
13174
13172
|
args: [{
|
|
13175
13173
|
declarations: [TextWithLinkMoreComponent],
|
|
@@ -13417,12 +13415,12 @@ class HeadersInterceptor {
|
|
|
13417
13415
|
sendForbiddenError() {
|
|
13418
13416
|
this.notificationsFacade.showForbiddenError();
|
|
13419
13417
|
}
|
|
13420
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13421
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
13418
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HeadersInterceptor, deps: [{ token: AuthenticationService }, { token: RouterFacade }, { token: UsersFacade }, { token: FormErrorsFacade }, { token: FormsFacade }, { token: FilesFacade }, { token: PublicationMessagesFacade }, { token: RequestsFacade }, { token: NotificationsFacade }, { token: StaticDataFacade }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13419
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HeadersInterceptor }); }
|
|
13422
13420
|
}
|
|
13423
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HeadersInterceptor, decorators: [{
|
|
13424
13422
|
type: Injectable
|
|
13425
|
-
}], ctorParameters:
|
|
13423
|
+
}], ctorParameters: () => [{ type: AuthenticationService }, { type: RouterFacade }, { type: UsersFacade }, { type: FormErrorsFacade }, { type: FormsFacade }, { type: FilesFacade }, { type: PublicationMessagesFacade }, { type: RequestsFacade }, { type: NotificationsFacade }, { type: StaticDataFacade }] });
|
|
13426
13424
|
|
|
13427
13425
|
class JwtInterceptor {
|
|
13428
13426
|
constructor(authenticationService) {
|
|
@@ -13440,12 +13438,12 @@ class JwtInterceptor {
|
|
|
13440
13438
|
}
|
|
13441
13439
|
return next.handle(request);
|
|
13442
13440
|
}
|
|
13443
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13444
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
13441
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: JwtInterceptor, deps: [{ token: AuthenticationService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
13442
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: JwtInterceptor }); }
|
|
13445
13443
|
}
|
|
13446
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: JwtInterceptor, decorators: [{
|
|
13447
13445
|
type: Injectable
|
|
13448
|
-
}], ctorParameters:
|
|
13446
|
+
}], ctorParameters: () => [{ type: AuthenticationService }] });
|
|
13449
13447
|
|
|
13450
13448
|
/*
|
|
13451
13449
|
* Public API Surface of wt-front-shared
|