wt-front-shared 1.0.90 → 1.0.92

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.
@@ -91,6 +91,8 @@ export declare class StaticDataDetailsComponent implements OnInit, OnDestroy, On
91
91
  unPublishStatus: number;
92
92
  putMethod: string;
93
93
  currentItemId: number;
94
+ currentLanguageId: number;
95
+ defaultLanguageId: number;
94
96
  activeTabIndex: number;
95
97
  MESSAGES: {
96
98
  delete: {
@@ -111,6 +113,12 @@ export declare class StaticDataDetailsComponent implements OnInit, OnDestroy, On
111
113
  staticDataConfiguration: StaticDataSections;
112
114
  componentDataInjector: Injector;
113
115
  subscriptionToRequestStatus$: Subscription;
116
+ languageList: {
117
+ id: number;
118
+ name: string;
119
+ slug: string;
120
+ default: boolean;
121
+ }[];
114
122
  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);
115
123
  ngOnInit(): void;
116
124
  ngOnChanges(changes: SimpleChanges): void;
@@ -50,6 +50,7 @@ export interface StaticDataSection {
50
50
  getDetailsURL(data: any): string;
51
51
  };
52
52
  subEntities?: SubEntity[];
53
+ hasMultiLanguage?: boolean;
53
54
  };
54
55
  globalActions?: {
55
56
  title: string;
@@ -18,3 +18,4 @@ export * from './static-data/static-data.service';
18
18
  export * from './storage/storage.service';
19
19
  export * from './users/users.service';
20
20
  export * from './websocket.service';
21
+ export * from './seo.service';
@@ -0,0 +1,11 @@
1
+ import { Title, Meta } from '@angular/platform-browser';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SeoService {
4
+ private titleService;
5
+ private metaService;
6
+ constructor(titleService: Title, metaService: Meta);
7
+ updateTitle(title: string): void;
8
+ updateDescription(description: string): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SeoService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<SeoService>;
11
+ }
@@ -35,7 +35,7 @@ export declare class WebsocketService {
35
35
  storageKey: string;
36
36
  messageTimer: any;
37
37
  isBrowser: boolean;
38
- constructor(config: AppConfig, platformId: Object, staticDataFacade: StaticDataFacade, cookieService: CookieService);
38
+ constructor(config: AppConfig, staticDataFacade: StaticDataFacade, cookieService: CookieService);
39
39
  private connectToWebSocket;
40
40
  private getUserKey;
41
41
  private setUserKey;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wt-front-shared",
3
- "version": "1.0.90",
3
+ "version": "1.0.92",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"