nuxeo-development-framework 0.2.3 → 0.2.7

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 (24) hide show
  1. package/bundles/nuxeo-development-framework.umd.js +94 -58
  2. package/bundles/nuxeo-development-framework.umd.js.map +1 -1
  3. package/esm2015/lib/Core/core.module.js +13 -10
  4. package/esm2015/lib/components/documents/components/document-scan/document-scan.component.js +8 -5
  5. package/esm2015/lib/components/dynamic-form/components/dynamic-form/fields.adapter.js +2 -2
  6. package/esm2015/lib/components/dynamic-form/components/dynamic-form/form-builder.service.js +10 -5
  7. package/esm2015/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.js +2 -1
  8. package/esm2015/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.js +1 -1
  9. package/esm2015/lib/components/latest-activity/latest-activity.module.js +7 -3
  10. package/esm2015/lib/components/notifications/components/notifications-button/notifications-button.component.js +2 -1
  11. package/esm2015/lib/components/notifications/notifications.service.js +5 -2
  12. package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +21 -6
  13. package/esm2015/lib/nuxeo-development-framework.module.js +7 -9
  14. package/esm2015/public-api.js +3 -1
  15. package/fesm2015/nuxeo-development-framework.js +91 -57
  16. package/fesm2015/nuxeo-development-framework.js.map +1 -1
  17. package/lib/Core/core.module.d.ts +1 -1
  18. package/lib/components/documents/components/document-scan/document-scan.component.d.ts +2 -1
  19. package/lib/components/latest-activity/latest-activity.module.d.ts +1 -1
  20. package/lib/components/notifications/notifications.service.d.ts +1 -0
  21. package/lib/components/pdf-tron/pdftron/pdftron.component.d.ts +3 -1
  22. package/lib/nuxeo-development-framework.module.d.ts +2 -3
  23. package/package.json +1 -1
  24. package/public-api.d.ts +2 -0
@@ -9,6 +9,6 @@ import * as i7 from "@rxweb/reactive-form-validators";
9
9
  /** @ignore */
10
10
  export declare class CoreModule {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<CoreModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<CoreModule, never, [typeof i1.CommonModule, typeof i2.TreeviewModule, typeof i3.HttpClientModule, typeof i4.TranslateModule, typeof i5.ToastrModule, typeof i6.KeycloakAngularModule, typeof i7.RxReactiveFormsModule], [typeof i4.TranslateModule, typeof i2.TreeviewModule, typeof i5.ToastrModule, typeof i7.RxReactiveFormsModule]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CoreModule, never, [typeof i1.CommonModule, typeof i2.TreeviewModule, typeof i3.HttpClientModule, typeof i4.TranslateModule, typeof i5.ToastrModule, typeof i6.KeycloakAngularModule, typeof i7.RxReactiveFormsModule], [typeof i6.KeycloakAngularModule, typeof i4.TranslateModule, typeof i2.TreeviewModule, typeof i5.ToastrModule, typeof i7.RxReactiveFormsModule]>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<CoreModule>;
14
14
  }
