wt-front-shared 1.0.14 → 1.0.16

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.
Files changed (57) hide show
  1. package/esm2020/lib/core/components/auto-form/components/form-field-file/form-field-file.component.mjs +5 -10
  2. package/esm2020/lib/core/components/auto-form/components/form-field-files/form-field-files.component.mjs +5 -10
  3. package/esm2020/lib/core/components/auto-form/containers/auto-form-show-field/auto-form-show-field.component.mjs +5 -10
  4. package/esm2020/lib/core/components/auto-form/containers/form-field/form-field.component.mjs +13 -14
  5. package/esm2020/lib/core/components/files-upload/table-files-uploading/table-files-uploading.component.mjs +7 -12
  6. package/esm2020/lib/core/services/actions/actions.service.mjs +8 -11
  7. package/esm2020/lib/core/services/cache-data/cache-data.service.mjs +8 -11
  8. package/esm2020/lib/core/services/files/files.service.mjs +8 -11
  9. package/esm2020/lib/core/services/form-delete-file/form-delete-file.service.mjs +8 -11
  10. package/esm2020/lib/core/services/form-validation/form-validation.service.mjs +8 -11
  11. package/esm2020/lib/core/services/model-services/tags/tags.service.mjs +8 -11
  12. package/esm2020/lib/core/services/publish/publish.service.mjs +8 -11
  13. package/esm2020/lib/core/services/reports/reports.service.mjs +8 -11
  14. package/esm2020/lib/core/services/static-data/static-data.service.mjs +8 -11
  15. package/esm2020/lib/core/services/users/users.service.mjs +8 -11
  16. package/esm2020/lib/core/tokens/index.mjs +3 -3
  17. package/esm2020/lib/wt-front-shared.module.mjs +10 -1
  18. package/fesm2015/wt-front-shared.mjs +96 -153
  19. package/fesm2015/wt-front-shared.mjs.map +1 -1
  20. package/fesm2020/wt-front-shared.mjs +96 -123
  21. package/fesm2020/wt-front-shared.mjs.map +1 -1
  22. package/lib/core/components/auto-form/components/form-field-file/form-field-file.component.d.ts +1 -3
  23. package/lib/core/components/auto-form/components/form-field-files/form-field-files.component.d.ts +1 -3
  24. package/lib/core/components/auto-form/containers/auto-form-show-field/auto-form-show-field.component.d.ts +1 -3
  25. package/lib/core/components/auto-form/containers/form-field/form-field.component.d.ts +1 -3
  26. package/lib/core/components/files-upload/table-files-uploading/table-files-uploading.component.d.ts +1 -3
  27. package/lib/core/services/actions/actions.service.d.ts +2 -3
  28. package/lib/core/services/cache-data/cache-data.service.d.ts +2 -3
  29. package/lib/core/services/files/files.service.d.ts +1 -3
  30. package/lib/core/services/form-delete-file/form-delete-file.service.d.ts +2 -3
  31. package/lib/core/services/form-validation/form-validation.service.d.ts +2 -3
  32. package/lib/core/services/model-services/tags/tags.service.d.ts +1 -3
  33. package/lib/core/services/publish/publish.service.d.ts +2 -3
  34. package/lib/core/services/reports/reports.service.d.ts +2 -3
  35. package/lib/core/services/static-data/static-data.service.d.ts +2 -3
  36. package/lib/core/services/users/users.service.d.ts +1 -3
  37. package/lib/core/tokens/index.d.ts +0 -2
  38. package/lib/wt-front-shared.module.d.ts +2 -1
  39. package/package.json +1 -1
  40. package/esm2020/lib/core/services/social/providers/base-login-provider.mjs +0 -29
  41. package/esm2020/lib/core/services/social/providers/fb-login-provider.mjs +0 -107
  42. package/esm2020/lib/core/services/social/providers/index.mjs +0 -4
  43. package/esm2020/lib/core/services/social/providers/login-provider.mjs +0 -2
  44. package/esm2020/lib/core/services/social/social-auth-service-config.mjs +0 -10
  45. package/esm2020/lib/models/social/fb-login-options.mjs +0 -2
  46. package/esm2020/lib/models/social/index.mjs +0 -2
  47. package/esm2020/lib/models/social/login-options.mjs +0 -2
  48. package/esm2020/lib/models/social/social-user.mjs +0 -2
  49. package/lib/core/services/social/providers/base-login-provider.d.ts +0 -13
  50. package/lib/core/services/social/providers/fb-login-provider.d.ts +0 -1
  51. package/lib/core/services/social/providers/index.d.ts +0 -3
  52. package/lib/core/services/social/providers/login-provider.d.ts +0 -7
  53. package/lib/core/services/social/social-auth-service-config.d.ts +0 -9
  54. package/lib/models/social/fb-login-options.d.ts +0 -11
  55. package/lib/models/social/index.d.ts +0 -3
  56. package/lib/models/social/login-options.d.ts +0 -2
  57. package/lib/models/social/social-user.d.ts +0 -12
@@ -64,8 +64,8 @@ import * as moment from 'moment';
64
64
  import * as i3$3 from 'ngx-toastr';
65
65
  import { switchMap as switchMap$1 } from 'rxjs/internal/operators/switchMap';
66
66
 
67
- const CORE_CONFIG = new InjectionToken('CORE_CONFIG');
68
- const AUTH_SERVICE_CONFIG = new InjectionToken('AUTH_SERVICE_CONFIG');
67
+ const CORE_CONFIG = new InjectionToken('SHARED_CORE_CONFIG');
68
+ // export const AUTH_SERVICE_CONFIG: InjectionToken<SocialAuthServiceConfig> = new InjectionToken<SocialAuthServiceConfig>('AUTH_SERVICE_CONFIG');
69
69
 
70
70
  class WtFrontSharedModule {
71
71
  static forRoot(configuration) {
@@ -77,6 +77,15 @@ class WtFrontSharedModule {
77
77
  ]
78
78
  };
79
79
  }
