wt-front-shared 1.0.66 → 1.0.69

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.
@@ -1,6 +1,6 @@
1
- import { Injector, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
1
+ import { ChangeDetectorRef, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
3
- import { Observable, Subject } from 'rxjs';
3
+ import { Observable, Subject, Subscription } from 'rxjs';
4
4
  import { ActivatedRoute, Router } from '@angular/router';
5
5
  import { MatDialog } from '@angular/material/dialog';
6
6
  import { IFormField } from '../../../auto-form/interfaces/form-field';
@@ -37,6 +37,7 @@ export declare class StaticDataDetailsComponent implements OnInit, OnDestroy, On
37
37
  private publicationMessagesFacade;
38
38
  private actionsFacade;
39
39
  private injector;
40
+ private cd;
40
41
  form: UntypedFormGroup;
41
42
  formId: string;
42
43
  fields: IFormField[];
@@ -80,6 +81,7 @@ export declare class StaticDataDetailsComponent implements OnInit, OnDestroy, On
80
81
  status$: Observable<{
81
82
  value: string;
82
83
  }>;
84
+ formStatus: string;
83
85
  statusType: typeof StaticDataMetaStatus;
84
86
  userRights$: Observable<{
85
87
  [key: string]: boolean;
@@ -108,11 +110,13 @@ export declare class StaticDataDetailsComponent implements OnInit, OnDestroy, On
108
110
  publishInTelegramActionId: number;
109
111
  staticDataConfiguration: StaticDataSections;
110
112
  componentDataInjector: Injector;
111
- constructor(fb: UntypedFormBuilder, router: Router, route: ActivatedRoute, autoFormService: AutoFormService, routerFacade: RouterFacade, formErrors: FormErrorsFacade, formsFacade: FormsFacade, requestsFacade: RequestsFacade, staticDataFacade: StaticDataFacade, rightService: RightService, dialog: MatDialog, notificationsFacade: NotificationsFacade, coreFacade: CoreFacade, publicationMessagesFacade: PublicationMessagesFacade, actionsFacade: ActionsFacade, injector: Injector);
113
+ subscriptionToRequestStatus$: Subscription;
114
+ constructor(fb: UntypedFormBuilder, router: Router, route: ActivatedRoute, autoFormService: AutoFormService, routerFacade: RouterFacade, formErrors: FormErrorsFacade, formsFacade: FormsFacade, requestsFacade: RequestsFacade, staticDataFacade: StaticDataFacade, rightService: RightService, dialog: MatDialog, notificationsFacade: NotificationsFacade, coreFacade: CoreFacade, publicationMessagesFacade: PublicationMessagesFacade, actionsFacade: ActionsFacade, injector: Injector, cd: ChangeDetectorRef);
112
115
  ngOnInit(): void;
113
116
  ngOnChanges(changes: SimpleChanges): void;
114
117
  ngOnDestroy(): void;
115
118
  publishInTelegram(): void;
119
+ private subscribeToRequestStatusStatus;
116
120
  private getUrlExtras;
117
121
  formCompleted(data: {
118
122
  newId: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wt-front-shared",
3
- "version": "1.0.66",
3
+ "version": "1.0.69",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"