nuxeo-development-framework 5.9.9 → 6.0.0
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/bundles/nuxeo-development-framework.umd.js +74 -23
- package/bundles/nuxeo-development-framework.umd.js.map +1 -1
- package/esm2015/lib/components/dynamic-form/services/vocabulary-api.service.js +32 -0
- package/esm2015/lib/components/notifications/services/notifications.service.js +27 -12
- package/esm2015/lib/core/services/nuxeo/nuxeo.service.js +8 -2
- package/fesm2015/nuxeo-development-framework.js +71 -23
- package/fesm2015/nuxeo-development-framework.js.map +1 -1
- package/lib/components/dynamic-form/services/vocabulary-api.service.d.ts +12 -0
- package/lib/components/notifications/components/notification-source-select/notification-source-select.component.d.ts +1 -1
- package/lib/components/notifications/services/notifications.service.d.ts +4 -2
- package/lib/core/services/nuxeo/nuxeo.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { NuxeoService } from '../../../core/services/nuxeo/nuxeo.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class VocabularyApiService {
|
|
6
|
+
private nuxeoService;
|
|
7
|
+
private translate;
|
|
8
|
+
constructor(nuxeoService: NuxeoService, translate: TranslateService);
|
|
9
|
+
getVocabularyList(listName: any): Observable<any>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VocabularyApiService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VocabularyApiService>;
|
|
12
|
+
}
|
|
@@ -5,7 +5,7 @@ import { BaseNotification } from '../base-notifications.component';
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class NotificationSourceSelectComponent extends BaseNotification {
|
|
7
7
|
protected readonly _translationService: TranslationService;
|
|
8
|
-
sourceTypes$: import("rxjs").Observable<
|
|
8
|
+
sourceTypes$: import("rxjs").Observable<any[]>;
|
|
9
9
|
typeChanged: EventEmitter<string>;
|
|
10
10
|
selectedFilterType: VocabularyType | null;
|
|
11
11
|
readonly direction$: import("rxjs").Observable<"ltr" | "rtl">;
|
|
@@ -5,12 +5,14 @@ import { CallApiService } from '../../../core/services/callApi/call-api.service'
|
|
|
5
5
|
import { NuxeoService } from '../../../core/services/nuxeo/nuxeo.service';
|
|
6
6
|
import { NotificationDefinitionModel, NotificationMessageModel, NotificationModel, NotificationSubscriptionModel, PayloadParamsModel, VocabularyType } from '../models';
|
|
7
7
|
import { SocketService } from './socket.service';
|
|
8
|
+
import { VocabularyApiService } from '../../dynamic-form/services/vocabulary-api.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class NotificationsService extends SocketService {
|
|
10
11
|
protected _environment: Record<string, any>;
|
|
11
12
|
protected _nuxeoService: NuxeoService;
|
|
12
13
|
protected _callApi: CallApiService;
|
|
13
14
|
protected _http: HttpClient;
|
|
15
|
+
private vocabularyApi;
|
|
14
16
|
listenerObserver: Subject<NotificationMessageModel>;
|
|
15
17
|
static readonly sourceType = "/api/v1/directory/VOC_Notf_SourceTypes";
|
|
16
18
|
static readonly channels = "/api/v1/directory/VOC_Notf_NotificationChannels";
|
|
@@ -35,7 +37,7 @@ export declare class NotificationsService extends SocketService {
|
|
|
35
37
|
/**
|
|
36
38
|
*
|
|
37
39
|
*/
|
|
38
|
-
constructor(_environment: Record<string, any>, _nuxeoService: NuxeoService, _callApi: CallApiService, _http: HttpClient);
|
|
40
|
+
constructor(_environment: Record<string, any>, _nuxeoService: NuxeoService, _callApi: CallApiService, _http: HttpClient, vocabularyApi: VocabularyApiService);
|
|
39
41
|
getUnReadCount(): Observable<number>;
|
|
40
42
|
getNotificationsMongo(payload?: PayloadParamsModel): Observable<import("../models").NotificationPagingResponseModel<NotificationModel>>;
|
|
41
43
|
getNotifications(payload?: PayloadParamsModel): Observable<import("../models").NotificationPagingResponseModel<NotificationModel>>;
|
|
@@ -47,7 +49,7 @@ export declare class NotificationsService extends SocketService {
|
|
|
47
49
|
unsubscribe(id: string): Observable<AutomationResponseModel<Record<PropertyKey, any>>>;
|
|
48
50
|
subscribe(id: string): Observable<AutomationResponseModel<Record<PropertyKey, any>>>;
|
|
49
51
|
resetSubscriptions(): Observable<AutomationResponseModel<Record<PropertyKey, any>>>;
|
|
50
|
-
getSourceTypes(): Observable<
|
|
52
|
+
getSourceTypes(): Observable<any[]>;
|
|
51
53
|
getChannels(): Observable<VocabularyType[]>;
|
|
52
54
|
getDefinitions(payload?: PayloadParamsModel): Observable<NotificationDefinitionModel[]>;
|
|
53
55
|
getSubscriptions(payload?: PayloadParamsModel): Observable<NotificationSubscriptionModel[]>;
|
|
@@ -23,6 +23,7 @@ export declare class NuxeoService {
|
|
|
23
23
|
createClientWithNuxeoToken(token: any): void;
|
|
24
24
|
createTokenClient(token: any): void;
|
|
25
25
|
getToken(): Promise<string>;
|
|
26
|
+
decriptFormating(formate: string): any;
|
|
26
27
|
doLogout(): void;
|
|
27
28
|
isUserInRole(role: any, committeeCode?: any): Observable<any>;
|
|
28
29
|
createBlob(file: any): any;
|