80
+ static forChild(configuration) {
81
+ console.log(configuration);
82
+ return {
83
+ ngModule: WtFrontSharedModule,
84
+ providers: [
85
+ { provide: CORE_CONFIG, useValue: configuration }
86
+ ]
87
+ };
88
+ }
80
89
  }
81
90
  WtFrontSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: WtFrontSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
82
91
  WtFrontSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: WtFrontSharedModule });
@@ -2194,13 +2203,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
2194
2203
  }], ctorParameters: function () { return [{ type: i1$1.Store }]; } });
2195
2204
 
2196
2205
  class StaticDataService extends BaseAPIService {
2197
- constructor(httpClient, config, requestsFacade, formsFacade) {
2206
+ constructor(httpClient,
2207
+ /*@Inject(CORE_CONFIG) private config: AppConfig,*/
2208
+ requestsFacade, formsFacade) {
2198
2209
  super(httpClient, requestsFacade, formsFacade);
2199
2210
  this.httpClient = httpClient;
2200
- this.config = config;
2201
2211
  this.requestsFacade = requestsFacade;
2202
2212
  this.formsFacade = formsFacade;
2203
- this.api = new StaticDataApi(this.config.apiUrl);
2213
+ this.api = new StaticDataApi('http://localhost:3000'); //this.config.apiUrl);
2204
2214
  }
2205
2215
  getList(config) {
2206
2216
  return this.doRequest(config, StaticDataEndpointTypes.GET_LIST);
@@ -2224,19 +2234,14 @@ class StaticDataService extends BaseAPIService {
2224
2234
  return this.doRequest(config, StaticDataEndpointTypes.UPDATE);
2225
2235
  }
2226
2236
  }
2227
- StaticDataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StaticDataService, deps: [{ token: i1$4.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
2237
+ StaticDataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StaticDataService, deps: [{ token: i1$4.HttpClient }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
2228
2238
  StaticDataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StaticDataService, providedIn: 'root' });
2229
2239
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StaticDataService, decorators: [{
2230
2240
  type: Injectable,
2231
2241
  args: [{
2232
2242
  providedIn: 'root'
2233
2243
  }]
2234
- }], ctorParameters: function () {
2235
- return [{ type: i1$4.HttpClient }, { type: undefined, decorators: [{
2236
- type: Inject,
2237
- args: [CORE_CONFIG]
2238
- }] }, { type: RequestsFacade }, { type: FormsFacade }];
2239
- } });
2244
+ }], ctorParameters: function () { return [{ type: i1$4.HttpClient }, { type: RequestsFacade }, { type: FormsFacade }]; } });
2240
2245
 
2241
2246
  class FormFieldErrorComponent {
2242
2247
  constructor(baseAutoFormService) {
@@ -2577,12 +2582,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
2577
2582
  }] } });
2578
2583
 
2579
2584
  class FormFieldFileComponent {
2580
- constructor(cd, dialogService, requestsFacade, formDeleteFileFacade, config) {
2585
+ constructor(cd, dialogService, requestsFacade, formDeleteFileFacade) {
2581
2586
  this.cd = cd;
2582
2587
  this.dialogService = dialogService;
2583
2588
  this.requestsFacade = requestsFacade;
2584
2589
  this.formDeleteFileFacade = formDeleteFileFacade;
2585
- this.config = config;
2586
2590
  this.inputStatus = '1';
2587
2591
  this.formDeleteFile = 'form-delete-file';
2588
2592
  this.putMethod = 'put';
@@ -2672,7 +2676,7 @@ class FormFieldFileComponent {
2672
2676
  this.cd.markForCheck();
2673
2677
  }
2674
2678
  }
2675
- FormFieldFileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldFileComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DialogService }, { token: RequestsFacade }, { token: FormDeleteFileFacade }, { token: CORE_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
2679
+ FormFieldFileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldFileComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DialogService }, { token: RequestsFacade }, { token: FormDeleteFileFacade }], target: i0.ɵɵFactoryTarget.Component });
2676
2680
  FormFieldFileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FormFieldFileComponent, selector: "shared-form-field-file", inputs: { 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\">\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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.MatLabel, selector: "mat-label" }, { kind: "component", type: SpinnerComponent, selector: "shared-spinner", inputs: ["overlay", "diameter", "color", "position"] }, { kind: "component", type: i6$2.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.AsyncPipe, name: "async" }], animations: [
2677
2681
  appearFromLeft,
2678
2682
  trigger('inputAnim', [
@@ -2709,12 +2713,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
2709
2713
  ])
2710
2714
  ])
2711
2715
  ], template: "<div class=\"form-field-file\">\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"] }]