@@ -21,6 +21,7 @@ export declare class ScanComponent implements OnInit, AfterViewInit {
21
21
  translate: TranslateService;
22
22
  documentsService: DocumentsService;
23
23
  datePipe: DatePipe;
24
+ private environment;
24
25
  private baseHref;
25
26
  uploadedFile: any;
26
27
  /** Event emitted when a batch is uploaded */
@@ -40,7 +41,7 @@ export declare class ScanComponent implements OnInit, AfterViewInit {
40
41
  strre: RegExp;
41
42
  refloat: RegExp;
42
43
  innerHTML: string;
43
- constructor(translate: TranslateService, documentsService: DocumentsService, datePipe: DatePipe, baseHref: string);
44
+ constructor(translate: TranslateService, documentsService: DocumentsService, datePipe: DatePipe, environment: any, baseHref: string);
44
45
  ngOnInit(): void;
45
46
  ngAfterViewInit(): void;
46
47
  pageonload(): void;
@@ -14,6 +14,6 @@ import * as i10 from "ngx-infinite-scroll";
14
14
  */
15
15
  export declare class LatestActivityModule {
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<LatestActivityModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<LatestActivityModule, [typeof i1.LatestActivityComponent, typeof i2.ActivityLineComponent, typeof i3.SingleActivityComponent], [typeof i4.CommonModule, typeof i5.PaginationModule, typeof i6.TranslateModule, typeof i7.ActivityModule, typeof i8.CardModule, typeof i9.PipesModule, typeof i10.InfiniteScrollModule], [typeof i1.LatestActivityComponent]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LatestActivityModule, [typeof i1.LatestActivityComponent, typeof i2.ActivityLineComponent, typeof i3.SingleActivityComponent], [typeof i4.CommonModule, typeof i5.PaginationModule, typeof i6.TranslateModule, typeof i7.ActivityModule, typeof i8.CardModule, typeof i9.PipesModule, typeof i10.InfiniteScrollModule], [typeof i1.LatestActivityComponent, typeof i3.SingleActivityComponent, typeof i2.ActivityLineComponent]>;
18
18
  static ɵinj: i0.ɵɵInjectorDeclaration<LatestActivityModule>;
19
19
  }
@@ -35,6 +35,7 @@ export declare class NotificationsService {
35
35
  constructor(http: HttpClient, router: Router, nuxeoService: NuxeoService, keycloak: KeycloakService, translationService: TranslationService, environment: any);
36
36
  getCount(): Observable<any>;
37
37
  reset(): void;
38
+ resetNotifications(): void;
38
39
  fetchNotifications(): Observable<any>;
39
40
  resetCount(): void;
40
41
  markAllAsRead(): void;
@@ -37,6 +37,8 @@ export declare class PdftronComponent implements OnInit, AfterViewInit, OnDestro
37
37
  DOCUMENT_TYPE: string;
38
38
  fileData: any;
39
39
  fitMode: 'FitWidth' | 'FitPage' | 'Zoom';
40
+ authHeader: string;
41
+ fileURL: string;
40
42
  correspondance: any;
41
43
  constructor(cdr: ChangeDetectorRef, pdftronService: PdftronService, nuxeo: NuxeoService, baseHref: string, securePipe: SecurePipe, environment: any);
42
44
  ngOnInit(): Promise<void>;
@@ -50,5 +52,5 @@ export declare class PdftronComponent implements OnInit, AfterViewInit, OnDestro
50
52
  private pdfTronEvent;
51
53
  ngOnDestroy(): void;
52
54
  static ɵfac: i0.ɵɵFactoryDeclaration<PdftronComponent, never>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<PdftronComponent, "app-pdftron", never, { "editMode": "editMode"; "actionClicked": "actionClicked"; "fileTitle": "fileTitle"; "docId": "docId"; "DOCUMENT_TYPE": "DOCUMENT_TYPE"; "fileData": "fileData"; "fitMode": "fitMode"; "correspondance": "correspondance"; }, {}, never, never>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<PdftronComponent, "app-pdftron", never, { "editMode": "editMode"; "actionClicked": "actionClicked"; "fileTitle": "fileTitle"; "docId": "docId"; "DOCUMENT_TYPE": "DOCUMENT_TYPE"; "fileData": "fileData"; "fitMode": "fitMode"; "authHeader": "authHeader"; "fileURL": "fileURL"; "correspondance": "correspondance"; }, {}, never, never>;
54
56
  }
@@ -3,10 +3,9 @@ import * as i1 from "./nuxeo-development-framework.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/common/http";
5
5
  import * as i4 from "@angular/forms";
6
- import * as i5 from "@ngx-translate/core";
7
- import * as i6 from "./Core/core.module";
6
+ import * as i5 from "./Core/core.module";
8
7
  export declare class NuxeoDevelopmentFrameworkModule {
9
8
  static ɵfac: i0.ɵɵFactoryDeclaration<NuxeoDevelopmentFrameworkModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<NuxeoDevelopmentFrameworkModule, [typeof i1.NuxeoDevelopmentFrameworkComponent], [typeof i2.CommonModule, typeof i3.HttpClientModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.TranslateModule, typeof i6.CoreModule], [typeof i1.NuxeoDevelopmentFrameworkComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NuxeoDevelopmentFrameworkModule, [typeof i1.NuxeoDevelopmentFrameworkComponent], [typeof i2.CommonModule, typeof i3.HttpClientModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.CoreModule], [typeof i5.CoreModule, typeof i1.NuxeoDevelopmentFrameworkComponent]>;
11
10
  static ɵinj: i0.ɵɵInjectorDeclaration<NuxeoDevelopmentFrameworkModule>;
12
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxeo-development-framework",
3
- "version": "0.2.3",
3
+ "version": "0.2.7",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "~12.2.4",
6
6
  "@angular/common": "~12.2.4",
package/public-api.d.ts CHANGED
@@ -106,6 +106,8 @@ export * from './lib/components/dynamic-view/list-viewer/list-viewer.component';
106
106
  export * from './lib/components/documents/components/attachments-page-provider/attachments-page-provider.component';
107
107
  export * from './lib/components/pagination/pagination/pagination.component';
108
108
  export * from './lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component';
109
+ export * from './lib/components/latest-activity/components/single-activity/single-activity.component';
110
+ export * from './lib/components/latest-activity/components/activity-line/activity-line.component';
109
111
  export * from './lib/shared/libraryShared.module';
110
112
  export * from './lib/shared/components/button/button.component';
111
113
  export * from './lib/shared/components/item-list/item-list.component';