2712
- }], ctorParameters: function () {
2713
- return [{ type: i0.ChangeDetectorRef }, { type: DialogService }, { type: RequestsFacade }, { type: FormDeleteFileFacade }, { type: undefined, decorators: [{
2714
- type: Inject,
2715
- args: [CORE_CONFIG]
2716
- }] }];
2717
- }, propDecorators: { fieldData: [{
2716
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: DialogService }, { type: RequestsFacade }, { type: FormDeleteFileFacade }]; }, propDecorators: { fieldData: [{
2718
2717
  type: Input
2719
2718
  }], form: [{
2720
2719
  type: Input
@@ -3299,13 +3298,14 @@ class FilesApi extends BaseAPI {
3299
3298
  }
3300
3299
 
3301
3300
  class FilesService extends BaseAPIService {
3302
- constructor(httpClient, config, requestsFacade, formsFacade) {
3301
+ constructor(httpClient,
3302
+ /*@Inject(CORE_CONFIG) private config: AppConfig,*/
3303
+ requestsFacade, formsFacade) {
3303
3304
  super(httpClient, requestsFacade, formsFacade);
3304
3305
  this.httpClient = httpClient;
3305
- this.config = config;
3306
3306
  this.requestsFacade = requestsFacade;
3307
3307
  this.formsFacade = formsFacade;
3308
- this.api = new FilesApi(this.config.apiUrl);
3308
+ this.api = new FilesApi('http://localhost:3000'); //this.config.apiUrl);
3309
3309
  }
3310
3310
  filesLoad(config) {
3311
3311
  return this.doRequest(config, FilesEndpointTypes.LOAD);
@@ -3320,19 +3320,14 @@ class FilesService extends BaseAPIService {
3320
3320
  return this.doRequest(config, FilesEndpointTypes.SORT);
3321
3321
  }
3322
3322
  }
3323
- FilesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FilesService, deps: [{ token: i1$4.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
3323
+ FilesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FilesService, deps: [{ token: i1$4.HttpClient }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
3324
3324
  FilesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FilesService, providedIn: 'root' });
3325
3325
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FilesService, decorators: [{
3326
3326
  type: Injectable,
3327
3327
  args: [{
3328
3328
  providedIn: 'root'
3329
3329
  }]
3330
- }], ctorParameters: function () {
3331
- return [{ type: i1$4.HttpClient }, { type: undefined, decorators: [{
3332
- type: Inject,
3333
- args: [CORE_CONFIG]
3334
- }] }, { type: RequestsFacade }, { type: FormsFacade }];
3335
- } });
3330
+ }], ctorParameters: function () { return [{ type: i1$4.HttpClient }, { type: RequestsFacade }, { type: FormsFacade }]; } });
3336
3331
 
3337
3332
  const UiUnitsSet = createAction('[UiUnits] UiUnitsSet', props());
3338
3333
 
@@ -3740,12 +3735,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
3740
3735
  }] } });
3741
3736
 
3742
3737
  class TableFilesUploadingComponent {
3743
- constructor(filesFacade, notificationsFacade, changeDetectorRef, authenticationService, config) {
3738
+ constructor(filesFacade, notificationsFacade, changeDetectorRef, authenticationService) {
3744
3739
  this.filesFacade = filesFacade;
3745
3740
  this.notificationsFacade = notificationsFacade;
3746
3741
  this.changeDetectorRef = changeDetectorRef;
3747
3742
  this.authenticationService = authenticationService;
3748
- this.config = config;
3749
3743
  this.haveElevation = true;
3750
3744
  this.loadingCompleted = new EventEmitter();
3751
3745
  this.hasBaseDropZoneOver = false;
@@ -3765,8 +3759,8 @@ class TableFilesUploadingComponent {
3765
3759
  this.itemsProgress$.complete();
3766
3760
  }
3767
3761
  initUploader() {
3768
- this.publicUrl = this.config.publicUrl;
3769
- const apiUrl = this.config.apiUrl;
3762
+ this.publicUrl = 'http://localhost:4000'; // this.config.publicUrl;
3763
+ const apiUrl = 'http://localhost:3000'; // this.config.apiUrl;
3770
3764
  const { token } = this.authenticationService.loadAuthDataFromLocalStore();
3771
3765
  const uploadUrl = `${apiUrl}/api/files/${this.section}/${this.itemId}`;
3772
3766
  this.url = `${this.publicUrl}/${this.section}/${this.itemId}`;
@@ -3820,7 +3814,7 @@ class TableFilesUploadingComponent {
3820
3814
  });
3821
3815
  }
3822
3816
  }
3823
- TableFilesUploadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableFilesUploadingComponent, deps: [{ token: FilesFacade }, { token: NotificationsFacade }, { token: i0.ChangeDetectorRef }, { token: AuthenticationService }, { token: CORE_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
3817
+ TableFilesUploadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableFilesUploadingComponent, deps: [{ token: FilesFacade }, { token: NotificationsFacade }, { token: i0.ChangeDetectorRef }, { token: AuthenticationService }], target: i0.ɵɵFactoryTarget.Component });
3824
3818
  TableFilesUploadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", 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.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.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$3.FileDropDirective, selector: "[ng2FileDrop]", inputs: ["uploader"], outputs: ["fileOver", "onFileDrop"] }, { kind: "directive", type: i6$3.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.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.DecimalPipe, name: "number" }], animations: [
3825
3819
  hideToTopOpacity,
3826
3820
  appearFromLeftHideToRight
@@ -3831,12 +3825,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
3831
3825
  hideToTopOpacity,
3832
3826
  appearFromLeftHideToRight
3833
3827
  ], 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"] }]
3834
- }], ctorParameters: function () {
3835
- return [{ type: FilesFacade }, { type: NotificationsFacade }, { type: i0.ChangeDetectorRef }, { type: AuthenticationService }, { type: undefined, decorators: [{
3836
- type: Inject,
3837
- args: [CORE_CONFIG]
3838
- }] }];
3839
- }, propDecorators: { section: [{
3828
+ }], ctorParameters: function () { return [{ type: FilesFacade }, { type: NotificationsFacade }, { type: i0.ChangeDetectorRef }, { type: AuthenticationService }]; }, propDecorators: { section: [{
3840
3829
  type: Input
3841
3830
  }], itemId: [{
3842
3831
  type: Input
@@ -3919,9 +3908,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
3919
3908
  }] } });
3920
3909
 
3921
3910
  class FormFieldFilesComponent {
3922
- constructor(cd, config) {
3911
+ constructor(cd) {
3923
3912
  this.cd = cd;
3924
- this.config = config;
3925
3913
  this.unSubscribeSubject$ = new Subject();
3926
3914
  this.inputStatus = '1';
3927
3915
  this.emptyTitle = 'Вы сможете добавить фотографии после сохранения';
@@ -3964,7 +3952,7 @@ class FormFieldFilesComponent {
3964
3952
  return value;
3965
3953
  }
3966
3954
  }
3967
- FormFieldFilesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldFilesComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: CORE_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
3955
+ FormFieldFilesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldFilesComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
3968
3956
  FormFieldFilesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FormFieldFilesComponent, selector: "shared-form-field-files", inputs: { 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\">\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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.MatLabel, selector: "mat-label" }, { kind: "component", type: FilesUploadComponent, selector: "shared-files-upload", inputs: ["section", "itemId", "filesType", "haveElevation"] }], animations: [
3969
3957
  appearFromLeft,
3970
3958
  trigger('inputAnim', [
@@ -4001,12 +3989,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
4001
3989
  ])
4002
3990
  ])
4003
3991
  ], template: "<div class=\"form-field-file\">\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"] }]
4004
- }], ctorParameters: function () {
4005
- return [{ type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
4006
- type: Inject,
4007
- args: [CORE_CONFIG]
4008
- }] }];
4009
- }, propDecorators: { fieldData: [{
3992
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { fieldData: [{
4010
3993
  type: Input
4011
3994
  }], form: [{
4012
3995
  type: Input
@@ -4442,8 +4425,7 @@ class FormFieldComponent {
4442
4425
  var _a;
4443
4426
  return !!((_a = this.fieldPublicationMessages) === null || _a === void 0 ? void 0 : _a.length);
4444
4427
  }
4445
- constructor(config, authenticationService, coreFacade, cd, dialog) {
4446
- this.config = config;
4428
+ constructor(/*@Inject(CORE_CONFIG) private config: AppConfig,*/ authenticationService, coreFacade, cd, dialog) {
4447
4429
  this.authenticationService = authenticationService;
4448
4430
  this.coreFacade = coreFacade;
4449
4431
  this.cd = cd;
@@ -4498,17 +4480,21 @@ class FormFieldComponent {
4498
4480
  var _a;
4499
4481
  const entityId = (_a = this.form.get('id')) === null || _a === void 0 ? void 0 : _a.value;
4500
4482
  const { token } = this.authenticationService.loadAuthDataFromLocalStore();
4483
+ const newConfig = {
4484
+ apiUrl: 'http://localhost:3000',
4485
+ panelUrl: 'http://localhost:4200',
4486
+ };
4501
4487
  this.ckeConfig = {
4502
4488
  extraPlugins: "image,uploadimage,tabletools,undo,indent,justify,showblocks",
4503
4489
  fileTools_requestHeaders: {
4504
4490
  'Authorization': `JWT ${token}`
4505
4491
  },
4506
- imagebrowserUrl: this.entity ? `${this.config.apiUrl}/api/files/browser/${this.entity.toLowerCase()}/${entityId}` : '',
4507
- filebrowserBrowseUrl: this.entity ? `${this.config.panelUrl}/file-browser/${this.entity.toLowerCase()}/${entityId}` : '',
4492
+ imagebrowserUrl: this.entity ? `${newConfig.apiUrl}/api/files/browser/${this.entity.toLowerCase()}/${entityId}` : '',
4493
+ filebrowserBrowseUrl: this.entity ? `${newConfig.panelUrl}/file-browser/${this.entity.toLowerCase()}/${entityId}` : '',
4508
4494
  filebrowserWindowWidth: '905',
4509
4495
  filebrowserWindowHeight: '480',
4510
- filebrowserUploadUrl: this.entity ? `${this.config.apiUrl}/api/files/${this.entity.toLowerCase()}/${entityId}/editor` : '',
4511
- uploadUrl: this.entity ? `${this.config.apiUrl}/api/files/${this.entity.toLowerCase()}/${entityId}/editor` : '',
4496
+ filebrowserUploadUrl: this.entity ? `${newConfig.apiUrl}/api/files/${this.entity.toLowerCase()}/${entityId}/editor` : '',
4497
+ uploadUrl: this.entity ? `${newConfig.apiUrl}/api/files/${this.entity.toLowerCase()}/${entityId}/editor` : '',
4512
4498
  easyimage_toolbar: ['EasyImageAlignLeft', 'EasyImageAlignCenter', 'EasyImageAlignRight'],
4513
4499
  };
4514
4500
  /*
@@ -4527,17 +4513,12 @@ class FormFieldComponent {
4527
4513
  */
4528
4514
  }
4529
4515
  }
4530
- FormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldComponent, deps: [{ token: CORE_CONFIG }, { token: AuthenticationService }, { token: CoreFacade }, { token: i0.ChangeDetectorRef }, { token: i1$3.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
4516
+ FormFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldComponent, deps: [{ token: AuthenticationService }, { token: CoreFacade }, { token: i0.ChangeDetectorRef }, { token: i1$3.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
4531
4517
  FormFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FormFieldComponent, selector: "shared-form-field", inputs: { fieldData: "fieldData", itemId: "itemId", form: "form", editorImageUploadUrl: "editorImageUploadUrl", errorMessageTexts: "errorMessageTexts", entity: "entity", publicationMessages: "publicationMessages", entityTypeUserRoleRights: "entityTypeUserRoleRights" }, outputs: { eventUpdateForm: "eventUpdateForm", eventSendAction: "eventSendAction" }, ngImport: i0, template: "<div *ngIf=\"!fieldData.options.notEditable && !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 }\">\n <ng-container [ngSwitch]=\"fieldData.type\">\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSelect\">\n <shared-form-field-select\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-select>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSlideToggle\">\n <shared-form-field-slide-toggle\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-slide-toggle>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextarea\">\n <div class=\"textarea-field-width\">\n <label\n [id]=\"'field-' + fieldData.field\">{{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}</label>\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 </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 <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 </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFile\">\n <shared-form-field-file\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [entity]=\"entity\"\n ></shared-form-field-file>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFiles\">\n <shared-form-field-files\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-files>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTags\">\n <shared-form-field-tags\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 [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-input>\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=\"fieldData.options.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 [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:rgba(0,156,229,.2588235294)}.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.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.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: ["form", "entity", "errorMessageTexts"] }, { kind: "directive", type: i3$1.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: i6.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: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i6.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i6.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: i6$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i11.CKEditorComponent, selector: "ckeditor", inputs: ["editorUrl", "tagName", "type", "data", "readOnly", "config"], outputs: ["namespaceLoaded", "ready", "dataReady", "change", "dataChange", "dragStart", "dragEnd", "drop", "fileUploadResponse", "fileUploadRequest", "focus", "paste", "afterPaste", "blur"] }, { kind: "component", type: FormFieldSpinnerComponent, selector: "shared-form-field-spinner" }, { kind: "component", type: FormFieldSelectComponent, selector: "shared-form-field-select", inputs: ["fieldData", "form"] }, { kind: "component", type: FormFieldSlideToggleComponent, selector: "shared-form-field-slide-toggle", inputs: ["fieldData", "form"] }, { kind: "component", type: FormFieldInputComponent, selector: "shared-form-field-input", inputs: ["fieldData", "form"] }, { kind: "component", type: FormFieldFileComponent, selector: "shared-form-field-file", inputs: ["fieldData", "form", "entity"] }, { kind: "component", type: FormFieldFilesComponent, selector: "shared-form-field-files", inputs: ["fieldData", "form", "itemId"] }, { kind: "component", type: FormFieldTagsComponent, selector: "shared-form-field-tags", inputs: ["fieldData", "form", "itemId"] }], animations: [appearFromLeft], changeDetection: i0.ChangeDetectionStrategy.OnPush });
4532
4518
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormFieldComponent, decorators: [{
4533
4519
  type: Component,
4534
4520
  args: [{ selector: 'shared-form-field', changeDetection: ChangeDetectionStrategy.OnPush, animations: [appearFromLeft], template: "<div *ngIf=\"!fieldData.options.notEditable && !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 }\">\n <ng-container [ngSwitch]=\"fieldData.type\">\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSelect\">\n <shared-form-field-select\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-select>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeSlideToggle\">\n <shared-form-field-slide-toggle\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-slide-toggle>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTextarea\">\n <div class=\"textarea-field-width\">\n <label\n [id]=\"'field-' + fieldData.field\">{{fieldData.title}}{{fieldData.validators && fieldData.validators.includes('required') ? ' *' : ''}}</label>\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 </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 <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 </div>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFile\">\n <shared-form-field-file\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [entity]=\"entity\"\n ></shared-form-field-file>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeFiles\">\n <shared-form-field-files\n [fieldData]=\"fieldData\"\n [form]=\"form\"\n [itemId]=\"itemId\"\n ></shared-form-field-files>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeTags\">\n <shared-form-field-tags\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 [fieldData]=\"fieldData\"\n [form]=\"form\"\n ></shared-form-field-input>\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=\"fieldData.options.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 [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:rgba(0,156,229,.2588235294)}.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"] }]
4535
- }], ctorParameters: function () {
4536
- return [{ type: undefined, decorators: [{
4537
- type: Inject,
4538
- args: [CORE_CONFIG]
4539
- }] }, { type: AuthenticationService }, { type: CoreFacade }, { type: i0.ChangeDetectorRef }, { type: i1$3.MatDialog }];
4540
- }, propDecorators: { fieldData: [{
4521
+ }], ctorParameters: function () { return [{ type: AuthenticationService }, { type: CoreFacade }, { type: i0.ChangeDetectorRef }, { type: i1$3.MatDialog }]; }, propDecorators: { fieldData: [{
4541
4522
  type: Input
4542
4523
  }], itemId: [{
4543
4524
  type: Input
@@ -5635,8 +5616,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
5635
5616
  }] } });
5636
5617
 
5637
5618
  class AutoFormShowFieldComponent {
5638
- constructor(config) {
5639
- this.config = config;
5619
+ constructor() {
5640
5620
  this.fieldTypes = FieldType;
5641
5621
  this.inputType = InputType.Text;
5642
5622
  }
@@ -5658,17 +5638,12 @@ class AutoFormShowFieldComponent {
5658
5638
  }
5659
5639
  }
5660
5640
  }
5661
- AutoFormShowFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AutoFormShowFieldComponent, deps: [{ token: CORE_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
5641
+ AutoFormShowFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AutoFormShowFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
5662
5642
  AutoFormShowFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: AutoFormShowFieldComponent, selector: "shared-auto-form-show-field", inputs: { fieldData: "fieldData", data: "data", entityId: "entityId", entitySection: "entitySection" }, 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 [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 [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 [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 [fieldData]=\"fieldData\" [value]=\"value\"></shared-form-field-file-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeRating\">\n <shared-star-rating [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.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.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"] }, { kind: "component", type: FormFieldSelectShowComponent, selector: "shared-form-field-select-show", inputs: ["fieldData", "value"] }, { kind: "component", type: FormFieldFileShowComponent, selector: "shared-form-field-file-show", inputs: ["fieldData", "value"] }, { kind: "component", type: FormFieldSlideToggleShowComponent, selector: "shared-form-field-slide-toggle-show", inputs: ["fieldData", "value"] }, { kind: "component", type: FormFieldInputShowComponent, selector: "shared-form-field-input-show", inputs: ["fieldData", "value"] }, { kind: "component", type: FormFieldFilesShowComponent, selector: "shared-form-field-files-show", inputs: ["fieldData", "entityId", "entitySection"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
5663
5643
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AutoFormShowFieldComponent, decorators: [{
5664
5644
  type: Component,
5665
5645
  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 [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 [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 [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 [fieldData]=\"fieldData\" [value]=\"value\"></shared-form-field-file-show>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"fieldTypes.FieldTypeRating\">\n <shared-star-rating [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"] }]
5666
- }], ctorParameters: function () {
5667
- return [{ type: undefined, decorators: [{
5668
- type: Inject,
5669
- args: [CORE_CONFIG]
5670
- }] }];
5671
- }, propDecorators: { fieldData: [{
5646
+ }], ctorParameters: function () { return []; }, propDecorators: { fieldData: [{
5672
5647
  type: Input
5673
5648
  }], data: [{
5674
5649
  type: Input
@@ -7393,13 +7368,14 @@ class UsersApi extends BaseAPI {
7393
7368
  }
7394
7369
 
7395
7370
  class UsersService extends BaseAPIService {
7396
- constructor(httpClient, config, requestsFacade, formsFacade) {
7371
+ constructor(httpClient,
7372
+ /*@Inject(CORE_CONFIG) private config: AppConfig,*/
7373
+ requestsFacade, formsFacade) {
7397
7374
  super(httpClient, requestsFacade, formsFacade);
7398
7375
  this.httpClient = httpClient;
7399
- this.config = config;
7400
7376
  this.requestsFacade = requestsFacade;
7401
7377
  this.formsFacade = formsFacade;
7402
- this.api = new UsersApi(this.config.apiUrl);
7378
+ this.api = new UsersApi('http://localhost:3000'); //this.config.apiUrl);
7403
7379
  }
7404
7380
  loginSend(config) {
7405
7381
  return this.doRequest(config, AuthEndpointTypes.LOGIN_SEND);
@@ -7408,19 +7384,14 @@ class UsersService extends BaseAPIService {
7408
7384
  return this.doRequest(config, AuthEndpointTypes.REFRESH_TOKEN);
7409
7385
  }
7410
7386
  }
7411
- UsersService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersService, deps: [{ token: i1$4.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
7387
+ UsersService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersService, deps: [{ token: i1$4.HttpClient }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
7412
7388
  UsersService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersService, providedIn: 'root' });
7413
7389
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UsersService, decorators: [{
7414
7390
  type: Injectable,
7415
7391
  args: [{
7416
7392
  providedIn: 'root'
7417
7393
  }]
7418
- }], ctorParameters: function () {
7419
- return [{ type: i1$4.HttpClient }, { type: undefined, decorators: [{
7420
- type: Inject,
7421
- args: [CORE_CONFIG]
7422
- }] }, { type: RequestsFacade }, { type: FormsFacade }];
7423
- } });
7394
+ }], ctorParameters: function () { return [{ type: i1$4.HttpClient }, { type: RequestsFacade }, { type: FormsFacade }]; } });
7424
7395
 
7425
7396
  class CustomSerializer {
7426
7397
  serialize(routerState) {
@@ -7626,31 +7597,27 @@ class ActionsApi extends BaseAPI {
7626
7597
  }
7627
7598
 
7628
7599
  class ActionsService extends BaseAPIService {
7629
- constructor(httpClient, config, requestsFacade, formsFacade) {
7600
+ constructor(httpClient,
7601
+ /*@Inject(CORE_CONFIG) private config: AppConfig,*/
7602
+ requestsFacade, formsFacade) {
7630
7603
  super(httpClient, requestsFacade, formsFacade);
7631
7604
  this.httpClient = httpClient;
7632
- this.config = config;
7633
7605
  this.requestsFacade = requestsFacade;
7634
7606
  this.formsFacade = formsFacade;
7635
- this.api = new ActionsApi(this.config.apiUrl);
7607
+ this.api = new ActionsApi('http://localhost:3000'); //this.config.apiUrl);
7636
7608
  }
7637
7609
  sendAction(config) {
7638
7610
  return this.doRequest(config, ActionsEndpointTypes.SEND_ACTION);
7639
7611
  }
7640
7612
  }
7641
- ActionsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ActionsService, deps: [{ token: i1$4.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
7613
+ ActionsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ActionsService, deps: [{ token: i1$4.HttpClient }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
7642
7614
  ActionsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ActionsService, providedIn: 'root' });
7643
7615
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ActionsService, decorators: [{
7644
7616
  type: Injectable,
7645
7617
  args: [{
7646
7618
  providedIn: 'root'
7647
7619
  }]
7648
- }], ctorParameters: function () {
7649
- return [{ type: i1$4.HttpClient }, { type: undefined, decorators: [{
7650
- type: Inject,
7651
- args: [CORE_CONFIG]
7652
- }] }, { type: RequestsFacade }, { type: FormsFacade }];
7653
- } });
7620
+ }], ctorParameters: function () { return [{ type: i1$4.HttpClient }, { type: RequestsFacade }, { type: FormsFacade }]; } });
7654
7621
 
7655
7622
  class UsersEffects {
7656
7623
  constructor(actions$, store, usersService, authenticationService, routerService, actionsService, notificationsFacade) {
@@ -8142,13 +8109,14 @@ class TagsApi extends BaseAPI {
8142
8109
  }
8143
8110
 
8144
8111
  class TagsService extends BaseAPIService {
8145
- constructor(httpClient, config, requestsFacade, formsFacade) {
8112
+ constructor(httpClient,
8113
+ /*@Inject(CORE_CONFIG) private config: AppConfig,*/
8114
+ requestsFacade, formsFacade) {
8146
8115
  super(httpClient, requestsFacade, formsFacade);
8147
8116
  this.httpClient = httpClient;
8148
- this.config = config;
8149
8117
  this.requestsFacade = requestsFacade;
8150
8118
  this.formsFacade = formsFacade;
8151
- this.api = new TagsApi(this.config.apiUrl);
8119
+ this.api = new TagsApi('http://localhost:3000'); //this.config.apiUrl);
8152
8120
  }
8153
8121
  tagsLoad(config) {
8154
8122
  return this.doRequest(config, TagsEndpointTypes.LOAD);
@@ -8157,19 +8125,14 @@ class TagsService extends BaseAPIService {
8157
8125
  return this.doRequest(config, TagsEndpointTypes.ENTITIES);
8158
8126
  }
8159
8127
  }
8160
- TagsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TagsService, deps: [{ token: i1$4.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
8128
+ TagsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TagsService, deps: [{ token: i1$4.HttpClient }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
8161
8129
  TagsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TagsService, providedIn: 'root' });
8162
8130
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TagsService, decorators: [{
8163
8131
  type: Injectable,
8164
8132
  args: [{
8165
8133
  providedIn: 'root'
8166
8134
  }]
8167
- }], ctorParameters: function () {
8168
- return [{ type: i1$4.HttpClient }, { type: undefined, decorators: [{
8169
- type: Inject,
8170
- args: [CORE_CONFIG]
8171
- }] }, { type: RequestsFacade }, { type: FormsFacade }];
8172
- } });
8135
+ }], ctorParameters: function () { return [{ type: i1$4.HttpClient }, { type: RequestsFacade }, { type: FormsFacade }]; } });
8173
8136
 
8174
8137
  class TagsEffects {
8175
8138
  constructor(actions$, store, tagsService, authenticationService) {
@@ -8490,31 +8453,27 @@ class FormValidationApi extends BaseAPI {
8490
8453
  }
8491
8454
 
8492
8455
  class FormValidationService extends BaseAPIService {
8493
- constructor(httpClient, config, requestsFacade, formsFacade) {
8456
+ constructor(httpClient,
8457
+ /*@Inject(CORE_CONFIG) private config: AppConfig,*/
8458
+ requestsFacade, formsFacade) {
8494
8459
  super(httpClient, requestsFacade, formsFacade);
8495
8460
  this.httpClient = httpClient;
8496
- this.config = config;
8497
8461
  this.requestsFacade = requestsFacade;
8498
8462
  this.formsFacade = formsFacade;
8499
- this.api = new FormValidationApi(this.config.apiUrl);
8463
+ this.api = new FormValidationApi('http://localhost:3000'); //this.config.apiUrl);
8500
8464
  }
8501
8465
  formValidationCheck(config) {
8502
8466
  return this.doRequest(config, FormValidationEndpointTypes.CHECK);
8503
8467
  }
8504
8468
  }
8505
- FormValidationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormValidationService, deps: [{ token: i1$4.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
8469
+ FormValidationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormValidationService, deps: [{ token: i1$4.HttpClient }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
8506
8470
  FormValidationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormValidationService, providedIn: 'root' });
8507
8471
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormValidationService, decorators: [{
8508
8472
  type: Injectable,
8509
8473
  args: [{
8510
8474
  providedIn: 'root'
8511
8475
  }]
8512
- }], ctorParameters: function () {
8513
- return [{ type: i1$4.HttpClient }, { type: undefined, decorators: [{
8514
- type: Inject,
8515
- args: [CORE_CONFIG]
8516
- }] }, { type: RequestsFacade }, { type: FormsFacade }];
8517
- } });
8476
+ }], ctorParameters: function () { return [{ type: i1$4.HttpClient }, { type: RequestsFacade }, { type: FormsFacade }]; } });
8518
8477
 
8519
8478
  class FormValidationEffects {
8520
8479
  constructor(actions$, store, formValidationService, authenticationService) {
@@ -8709,31 +8668,27 @@ class FormDeleteFileApi extends BaseAPI {
8709
8668
  }
8710
8669
 
8711
8670
  class FormDeleteFileService extends BaseAPIService {
8712
- constructor(httpClient, config, requestsFacade, formsFacade) {
8671
+ constructor(httpClient,
8672
+ /*@Inject(CORE_CONFIG) private config: AppConfig,*/
8673
+ requestsFacade, formsFacade) {
8713
8674
  super(httpClient, requestsFacade, formsFacade);
8714
8675
  this.httpClient = httpClient;
8715
- this.config = config;
8716
8676
  this.requestsFacade = requestsFacade;
8717
8677
  this.formsFacade = formsFacade;
8718
- this.api = new FormDeleteFileApi(this.config.apiUrl);
8678
+ this.api = new FormDeleteFileApi('http://localhost:3000'); //this.config.apiUrl);
8719
8679
  }
8720
8680
  formDeleteFile(config) {
8721
8681
  return this.doRequest(config, FormDeleteFileBaseEndpointTypes.DELETE);
8722
8682
  }
8723
8683
  }
8724
- FormDeleteFileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormDeleteFileService, deps: [{ token: i1$4.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
8684
+ FormDeleteFileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormDeleteFileService, deps: [{ token: i1$4.HttpClient }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
8725
8685
  FormDeleteFileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormDeleteFileService, providedIn: 'root' });
8726
8686
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FormDeleteFileService, decorators: [{
8727
8687
  type: Injectable,
8728
8688
  args: [{
8729
8689
  providedIn: 'root'
8730
8690
  }]
8731
- }], ctorParameters: function () {
8732
- return [{ type: i1$4.HttpClient }, { type: undefined, decorators: [{
8733
- type: Inject,
8734
- args: [CORE_CONFIG]
8735
- }] }, { type: RequestsFacade }, { type: FormsFacade }];
8736
- } });
8691
+ }], ctorParameters: function () { return [{ type: i1$4.HttpClient }, { type: RequestsFacade }, { type: FormsFacade }]; } });
8737
8692
 
8738
8693
  class FormDeleteFileEffects {
8739
8694
  constructor(actions$, store, formDeleteFileService, authenticationService) {
@@ -8961,13 +8916,14 @@ class PublishApi extends BaseAPI {
8961
8916
  }
8962
8917
 
8963
8918
  class PublishService extends BaseAPIService {
8964
- constructor(httpClient, config, requestsFacade, formsFacade) {
8919
+ constructor(httpClient,
8920
+ /*@Inject(CORE_CONFIG) private config: AppConfig,*/
8921
+ requestsFacade, formsFacade) {
8965
8922
  super(httpClient, requestsFacade, formsFacade);
8966
8923
  this.httpClient = httpClient;
8967
- this.config = config;
8968
8924
  this.requestsFacade = requestsFacade;
8969
8925
  this.formsFacade = formsFacade;
8970
- this.api = new PublishApi(this.config.apiUrl);
8926
+ this.api = new PublishApi('http://localhost:3000'); //this.config.apiUrl);
8971
8927
  }
8972
8928
  publishPost(config) {
8973
8929
  return this.doRequest(config, PublishEndpointTypes.POST);
@@ -8976,19 +8932,14 @@ class PublishService extends BaseAPIService {
8976
8932
  return this.doRequest(config, PublishEndpointTypes.UN_POST);
8977
8933
  }
8978
8934
  }
8979
- PublishService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PublishService, deps: [{ token: i1$4.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
8935
+ PublishService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PublishService, deps: [{ token: i1$4.HttpClient }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
8980
8936
  PublishService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PublishService, providedIn: 'root' });
8981
8937
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PublishService, decorators: [{
8982
8938
  type: Injectable,
8983
8939
  args: [{
8984
8940
  providedIn: 'root'
8985
8941
  }]
8986
- }], ctorParameters: function () {
8987
- return [{ type: i1$4.HttpClient }, { type: undefined, decorators: [{
8988
- type: Inject,
8989
- args: [CORE_CONFIG]
8990
- }] }, { type: RequestsFacade }, { type: FormsFacade }];
8991
- } });
8942
+ }], ctorParameters: function () { return [{ type: i1$4.HttpClient }, { type: RequestsFacade }, { type: FormsFacade }]; } });
8992
8943
 
8993
8944
  class PublicationMessagesEffects {
8994
8945
  constructor(actions$, store, publishService, notificationsFacade) {
@@ -9645,31 +9596,27 @@ class CacheDataApi extends BaseAPI {
9645
9596
  }
9646
9597
 
9647
9598
  class CacheDataService extends BaseAPIService {
9648
- constructor(httpClient, config, requestsFacade, formsFacade) {
9599
+ constructor(httpClient,
9600
+ /*@Inject(CORE_CONFIG) private config: AppConfig,*/
9601
+ requestsFacade, formsFacade) {
9649
9602
  super(httpClient, requestsFacade, formsFacade);
9650
9603
  this.httpClient = httpClient;
9651
- this.config = config;
9652
9604
  this.requestsFacade = requestsFacade;
9653
9605
  this.formsFacade = formsFacade;
9654
- this.api = new CacheDataApi(this.config.apiUrl);
9606
+ this.api = new CacheDataApi(/*this.config.apiUrl*/ 'http://localhost:3000');
9655
9607
  }
9656
9608
  getCacheData(config) {
9657
9609
  return this.doRequest(config, CacheDataEndpointTypes.GET_CACHE_DATA);
9658
9610
  }
9659
9611
  }
9660
- CacheDataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CacheDataService, deps: [{ token: i1$4.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
9612
+ CacheDataService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CacheDataService, deps: [{ token: i1$4.HttpClient }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
9661
9613
  CacheDataService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CacheDataService, providedIn: 'root' });
9662
9614
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CacheDataService, decorators: [{
9663
9615
  type: Injectable,
9664
9616
  args: [{
9665
9617
  providedIn: 'root'
9666
9618
  }]
9667
- }], ctorParameters: function () {
9668
- return [{ type: i1$4.HttpClient }, { type: undefined, decorators: [{
9669
- type: Inject,
9670
- args: [CORE_CONFIG]
9671
- }] }, { type: RequestsFacade }, { type: FormsFacade }];
9672
- } });
9619
+ }], ctorParameters: function () { return [{ type: i1$4.HttpClient }, { type: RequestsFacade }, { type: FormsFacade }]; } });
9673
9620
 
9674
9621
  class CacheDataEffects extends BaseEffects {
9675
9622
  constructor(actions$, store, authenticationService, cacheDataService) {
@@ -9971,13 +9918,14 @@ class ReportsApi extends BaseAPI {
9971
9918
  }
9972
9919
 
9973
9920
  class ReportsService extends BaseAPIService {
9974
- constructor(httpClient, config, requestsFacade, formsFacade) {
9921
+ constructor(httpClient,
9922
+ /*@Inject(CORE_CONFIG) private config: AppConfig,*/
9923
+ requestsFacade, formsFacade) {
9975
9924
  super(httpClient, requestsFacade, formsFacade);
9976
9925
  this.httpClient = httpClient;
9977
- this.config = config;
9978
9926
  this.requestsFacade = requestsFacade;
9979
9927
  this.formsFacade = formsFacade;
9980
- this.api = new ReportsApi(this.config.apiUrl);
9928
+ this.api = new ReportsApi('http://localhost:3000'); //this.config.apiUrl);
9981
9929
  }
9982
9930
  getEntitiesReports(config) {
9983
9931
  return this.doRequest(config, ReportsEndpointTypes.ENTITIES_REPORT);
@@ -9986,19 +9934,14 @@ class ReportsService extends BaseAPIService {
9986
9934
  return this.doRequest(config, ReportsEndpointTypes.USER_BEHAVIOR_REPORT);
9987
9935
  }
9988
9936
  }
9989
- ReportsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ReportsService, deps: [{ token: i1$4.HttpClient }, { token: CORE_CONFIG }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
9937
+ ReportsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ReportsService, deps: [{ token: i1$4.HttpClient }, { token: RequestsFacade }, { token: FormsFacade }], target: i0.ɵɵFactoryTarget.Injectable });
9990
9938
  ReportsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ReportsService, providedIn: 'root' });
9991
9939
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ReportsService, decorators: [{
9992
9940
  type: Injectable,
9993
9941
  args: [{
9994
9942
  providedIn: 'root'
9995
9943
  }]
9996
- }], ctorParameters: function () {
9997
- return [{ type: i1$4.HttpClient }, { type: undefined, decorators: [{
9998
- type: Inject,
9999
- args: [CORE_CONFIG]
10000
- }] }, { type: RequestsFacade }, { type: FormsFacade }];
10001
- } });
9944
+ }], ctorParameters: function () { return [{ type: i1$4.HttpClient }, { type: RequestsFacade }, { type: FormsFacade }]; } });
10002
9945
 
10003
9946
  class ReportsEffects extends BaseEffects {
10004
9947
  constructor(actions$, store, authenticationService, reportsService) {