nuxeo-development-framework 4.3.1 → 4.3.3

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 (214) hide show
  1. package/bundles/nuxeo-development-framework.umd.js +4365 -3037
  2. package/bundles/nuxeo-development-framework.umd.js.map +1 -1
  3. package/esm2015/lib/components/charts/chart.const.js +3 -0
  4. package/esm2015/lib/components/charts/chart.token.js +3 -0
  5. package/esm2015/lib/components/charts/charts.module.js +19 -0
  6. package/esm2015/lib/components/charts/components/base-chart.component.js +44 -0
  7. package/esm2015/lib/components/charts/components/chart.component.js +135 -0
  8. package/esm2015/lib/components/charts/components/data-chart.component.js +169 -0
  9. package/esm2015/lib/components/charts/components/index.js +4 -0
  10. package/esm2015/lib/components/charts/defaults/bar.js +18 -0
  11. package/esm2015/lib/components/charts/defaults/doughnut.js +18 -0
  12. package/esm2015/lib/components/charts/defaults/index.js +5 -0
  13. package/esm2015/lib/components/charts/defaults/line.js +36 -0
  14. package/esm2015/lib/components/charts/defaults/pie.js +20 -0
  15. package/esm2015/lib/components/charts/index.js +10 -0
  16. package/esm2015/lib/components/charts/models/index.js +5 -0
  17. package/esm2015/lib/components/charts/models/options.js +2 -0
  18. package/esm2015/lib/components/charts/models/plugins-options.js +2 -0
  19. package/esm2015/lib/components/charts/models/response.js +2 -0
  20. package/esm2015/lib/components/charts/models/statistic-request-config.js +2 -0
  21. package/esm2015/lib/components/charts/plugins/doughnut-center-text.js +25 -0
  22. package/esm2015/lib/components/charts/plugins/doughnut-empty-state.js +34 -0
  23. package/esm2015/lib/components/charts/plugins/index.js +4 -0
  24. package/esm2015/lib/components/charts/plugins/legend-margin.js +16 -0
  25. package/esm2015/lib/components/charts/services/index.js +2 -0
  26. package/esm2015/lib/components/charts/services/statistic.service.js +75 -0
  27. package/esm2015/lib/components/charts/utility/colors.js +79 -0
  28. package/esm2015/lib/components/charts/utility/common.js +7 -0
  29. package/esm2015/lib/components/charts/utility/index.js +3 -0
  30. package/esm2015/lib/components/comments/comments.module.js +9 -5
  31. package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +30 -23
  32. package/esm2015/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.js +28 -34
  33. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.js +22 -22
  34. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.js +16 -18
  35. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.js +6 -6
  36. package/esm2015/lib/components/correspondence-relation/components/versions/versions.component.js +3 -2
  37. package/esm2015/lib/components/correspondence-relation/correspondence-relation.module.js +33 -29
  38. package/esm2015/lib/components/correspondence-relation/services/correspondence-realation.service.js +32 -24
  39. package/esm2015/lib/components/diagrams/components/connection-label.component.js +1 -1
  40. package/esm2015/lib/components/diagrams/directive/diagram.directive.js +2 -3
  41. package/esm2015/lib/components/diagrams/editor/customize.js +11 -14
  42. package/esm2015/lib/components/diagrams/editor/overrides/connection-path.transformers.js +21 -34
  43. package/esm2015/lib/components/diagrams/editor/path-plugin.js +11 -10
  44. package/esm2015/lib/components/diagrams/models/base-node.model.js +2 -1
  45. package/esm2015/lib/components/diagrams/models/connection.model.js +1 -1
  46. package/esm2015/lib/components/diagrams/types/common.type.js +1 -1
  47. package/esm2015/lib/components/diagrams/types/diagram-config.type.js +1 -1
  48. package/esm2015/lib/components/diagrams/types/node-definition.js +1 -1
  49. package/esm2015/lib/components/diagrams/utilities/random.js +9 -3
  50. package/esm2015/lib/components/documents/components/document-list/documents-list.component.js +9 -11
  51. package/esm2015/lib/components/documents/components/document-upload/document-upload.component.js +17 -7
  52. package/esm2015/lib/components/documents/components/documents/documents.component.js +1 -1
  53. package/esm2015/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.js +45 -40
  54. package/esm2015/lib/components/dynamic-chart/dynamic-chart.module.js +21 -17
  55. package/esm2015/lib/components/dynamic-chart/services/chart-data.service.js +98 -92
  56. package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.js +22 -10
  57. package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.js +8 -4
  58. package/esm2015/lib/components/dynamic-form/components/department-form/department-form.component.js +28 -29
  59. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.js +16 -3
  60. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.js +26 -18
  61. package/esm2015/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.js +2 -2
  62. package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.js +4 -2
  63. package/esm2015/lib/components/dynamic-form/dynamic-form.module.js +13 -10
  64. package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +3 -3
  65. package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +68 -29
  66. package/esm2015/lib/components/file-manger/components/add-to-collection/add-to-collection.component.js +60 -42
  67. package/esm2015/lib/components/file-manger/components/copy/copy.component.js +66 -36
  68. package/esm2015/lib/components/file-manger/components/create-directory/create-directory.component.js +40 -13
  69. package/esm2015/lib/components/file-manger/components/create-modal/create-modal.component.js +238 -200
  70. package/esm2015/lib/components/file-manger/components/creation-type/creation-type.component.js +14 -12
  71. package/esm2015/lib/components/file-manger/components/delete/delete.component.js +49 -20
  72. package/esm2015/lib/components/file-manger/components/folder-modal/folder-modal.component.js +45 -43
  73. package/esm2015/lib/components/file-manger/components/loan-request/loan-request.component.js +63 -36
  74. package/esm2015/lib/components/file-manger/components/move/move.component.js +61 -31
  75. package/esm2015/lib/components/file-manger/components/publish-dialog/publish-dialog.component.js +81 -81
  76. package/esm2015/lib/components/file-manger/components/rename/rename.component.js +58 -30
  77. package/esm2015/lib/components/file-manger/components/scan-modal/scan-modal.component.js +99 -66
  78. package/esm2015/lib/components/file-manger/components/share-dialog/share-dialog.component.js +95 -75
  79. package/esm2015/lib/components/file-manger/components/template-modal/template-modal.component.js +15 -11
  80. package/esm2015/lib/components/file-manger/components/transfer-doc/transfer-doc.component.js +54 -23
  81. package/esm2015/lib/components/file-manger/components/update-modal/update-modal.component.js +24 -24
  82. package/esm2015/lib/components/file-manger/file-manager.abstract.js +266 -264
  83. package/esm2015/lib/components/file-manger/file-manger.module.js +39 -35
  84. package/esm2015/lib/components/filter/filter/filter.component.js +1 -1
  85. package/esm2015/lib/components/notifications/components/base-notifications.component.js +2 -16
  86. package/esm2015/lib/components/notifications/components/notification-item/notification-item.component.js +3 -3
  87. package/esm2015/lib/components/notifications/components/notifications-button/notifications-button.component.js +24 -4
  88. package/esm2015/lib/components/notifications/containers/notifications-settings-container/notifications-settings-container.component.js +3 -2
  89. package/esm2015/lib/components/notifications/models/notification-message.mode.js +1 -1
  90. package/esm2015/lib/components/notifications/models/notifications-list-options.js +1 -1
  91. package/esm2015/lib/components/notifications/services/notifications.service.js +23 -17
  92. package/esm2015/lib/components/notifications/services/socket.service.js +13 -5
  93. package/esm2015/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.js +107 -90
  94. package/esm2015/lib/components/permissions/permissions/permissions.component.js +100 -57
  95. package/esm2015/lib/components/permissions/permissions-template/permissions-template.component.js +36 -52
  96. package/esm2015/lib/components/permissions/permissions.module.js +23 -7
  97. package/esm2015/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.js +1 -1
  98. package/esm2015/lib/components/spell-checker-field/spell-checker-field.module.js +37 -0
  99. package/esm2015/lib/components/spell-checker-field/spell-checker-text-field/spell-checker-text-field.component.js +88 -0
  100. package/esm2015/lib/components/table/dynamic-component.js +59 -0
  101. package/esm2015/lib/components/table/page-sizes-list/page-sizes-list.component.js +38 -0
  102. package/esm2015/lib/components/table/table/table.component.js +39 -21
  103. package/esm2015/lib/components/table/table.module.js +22 -18
  104. package/esm2015/lib/components/vocabulary/services/vocabulary-api.service.js +11 -6
  105. package/esm2015/lib/core/services/callApi/call-api.service.js +23 -6
  106. package/esm2015/lib/shared/components/base/base-selector.component.js +1 -1
  107. package/esm2015/lib/shared/components/base/base.component.js +5 -5
  108. package/esm2015/lib/shared/components/nuxeo-dialog/confirmation/ndf-confirmation-dialog.component.js +1 -1
  109. package/esm2015/lib/shared/components/nuxeo-dialog/nuxeo-dialog.module.js +8 -4
  110. package/esm2015/lib/shared/components/nuxeo-dialog/nuxeo.dialog.js +11 -7
  111. package/esm2015/lib/shared/services/base/http-base.service.js +10 -19
  112. package/esm2015/lib/shared-services/dialog-mangment.service.js +66 -21
  113. package/esm2015/lib/shared-services/shared-docs.service.js +20 -26
  114. package/esm2015/public-api.js +8 -2
  115. package/fesm2015/nuxeo-development-framework.js +3555 -2277
  116. package/fesm2015/nuxeo-development-framework.js.map +1 -1
  117. package/lib/components/charts/chart.const.d.ts +2 -0
  118. package/lib/components/charts/chart.token.d.ts +8 -0
  119. package/lib/components/charts/charts.module.d.ts +9 -0
  120. package/lib/components/charts/components/base-chart.component.d.ts +21 -0
  121. package/lib/components/charts/components/chart.component.d.ts +28 -0
  122. package/lib/components/charts/components/data-chart.component.d.ts +39 -0
  123. package/lib/components/charts/components/index.d.ts +3 -0
  124. package/lib/components/charts/defaults/bar.d.ts +2 -0
  125. package/lib/components/charts/defaults/doughnut.d.ts +2 -0
  126. package/lib/components/charts/defaults/index.d.ts +4 -0
  127. package/lib/components/charts/defaults/line.d.ts +2 -0
  128. package/lib/components/charts/defaults/pie.d.ts +2 -0
  129. package/lib/components/charts/index.d.ts +9 -0
  130. package/lib/components/charts/models/index.d.ts +4 -0
  131. package/lib/components/charts/models/options.d.ts +12 -0
  132. package/lib/components/charts/models/plugins-options.d.ts +18 -0
  133. package/lib/components/charts/models/response.d.ts +5 -0
  134. package/lib/components/charts/models/statistic-request-config.d.ts +30 -0
  135. package/lib/components/charts/plugins/doughnut-center-text.d.ts +2 -0
  136. package/lib/components/charts/plugins/doughnut-empty-state.d.ts +2 -0
  137. package/lib/components/charts/plugins/index.d.ts +3 -0
  138. package/lib/components/charts/plugins/legend-margin.d.ts +2 -0
  139. package/lib/components/charts/services/index.d.ts +1 -0
  140. package/lib/components/charts/services/statistic.service.d.ts +23 -0
  141. package/lib/components/charts/utility/colors.d.ts +11 -0
  142. package/lib/components/charts/utility/common.d.ts +4 -0
  143. package/lib/components/charts/utility/index.d.ts +2 -0
  144. package/lib/components/comments/comments.module.d.ts +2 -1
  145. package/lib/components/comments/components/comment-item/comment-item.component.d.ts +3 -1
  146. package/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.d.ts +8 -5
  147. package/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.d.ts +8 -8
  148. package/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.d.ts +5 -5
  149. package/lib/components/correspondence-relation/correspondence-relation.module.d.ts +3 -2
  150. package/lib/components/diagrams/editor/customize.d.ts +7 -7
  151. package/lib/components/diagrams/editor/overrides/connection-path.transformers.d.ts +2 -5
  152. package/lib/components/diagrams/models/base-node.model.d.ts +1 -1
  153. package/lib/components/diagrams/models/connection.model.d.ts +2 -1
  154. package/lib/components/diagrams/types/common.type.d.ts +4 -0
  155. package/lib/components/diagrams/types/diagram-config.type.d.ts +7 -7
  156. package/lib/components/diagrams/types/node-definition.d.ts +1 -0
  157. package/lib/components/diagrams/utilities/random.d.ts +1 -1
  158. package/lib/components/documents/components/document-upload/document-upload.component.d.ts +3 -1
  159. package/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.d.ts +11 -10
  160. package/lib/components/dynamic-chart/dynamic-chart.module.d.ts +5 -6
  161. package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.d.ts +6 -2
  162. package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.d.ts +2 -1
  163. package/lib/components/dynamic-form/components/department-form/department-form.component.d.ts +4 -4
  164. package/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.d.ts +5 -1
  165. package/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.d.ts +3 -1
  166. package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.d.ts +5 -1
  167. package/lib/components/dynamic-form/dynamic-form.module.d.ts +2 -1
  168. package/lib/components/dynamic-table/dynamic-table/dynamic-table.component.d.ts +29 -11
  169. package/lib/components/file-manger/components/add-to-collection/add-to-collection.component.d.ts +11 -5
  170. package/lib/components/file-manger/components/copy/copy.component.d.ts +11 -4
  171. package/lib/components/file-manger/components/create-directory/create-directory.component.d.ts +9 -4
  172. package/lib/components/file-manger/components/create-modal/create-modal.component.d.ts +13 -19
  173. package/lib/components/file-manger/components/creation-type/creation-type.component.d.ts +6 -4
  174. package/lib/components/file-manger/components/delete/delete.component.d.ts +11 -4
  175. package/lib/components/file-manger/components/folder-modal/folder-modal.component.d.ts +9 -11
  176. package/lib/components/file-manger/components/loan-request/loan-request.component.d.ts +11 -5
  177. package/lib/components/file-manger/components/move/move.component.d.ts +11 -4
  178. package/lib/components/file-manger/components/publish-dialog/publish-dialog.component.d.ts +12 -10
  179. package/lib/components/file-manger/components/rename/rename.component.d.ts +11 -5
  180. package/lib/components/file-manger/components/scan-modal/scan-modal.component.d.ts +9 -8
  181. package/lib/components/file-manger/components/share-dialog/share-dialog.component.d.ts +6 -7
  182. package/lib/components/file-manger/components/template-modal/template-modal.component.d.ts +4 -3
  183. package/lib/components/file-manger/components/transfer-doc/transfer-doc.component.d.ts +11 -4
  184. package/lib/components/file-manger/components/update-modal/update-modal.component.d.ts +9 -8
  185. package/lib/components/file-manger/file-manager.abstract.d.ts +24 -22
  186. package/lib/components/file-manger/file-manger.module.d.ts +2 -1
  187. package/lib/components/notifications/components/base-notifications.component.d.ts +2 -8
  188. package/lib/components/notifications/components/notification-item/notification-item.component.d.ts +1 -1
  189. package/lib/components/notifications/components/notifications-button/notifications-button.component.d.ts +4 -1
  190. package/lib/components/notifications/models/notification-message.mode.d.ts +1 -0
  191. package/lib/components/notifications/models/notifications-list-options.d.ts +4 -0
  192. package/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.d.ts +8 -6
  193. package/lib/components/permissions/permissions/permissions.component.d.ts +3 -1
  194. package/lib/components/permissions/permissions-template/permissions-template.component.d.ts +3 -3
  195. package/lib/components/permissions/permissions.module.d.ts +2 -1
  196. package/lib/components/spell-checker-field/spell-checker-field.module.d.ts +10 -0
  197. package/lib/components/spell-checker-field/spell-checker-text-field/spell-checker-text-field.component.d.ts +24 -0
  198. package/lib/components/table/dynamic-component.d.ts +20 -0
  199. package/lib/components/table/page-sizes-list/page-sizes-list.component.d.ts +15 -0
  200. package/lib/components/table/table/table.component.d.ts +15 -6
  201. package/lib/components/table/table.module.d.ts +14 -10
  202. package/lib/components/vocabulary/services/vocabulary-api.service.d.ts +2 -2
  203. package/lib/core/services/callApi/call-api.service.d.ts +8 -1
  204. package/lib/shared/components/base/base-selector.component.d.ts +4 -4
  205. package/lib/shared/components/base/base.component.d.ts +5 -5
  206. package/lib/shared/components/nuxeo-dialog/nuxeo-dialog.module.d.ts +2 -1
  207. package/lib/shared/components/nuxeo-dialog/nuxeo.dialog.d.ts +2 -1
  208. package/lib/shared/services/base/http-base.service.d.ts +3 -1
  209. package/lib/shared-services/dialog-mangment.service.d.ts +5 -1
  210. package/lib/shared-services/shared-docs.service.d.ts +3 -1
  211. package/package.json +3 -4
  212. package/public-api.d.ts +7 -1
  213. package/esm2015/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.js +0 -164
  214. package/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.d.ts +0 -33
@@ -1,12 +1,18 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { Injector, TemplateRef, EventEmitter, OnInit } from '@angular/core';
2
2
  import { DxFormComponent } from 'devextreme-angular';
3
3
  import { FileManagerService } from '../../../../shared-services/file-manager.service';
4
4
  import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
5
+ import { NuxeoDialogService } from '../../../../shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
6
+ import { DialogActionType } from '../../../../shared/components/nuxeo-dialog/models/dialog-option.model';
7
+ import { BaseComponent } from '../../../../shared/components/base/base.component';
5
8
  import * as i0 from "@angular/core";
6
- export declare class LoanRequestComponent implements OnInit {
9
+ export declare class LoanRequestComponent extends BaseComponent implements OnInit {
7
10
  private fileMangerService;
8
11
  private customToastrService;
12
+ nuxeoDialogService: NuxeoDialogService;
9
13
  form: DxFormComponent;
14
+ contentTemplate: TemplateRef<any>;
15
+ actionsTemplate: TemplateRef<any>;
10
16
  set visible(value: any);
11
17
  get visible(): any;
12
18
  visibleChange: EventEmitter<any>;
@@ -14,10 +20,10 @@ export declare class LoanRequestComponent implements OnInit {
14
20
  selectedItem: any;
15
21
  loanFormData: any;
16
22
  _visible: boolean;
17
- loading: boolean;
18
- constructor(fileMangerService: FileManagerService, customToastrService: CustomToastrService);
23
+ constructor(fileMangerService: FileManagerService, customToastrService: CustomToastrService, nuxeoDialogService: NuxeoDialogService, injector: Injector);
19
24
  ngOnInit(): void;
20
- onFormLoanRequestSubmit(e: any): Promise<void>;
25
+ openDialog(): void;
26
+ onFormLoanRequestSubmit: DialogActionType;
21
27
  static ɵfac: i0.ɵɵFactoryDeclaration<LoanRequestComponent, never>;
22
28
  static ɵcmp: i0.ɵɵComponentDeclaration<LoanRequestComponent, "app-loan-request", never, { "visible": "visible"; "rtlEnabled": "rtlEnabled"; "selectedItem": "selectedItem"; }, { "visibleChange": "visibleChange"; }, never, never>;
23
29
  }
@@ -1,12 +1,18 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { EventEmitter, Injector, OnInit, TemplateRef } from '@angular/core';
2
2
  import { DxFormComponent } from 'devextreme-angular';
3
3
  import { FileManagerService } from '../../../../shared-services/file-manager.service';
4
4
  import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
5
+ import { NuxeoDialogService } from '../../../../shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
6
+ import { DialogActionType } from '../../../../shared/components/nuxeo-dialog/models/dialog-option.model';
7
+ import { BaseComponent } from '../../../../shared/components/base/base.component';
5
8
  import * as i0 from "@angular/core";
6
- export declare class MoveComponent implements OnInit {
9
+ export declare class MoveComponent extends BaseComponent implements OnInit {
7
10
  private fileManagerService;
8
11
  protected customToastrService: CustomToastrService;
12
+ nuxeoDialogService: NuxeoDialogService;
9
13
  form: DxFormComponent;
14
+ contentTemplate: TemplateRef<any>;
15
+ actionsTemplate: TemplateRef<any>;
10
16
  set visible(value: any);
11
17
  get visible(): any;
12
18
  visibleChange: EventEmitter<any>;
@@ -22,12 +28,13 @@ export declare class MoveComponent implements OnInit {
22
28
  disable: boolean;
23
29
  _visible: boolean;
24
30
  currentItem: any;
25
- constructor(fileManagerService: FileManagerService, customToastrService: CustomToastrService);
31
+ constructor(fileManagerService: FileManagerService, customToastrService: CustomToastrService, nuxeoDialogService: NuxeoDialogService, injector: Injector);
26
32
  ngOnInit(): void;
33
+ openDialog(): void;
27
34
  cancel(): void;
28
35
  selectItem(e: any): void;
29
36
  createTreeNodeChildren: (parent: any) => any;
30
- move(answer: any): void;
37
+ move: DialogActionType;
31
38
  static ɵfac: i0.ɵɵFactoryDeclaration<MoveComponent, never>;
32
39
  static ɵcmp: i0.ɵɵComponentDeclaration<MoveComponent, "app-move", never, { "visible": "visible"; "rtlEnabled": "rtlEnabled"; "selectedItem": "selectedItem"; "rootFolder": "rootFolder"; "rootEntries": "rootEntries"; "selectedItems": "selectedItems"; "directory": "directory"; "pageConfigurations": "pageConfigurations"; }, { "visibleChange": "visibleChange"; "getSelectedFolder": "getSelectedFolder"; }, never, never>;
33
40
  }
@@ -1,12 +1,14 @@
1
- import { TranslateService } from "@ngx-translate/core";
2
- import { MatDialogRef } from "@angular/material/dialog";
3
- import { Subscription } from "rxjs";
4
- import { FormGroup } from "@angular/forms";
5
- import { OnInit, OnDestroy } from "@angular/core";
6
- import { PublishingDocumentService } from "../../../../shared-services/publishing-document.service";
7
- import { CustomToastrService } from "../../../custom-toastr/services/custom-toastr.service";
1
+ import { TranslateService } from '@ngx-translate/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import { Subscription } from 'rxjs';
4
+ import { FormGroup } from '@angular/forms';
5
+ import { OnInit, OnDestroy, Injector } from '@angular/core';
6
+ import { PublishingDocumentService } from '../../../../shared-services/publishing-document.service';
7
+ import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
8
+ import { BaseDialogComponent } from '../../../../shared/components/base/base-dialog.component';
9
+ import { DialogActionType } from '../../../../shared/components/nuxeo-dialog/models/dialog-option.model';
8
10
  import * as i0 from "@angular/core";
9
- export declare class PublishDialogComponent implements OnInit, OnDestroy {
11
+ export declare class PublishDialogComponent extends BaseDialogComponent<PublishDialogComponent, any, any> implements OnInit, OnDestroy {
10
12
  private publishing;
11
13
  private dialogRef;
12
14
  data: any;
@@ -26,11 +28,11 @@ export declare class PublishDialogComponent implements OnInit, OnDestroy {
26
28
  isSelectThisBefor: boolean;
27
29
  publishinpPlaces: any;
28
30
  showpublishingLoader: boolean;
29
- constructor(publishing: PublishingDocumentService, dialogRef: MatDialogRef<PublishDialogComponent>, data: any, tosterService: CustomToastrService, translate: TranslateService);
31
+ constructor(publishing: PublishingDocumentService, dialogRef: MatDialogRef<PublishDialogComponent>, data: any, tosterService: CustomToastrService, translate: TranslateService, injector: Injector);
30
32
  ngOnInit(): void;
31
33
  getPublishedPlaces(): void;
32
34
  close(): void;
33
- publish(): void;
35
+ publish: DialogActionType;
34
36
  ngOnDestroy(): void;
35
37
  static ɵfac: i0.ɵɵFactoryDeclaration<PublishDialogComponent, never>;
36
38
  static ɵcmp: i0.ɵɵComponentDeclaration<PublishDialogComponent, "app-publish-dialog", never, {}, {}, never, never>;
@@ -1,12 +1,18 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { EventEmitter, Injector, TemplateRef, OnInit } from '@angular/core';
2
2
  import { DxFormComponent } from 'devextreme-angular';
3
3
  import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
4
4
  import { FileManagerService } from '../../../../shared-services/file-manager.service';
5
+ import { NuxeoDialogService } from '../../../../shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
6
+ import { DialogActionType } from '../../../../shared/components/nuxeo-dialog/models/dialog-option.model';
7
+ import { BaseComponent } from '../../../../shared/components/base/base.component';
5
8
  import * as i0 from "@angular/core";
6
- export declare class RenameComponent implements OnInit {
9
+ export declare class RenameComponent extends BaseComponent implements OnInit {
7
10
  private fileManagerService;
8
11
  protected customToastrService: CustomToastrService;
12
+ nuxeoDialogService: NuxeoDialogService;
9
13
  form: DxFormComponent;
14
+ contentTemplate: TemplateRef<any>;
15
+ actionsTemplate: TemplateRef<any>;
10
16
  set visible(value: any);
11
17
  get visible(): any;
12
18
  visibleChange: EventEmitter<any>;
@@ -14,11 +20,11 @@ export declare class RenameComponent implements OnInit {
14
20
  rtlEnabled: boolean;
15
21
  selectedItems: any;
16
22
  formData: any;
17
- loading: boolean;
18
23
  _visible: boolean;
19
- constructor(fileManagerService: FileManagerService, customToastrService: CustomToastrService);
24
+ constructor(fileManagerService: FileManagerService, customToastrService: CustomToastrService, nuxeoDialogService: NuxeoDialogService, injector: Injector);
20
25
  ngOnInit(): void;
21
- onFormSubmit(e: any): Promise<void>;
26
+ openDialog(): void;
27
+ onFormSubmit: DialogActionType;
22
28
  static ɵfac: i0.ɵɵFactoryDeclaration<RenameComponent, never>;
23
29
  static ɵcmp: i0.ɵɵComponentDeclaration<RenameComponent, "app-rename", never, { "visible": "visible"; "rtlEnabled": "rtlEnabled"; "selectedItems": "selectedItems"; }, { "visibleChange": "visibleChange"; "refresh": "refresh"; }, never, never>;
24
30
  }
@@ -1,4 +1,4 @@
1
- import { OnInit } from '@angular/core';
1
+ import { Injector, OnInit } from '@angular/core';
2
2
  import { FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { MatDialogRef } from '@angular/material/dialog';
4
4
  import { UploadManagmentService } from '../../../../shared-services/upload-managment.service';
@@ -14,18 +14,20 @@ import { AdapterService } from '../../../../core/adapters/adapter.service';
14
14
  import { TranslationService } from '../../../../core/services/translation/translation.service';
15
15
  import { NuxeoService } from '../../../../core/services/nuxeo/nuxeo.service';
16
16
  import { AppConfigService } from '../../../../configuration/app-config.service';
17
+ import { BaseDialogComponent } from '../../../../shared/components/base/base-dialog.component';
18
+ import { DialogActionType } from '../../../../shared/components/nuxeo-dialog/models/dialog-option.model';
17
19
  import * as i0 from "@angular/core";
18
- export declare class ScanModalComponent implements OnInit {
20
+ export declare class ScanModalComponent extends BaseDialogComponent<ScanModalComponent, any, any> implements OnInit {
19
21
  data: any;
20
22
  dialogRef: MatDialogRef<ScanModalComponent>;
21
23
  uploadMangmentService: UploadManagmentService;
22
24
  dialogMangmentService: DialogMangmentService;
23
25
  private fileMangerService;
24
26
  private tosterService;
25
- private formBuilder;
27
+ formBuilder: FormBuilder;
26
28
  private dynamicFormService;
27
29
  private dateHelperService;
28
- private adapter;
30
+ adapter: AdapterService;
29
31
  private translationService;
30
32
  private nuxeoService;
31
33
  private userService;
@@ -56,24 +58,23 @@ export declare class ScanModalComponent implements OnInit {
56
58
  agencyCategCodeSubscription: Subscription;
57
59
  countryCategCodeSubscription: Subscription;
58
60
  langSubscription: Subscription;
59
- isArabic: boolean;
60
61
  showStaticForm: boolean;
61
62
  usingExtraFields: boolean;
62
63
  fileForm: FormGroup;
63
64
  staticFormFields: any;
64
65
  agencyNameFilter: any;
65
66
  countryNameFilter: any;
66
- constructor(data: any, dialogRef: MatDialogRef<ScanModalComponent>, uploadMangmentService: UploadManagmentService, dialogMangmentService: DialogMangmentService, fileMangerService: FileManagerService, tosterService: CustomToastrService, formBuilder: FormBuilder, dynamicFormService: DynamicFormService, dateHelperService: DateHelperService, adapter: AdapterService, translationService: TranslationService, nuxeoService: NuxeoService, userService: UserService, appConfService: AppConfigService, envirnoment: any, documentScanService: DocumentScanService);
67
+ constructor(data: any, dialogRef: MatDialogRef<ScanModalComponent>, uploadMangmentService: UploadManagmentService, dialogMangmentService: DialogMangmentService, fileMangerService: FileManagerService, tosterService: CustomToastrService, formBuilder: FormBuilder, dynamicFormService: DynamicFormService, dateHelperService: DateHelperService, adapter: AdapterService, translationService: TranslationService, nuxeoService: NuxeoService, userService: UserService, appConfService: AppConfigService, envirnoment: any, documentScanService: DocumentScanService, injector: Injector);
67
68
  ngOnInit(): void;
68
69
  initiatfileForm(): void;
69
70
  openSubscriptions(): void;
70
71
  onUploading(event: any): void;
71
72
  ondynamicFormChange(dynamicData: any): void;
72
73
  closeDialog(): void;
73
- minimizDialog(): void;
74
+ minimizDialog: DialogActionType;
74
75
  removeSubscription(): void;
75
76
  startAddingProperties(): void;
76
- createDocument(): void;
77
+ createDocument: DialogActionType;
77
78
  constructPayLoad(file: any): {
78
79
  params: {
79
80
  document: {
@@ -1,21 +1,21 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
1
+ import { Injector, OnDestroy, OnInit } from '@angular/core';
2
2
  import { FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { MatDialog, MatDialogRef } from '@angular/material/dialog';
4
4
  import { Subscription } from 'rxjs';
5
5
  import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
6
- import { TranslationService } from '../../../../core/services/translation/translation.service';
7
6
  import { NuxeoService } from '../../../../core/services/nuxeo/nuxeo.service';
8
7
  import { UserPreferencesService } from '../../../../core/services/user/user-preferences.service';
9
8
  import { SharedDocsService } from '../../../../shared-services/shared-docs.service';
9
+ import { BaseDialogComponent } from '../../../../shared/components/base/base-dialog.component';
10
+ import { DialogActionType } from '../../../../shared/components/nuxeo-dialog/models/dialog-option.model';
10
11
  import * as i0 from "@angular/core";
11
- export declare class ShareDialogComponent implements OnInit, OnDestroy {
12
+ export declare class ShareDialogComponent extends BaseDialogComponent<ShareDialogComponent, any, any> implements OnInit, OnDestroy {
12
13
  data: any;
13
14
  private dialogRef;
14
15
  private dialog;
15
16
  private fb;
16
17
  private shared;
17
18
  private tosterService;
18
- private translateService;
19
19
  private nuxeoService;
20
20
  private userPreferenceService;
21
21
  selectedItem: any;
@@ -37,10 +37,9 @@ export declare class ShareDialogComponent implements OnInit, OnDestroy {
37
37
  copied: boolean;
38
38
  shareableUrl: string;
39
39
  typeToUrl: any;
40
- isArabic: boolean;
41
40
  private onDestroy$;
42
41
  locale: any;
43
- constructor(data: any, dialogRef: MatDialogRef<ShareDialogComponent>, dialog: MatDialog, fb: FormBuilder, shared: SharedDocsService, tosterService: CustomToastrService, translateService: TranslationService, nuxeoService: NuxeoService, userPreferenceService: UserPreferencesService);
42
+ constructor(data: any, dialogRef: MatDialogRef<ShareDialogComponent>, dialog: MatDialog, fb: FormBuilder, shared: SharedDocsService, tosterService: CustomToastrService, nuxeoService: NuxeoService, userPreferenceService: UserPreferencesService, injector: Injector);
44
43
  ngOnInit(): void;
45
44
  removeFromForbiddenArr(event: any): void;
46
45
  copy(): void;
@@ -49,7 +48,7 @@ export declare class ShareDialogComponent implements OnInit, OnDestroy {
49
48
  close(): void;
50
49
  checkIfCanViewSecret(): import("rxjs").Observable<any[]>;
51
50
  doShare(users: any): void;
52
- share(): void;
51
+ share: DialogActionType;
53
52
  openDialog(functionToDo: any, username?: any, sharedMode?: any): void;
54
53
  getMyShare(): void;
55
54
  ngOnDestroy(): void;
@@ -1,10 +1,11 @@
1
- import { OnInit } from '@angular/core';
1
+ import { Injector, OnInit } from '@angular/core';
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
3
  import { UploadManagmentService } from '../../../../shared-services/upload-managment.service';
4
4
  import { DialogMangmentService } from '../../../../shared-services/dialog-mangment.service';
5
5
  import { DynamicFormService } from '../../../../shared-services/dynamic-form.service';
6
+ import { BaseDialogComponent } from '../../../../shared/components/base/base-dialog.component';
6
7
  import * as i0 from "@angular/core";
7
- export declare class TemplateModalComponent implements OnInit {
8
+ export declare class TemplateModalComponent extends BaseDialogComponent<TemplateModalComponent, any, any> implements OnInit {
8
9
  data: any;
9
10
  uploadMangmentService: UploadManagmentService;
10
11
  dialogRef: MatDialogRef<TemplateModalComponent>;
@@ -25,7 +26,7 @@ export declare class TemplateModalComponent implements OnInit {
25
26
  };
26
27
  showRenderer: boolean;
27
28
  temporaryDyanmicData: {};
28
- constructor(data: any, uploadMangmentService: UploadManagmentService, dialogRef: MatDialogRef<TemplateModalComponent>, dialogMangmentService: DialogMangmentService, dynamicFormService: DynamicFormService);
29
+ constructor(data: any, uploadMangmentService: UploadManagmentService, dialogRef: MatDialogRef<TemplateModalComponent>, dialogMangmentService: DialogMangmentService, dynamicFormService: DynamicFormService, injector: Injector);
29
30
  ngOnInit(): void;
30
31
  ondynamicFormChange(dynamicData: any): void;
31
32
  closeDialog(): void;
@@ -1,12 +1,18 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { Injector, TemplateRef, EventEmitter, OnInit } from '@angular/core';
2
2
  import { ActivatedRoute } from '@angular/router';
3
3
  import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
4
4
  import { FileManagerService } from '../../../../shared-services/file-manager.service';
5
+ import { NuxeoDialogService } from '../../../../shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
6
+ import { DialogActionType } from '../../../../shared/components/nuxeo-dialog/models/dialog-option.model';
7
+ import { BaseComponent } from '../../../../shared/components/base/base.component';
5
8
  import * as i0 from "@angular/core";
6
- export declare class TransferDocComponent implements OnInit {
9
+ export declare class TransferDocComponent extends BaseComponent implements OnInit {
7
10
  private route;
8
11
  private fileMangerService;
9
12
  private customToastrService;
13
+ nuxeoDialogService: NuxeoDialogService;
14
+ contentTemplate: TemplateRef<any>;
15
+ actionsTemplate: TemplateRef<any>;
10
16
  set visible(value: any);
11
17
  get visible(): any;
12
18
  visibleChange: EventEmitter<any>;
@@ -14,9 +20,10 @@ export declare class TransferDocComponent implements OnInit {
14
20
  rtlEnabled: boolean;
15
21
  _visible: boolean;
16
22
  currentItem: any;
17
- constructor(route: ActivatedRoute, fileMangerService: FileManagerService, customToastrService: CustomToastrService);
23
+ constructor(route: ActivatedRoute, fileMangerService: FileManagerService, customToastrService: CustomToastrService, nuxeoDialogService: NuxeoDialogService, injector: Injector);
18
24
  ngOnInit(): void;
19
- transferDocument(): void;
25
+ openDialog(): void;
26
+ transferDocument: DialogActionType;
20
27
  cancel(): void;
21
28
  static ɵfac: i0.ɵɵFactoryDeclaration<TransferDocComponent, never>;
22
29
  static ɵcmp: i0.ɵɵComponentDeclaration<TransferDocComponent, "app-transfer-doc", never, { "visible": "visible"; "rtlEnabled": "rtlEnabled"; }, { "visibleChange": "visibleChange"; "refresh": "refresh"; }, never, never>;
@@ -1,4 +1,4 @@
1
- import { OnInit } from '@angular/core';
1
+ import { Injector, OnInit } from '@angular/core';
2
2
  import { FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { MatDialogRef } from '@angular/material/dialog';
4
4
  import { DynamicFormService } from '../../../../shared-services/dynamic-form.service';
@@ -10,20 +10,22 @@ import { AdapterService } from '../../../../core/adapters/adapter.service';
10
10
  import { TranslationService } from '../../../../core/services/translation/translation.service';
11
11
  import { DateHelperService } from '../../../hijri-gregorian-datepicker/services/date-helper.service';
12
12
  import { DocumentsService } from '../../../documents/services/documents.service';
13
+ import { BaseDialogComponent } from '../../../../shared/components/base/base-dialog.component';
14
+ import { DialogActionType } from '../../../../shared/components/nuxeo-dialog/models/dialog-option.model';
13
15
  import * as i0 from "@angular/core";
14
- export declare class UpdateModalComponent implements OnInit {
16
+ export declare class UpdateModalComponent extends BaseDialogComponent<UpdateModalComponent, any, any> implements OnInit {
15
17
  data: any;
16
18
  environment: any;
17
19
  private dialogRef;
18
20
  private fileMangerService;
19
21
  private tosterService;
20
- private formBuilder;
22
+ formBuilder: FormBuilder;
21
23
  private appConfService;
22
24
  private dynamicFormService;
23
- private adapter;
25
+ adapter: AdapterService;
24
26
  private translationService;
25
27
  private dateHelperService;
26
- private documentService;
28
+ documentService: DocumentsService;
27
29
  type: any;
28
30
  dynamicForm: any;
29
31
  temporaryDyanmicData: {};
@@ -38,7 +40,6 @@ export declare class UpdateModalComponent implements OnInit {
38
40
  fileFormSubscription: Subscription;
39
41
  agencyCategCodeSubscription: Subscription;
40
42
  countryCategCodeSubscription: Subscription;
41
- isArabic: boolean;
42
43
  showStaticForm: boolean;
43
44
  usingExtraFields: boolean;
44
45
  staticFormFields: any;
@@ -174,14 +175,14 @@ export declare class UpdateModalComponent implements OnInit {
174
175
  translatedDocumentType: any;
175
176
  code: any;
176
177
  KeyUpEvent(event: KeyboardEvent): void;
177
- constructor(data: any, environment: any, dialogRef: MatDialogRef<UpdateModalComponent>, fileMangerService: FileManagerService, tosterService: CustomToastrService, formBuilder: FormBuilder, appConfService: AppConfigService, dynamicFormService: DynamicFormService, adapter: AdapterService, translationService: TranslationService, dateHelperService: DateHelperService, documentService: DocumentsService);
178
+ constructor(data: any, environment: any, dialogRef: MatDialogRef<UpdateModalComponent>, fileMangerService: FileManagerService, tosterService: CustomToastrService, formBuilder: FormBuilder, appConfService: AppConfigService, dynamicFormService: DynamicFormService, adapter: AdapterService, translationService: TranslationService, dateHelperService: DateHelperService, documentService: DocumentsService, injector: Injector);
178
179
  customeHeader: string;
179
180
  userSelectorKeys: any[];
180
181
  ngOnInit(): void;
181
182
  initiatfileForm(): void;
182
183
  ondynamicFormChange(dynamicData: any): void;
183
184
  closeDialog(): void;
184
- UpdateDocument(): void;
185
+ UpdateDocument: DialogActionType;
185
186
  constructPayLoad(dynamicValues: any, staticForm: any): {
186
187
  type: any;
187
188
  name: any;
@@ -1,25 +1,26 @@
1
- import { MatDialog } from "@angular/material/dialog";
2
- import { ActivatedRoute, Router } from "@angular/router";
3
- import { IconService } from "../display-suitable-icon/display-suitable-icon/icon.service";
4
- import { DxFileManagerComponent, DxFormComponent, DxTreeViewComponent } from "devextreme-angular";
5
- import { Observable, Subject, Subscription } from "rxjs";
6
- import { FileManagerAdapter } from "../../shared-services/file-manager.adapter";
7
- import { FileManagerService } from "../../shared-services/file-manager.service";
8
- import { AfterViewChecked, ChangeDetectorRef, Injector, OnInit } from "@angular/core";
9
- import { DialogMangmentService } from "../../shared-services/dialog-mangment.service";
10
- import { UploadManagmentService } from "../../shared-services/upload-managment.service";
11
- import { SharedDocsService } from "../../shared-services/shared-docs.service";
12
- import { DynamicFormService } from "../../shared-services/dynamic-form.service";
13
- import { EvaluatorsService } from "../../directive/permissions/evaluators.service";
14
- import { CallApiService } from "../../core/services/callApi/call-api.service";
15
- import { AdapterService } from "../../core/adapters/adapter.service";
16
- import { TranslationService } from "../../core/services/translation/translation.service";
17
- import { AppConfigService } from "../../configuration/app-config.service";
18
- import { CustomToastrService } from "../custom-toastr/services/custom-toastr.service";
19
- import { UserPreferencesService } from "../../core/services/user/user-preferences.service";
20
- import { DocumentScanService } from "../documents/components/document-scan/document-scan.service";
21
- import { NuxeoService } from "../../core/services/nuxeo/nuxeo.service";
22
- import { PaginationPayload } from "./models";
1
+ import { MatDialog } from '@angular/material/dialog';
2
+ import { ActivatedRoute, Router } from '@angular/router';
3
+ import { IconService } from '../display-suitable-icon/display-suitable-icon/icon.service';
4
+ import { DxFileManagerComponent, DxFormComponent, DxTreeViewComponent } from 'devextreme-angular';
5
+ import { Observable, Subject, Subscription } from 'rxjs';
6
+ import { FileManagerAdapter } from '../../shared-services/file-manager.adapter';
7
+ import { FileManagerService } from '../../shared-services/file-manager.service';
8
+ import { AfterViewChecked, ChangeDetectorRef, Injector, OnInit } from '@angular/core';
9
+ import { DialogMangmentService } from '../../shared-services/dialog-mangment.service';
10
+ import { UploadManagmentService } from '../../shared-services/upload-managment.service';
11
+ import { SharedDocsService } from '../../shared-services/shared-docs.service';
12
+ import { DynamicFormService } from '../../shared-services/dynamic-form.service';
13
+ import { EvaluatorsService } from '../../directive/permissions/evaluators.service';
14
+ import { CallApiService } from '../../core/services/callApi/call-api.service';
15
+ import { AdapterService } from '../../core/adapters/adapter.service';
16
+ import { TranslationService } from '../../core/services/translation/translation.service';
17
+ import { AppConfigService } from '../../configuration/app-config.service';
18
+ import { CustomToastrService } from '../custom-toastr/services/custom-toastr.service';
19
+ import { UserPreferencesService } from '../../core/services/user/user-preferences.service';
20
+ import { DocumentScanService } from '../documents/components/document-scan/document-scan.service';
21
+ import { NuxeoService } from '../../core/services/nuxeo/nuxeo.service';
22
+ import { PaginationPayload } from './models';
23
+ import { NuxeoDialogService } from '../../shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
23
24
  import * as i0 from "@angular/core";
24
25
  export declare class FileManagerAbstract implements OnInit, AfterViewChecked {
25
26
  #private;
@@ -139,6 +140,7 @@ export declare class FileManagerAbstract implements OnInit, AfterViewChecked {
139
140
  protected iconService: IconService;
140
141
  protected cdRef: ChangeDetectorRef;
141
142
  protected nuxeoService: NuxeoService;
143
+ protected nuxeoDialogService: NuxeoDialogService;
142
144
  protected moreDataForCreateModal: {};
143
145
  constructor(injectorObj: Injector, myPageConfigurationName: String, environment: Object);
144
146
  ngOnInit(): void;
@@ -53,8 +53,9 @@ import * as i51 from "../attachment-modal/attachment-modal.module";
53
53
  import * as i52 from "../display-suitable-icon/display-suitable-icon.module";
54
54
  import * as i53 from "@angular/material/progress-bar";
55
55
  import * as i54 from "@angular/material/checkbox";
56
+ import * as i55 from "../../shared/components/nuxeo-dialog/nuxeo-dialog.module";
56
57
  export declare class FileMangerModule {
57
58
  static ɵfac: i0.ɵɵFactoryDeclaration<FileMangerModule, never>;
58
- static ɵmod: i0.ɵɵNgModuleDeclaration<FileMangerModule, [typeof i1.SidepanelComponent, typeof i2.CopyComponent, typeof i3.DeleteComponent, typeof i4.MoveComponent, typeof i5.RenameComponent, typeof i6.AddToCollectionComponent, typeof i7.TransferDocComponent, typeof i8.LoanRequestComponent, typeof i9.CreateDirectoryComponent, typeof i10.CreateModalComponent, typeof i11.CreationTypeComponent, typeof i12.FolderModalComponent, typeof i13.PublishDialogComponent, typeof i14.ScanModalComponent, typeof i15.ShareDialogComponent, typeof i16.TemplateModalComponent, typeof i17.UpdateModalComponent, typeof i18.ClipboardComponent, typeof i19.FileGridInfiniteScrollDirective], [typeof i20.CommonModule, typeof i21.MatIconModule, typeof i22.DynamicFormModule, typeof i23.FormsModule, typeof i23.ReactiveFormsModule, typeof i24.LibrarySharedModule, typeof i25.TranslateModule, typeof i26.DocumentsModule, typeof i27.DirectiveModule, typeof i28.DxPopupModule, typeof i28.DxScrollViewModule, typeof i29.DxiToolbarItemModule, typeof i28.DxButtonModule, typeof i28.DxTemplateModule, typeof i28.DxTextBoxModule, typeof i28.DxFormModule, typeof i30.NgSelectModule, typeof i31.CommentsModule, typeof i32.CardModule, typeof i28.DxTreeViewModule, typeof i33.ViewerLogModule, typeof i34.CtsTagsModule, typeof i35.MatDialogModule, typeof i36.MatTooltipModule, typeof i37.CorrespondenceRelationModule, typeof i38.AvatarModule, typeof i39.DynamicFieldsRendererModule, typeof i40.MatProgressSpinnerModule, typeof i41.SelectUsersByDepartmentModule, typeof i42.PipesModule, typeof i43.DynamicTabsModule, typeof i44.ActivitiesLogModule, typeof i45.SharedServicesModule, typeof i46.ConfirmationDialogModule, typeof i47.PermissionsModule, typeof i48.UserModule, typeof i49.MutipleDynamicFormViewerModule, typeof i50.BrowserTransferStateModule, typeof i51.AttachmentModalModule, typeof i23.FormsModule, typeof i52.DisplaySuitableIconModule, typeof i53.MatProgressBarModule, typeof i54.MatCheckboxModule], [typeof i1.SidepanelComponent, typeof i2.CopyComponent, typeof i3.DeleteComponent, typeof i4.MoveComponent, typeof i5.RenameComponent, typeof i6.AddToCollectionComponent, typeof i7.TransferDocComponent, typeof i8.LoanRequestComponent, typeof i9.CreateDirectoryComponent, typeof i10.CreateModalComponent, typeof i11.CreationTypeComponent, typeof i12.FolderModalComponent, typeof i13.PublishDialogComponent, typeof i14.ScanModalComponent, typeof i15.ShareDialogComponent, typeof i16.TemplateModalComponent, typeof i17.UpdateModalComponent, typeof i28.DxPopupModule, typeof i28.DxScrollViewModule, typeof i29.DxiToolbarItemModule, typeof i28.DxButtonModule, typeof i28.DxTemplateModule, typeof i28.DxTextBoxModule, typeof i28.DxFormModule, typeof i28.DxTreeViewModule, typeof i18.ClipboardComponent, typeof i19.FileGridInfiniteScrollDirective]>;
59
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FileMangerModule, [typeof i1.SidepanelComponent, typeof i2.CopyComponent, typeof i3.DeleteComponent, typeof i4.MoveComponent, typeof i5.RenameComponent, typeof i6.AddToCollectionComponent, typeof i7.TransferDocComponent, typeof i8.LoanRequestComponent, typeof i9.CreateDirectoryComponent, typeof i10.CreateModalComponent, typeof i11.CreationTypeComponent, typeof i12.FolderModalComponent, typeof i13.PublishDialogComponent, typeof i14.ScanModalComponent, typeof i15.ShareDialogComponent, typeof i16.TemplateModalComponent, typeof i17.UpdateModalComponent, typeof i18.ClipboardComponent, typeof i19.FileGridInfiniteScrollDirective], [typeof i20.CommonModule, typeof i21.MatIconModule, typeof i22.DynamicFormModule, typeof i23.FormsModule, typeof i23.ReactiveFormsModule, typeof i24.LibrarySharedModule, typeof i25.TranslateModule, typeof i26.DocumentsModule, typeof i27.DirectiveModule, typeof i28.DxPopupModule, typeof i28.DxScrollViewModule, typeof i29.DxiToolbarItemModule, typeof i28.DxButtonModule, typeof i28.DxTemplateModule, typeof i28.DxTextBoxModule, typeof i28.DxFormModule, typeof i30.NgSelectModule, typeof i31.CommentsModule, typeof i32.CardModule, typeof i28.DxTreeViewModule, typeof i33.ViewerLogModule, typeof i34.CtsTagsModule, typeof i35.MatDialogModule, typeof i36.MatTooltipModule, typeof i37.CorrespondenceRelationModule, typeof i38.AvatarModule, typeof i39.DynamicFieldsRendererModule, typeof i40.MatProgressSpinnerModule, typeof i41.SelectUsersByDepartmentModule, typeof i42.PipesModule, typeof i43.DynamicTabsModule, typeof i44.ActivitiesLogModule, typeof i45.SharedServicesModule, typeof i46.ConfirmationDialogModule, typeof i47.PermissionsModule, typeof i48.UserModule, typeof i49.MutipleDynamicFormViewerModule, typeof i50.BrowserTransferStateModule, typeof i51.AttachmentModalModule, typeof i23.FormsModule, typeof i52.DisplaySuitableIconModule, typeof i53.MatProgressBarModule, typeof i54.MatCheckboxModule, typeof i55.NuxeoDialogModule], [typeof i1.SidepanelComponent, typeof i2.CopyComponent, typeof i3.DeleteComponent, typeof i4.MoveComponent, typeof i5.RenameComponent, typeof i6.AddToCollectionComponent, typeof i7.TransferDocComponent, typeof i8.LoanRequestComponent, typeof i9.CreateDirectoryComponent, typeof i10.CreateModalComponent, typeof i11.CreationTypeComponent, typeof i12.FolderModalComponent, typeof i13.PublishDialogComponent, typeof i14.ScanModalComponent, typeof i15.ShareDialogComponent, typeof i16.TemplateModalComponent, typeof i17.UpdateModalComponent, typeof i28.DxPopupModule, typeof i28.DxScrollViewModule, typeof i29.DxiToolbarItemModule, typeof i28.DxButtonModule, typeof i28.DxTemplateModule, typeof i28.DxTextBoxModule, typeof i28.DxFormModule, typeof i28.DxTreeViewModule, typeof i18.ClipboardComponent, typeof i19.FileGridInfiniteScrollDirective]>;
59
60
  static ɵinj: i0.ɵɵInjectorDeclaration<FileMangerModule>;
60
61
  }
@@ -1,13 +1,7 @@
1
- import { Injector, OnDestroy } from '@angular/core';
2
- import { Subject } from 'rxjs';
1
+ import { Injector } from '@angular/core';
2
+ import { DestroySubject } from '../../../shared/components';
3
3
  import { NotificationsService } from '../services/notifications.service';
4
4
  import * as i0 from "@angular/core";
5
- export declare abstract class DestroySubject implements OnDestroy {
6
- destroy$: Subject<void>;
7
- ngOnDestroy(): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<DestroySubject, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<DestroySubject, never, never, {}, {}, never>;
10
- }
11
5
  export declare abstract class BaseNotification extends DestroySubject {
12
6
  protected inject: Injector;
13
7
  readonly notificationsService: NotificationsService;
@@ -1,7 +1,7 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { MatMenu } from '@angular/material/menu';
3
+ import { DestroySubject } from '../../../../shared/components';
3
4
  import { NotificationModel, NotificationsListOptions } from '../../models';
4
- import { DestroySubject } from '../base-notifications.component';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class NotificationItemComponent extends DestroySubject {
7
7
  iconOptions: NotificationsListOptions['icons'];
@@ -15,6 +15,9 @@ export declare class NotificationsButtonComponent extends BaseNotification {
15
15
  isSidebarOpened: boolean;
16
16
  styleClass: string;
17
17
  badgeOptions: BadgeOptions;
18
+ shouldMarkAsUnread: boolean;
19
+ ignoredToastEvents: string[];
20
+ private _toast;
18
21
  direction$: import("rxjs").Observable<"ltr" | "rtl">;
19
22
  sidebarPosition$: import("rxjs").Observable<"left" | "right">;
20
23
  listItemClick: EventEmitter<NotificationModel>;
@@ -35,5 +38,5 @@ export declare class NotificationsButtonComponent extends BaseNotification {
35
38
  refreshUnreadCount(): void;
36
39
  private _socketListener;
37
40
  static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsButtonComponent, [null, null, null, null, { optional: true; }]>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsButtonComponent, "app-notifications-button", never, { "styleClass": "styleClass"; "badgeOptions": "badgeOptions"; }, { "listItemClick": "listItemClick"; "openSettings": "openSettings"; "openNotifications": "openNotifications"; "onNotification": "onNotification"; }, ["customIconTemplate"], ["[notifications-footer]"]>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsButtonComponent, "app-notifications-button", never, { "styleClass": "styleClass"; "badgeOptions": "badgeOptions"; "shouldMarkAsUnread": "shouldMarkAsUnread"; "ignoredToastEvents": "ignoredToastEvents"; }, { "listItemClick": "listItemClick"; "openSettings": "openSettings"; "openNotifications": "openNotifications"; "onNotification": "onNotification"; }, ["customIconTemplate"], ["[notifications-footer]"]>;
39
42
  }
@@ -10,4 +10,5 @@ export interface NotificationMessageModel {
10
10
  applicationKey: string;
11
11
  company: string;
12
12
  clickable: boolean;
13
+ event: string;
13
14
  }
@@ -6,6 +6,7 @@ export declare type NotificationPaginationMode = (typeof PAGINATION_MODE)[keyof
6
6
  export declare type NotificationsListOptions = {
7
7
  title?: string;
8
8
  panelMode?: NotificationPanelMode;
9
+ shouldMarkAsUnread?: boolean;
9
10
  filters?: {
10
11
  active?: boolean;
11
12
  date?: boolean;
@@ -31,4 +32,7 @@ export declare type NotificationsListOptions = {
31
32
  throttle?: number;
32
33
  scrollWindow?: boolean;
33
34
  };
35
+ toast?: {
36
+ ignoredEvents: string[];
37
+ };
34
38
  };
@@ -1,12 +1,14 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
1
+ import { Injector, OnDestroy, OnInit } from '@angular/core';
2
2
  import { FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { MatDialogRef } from '@angular/material/dialog';
4
4
  import { Subscription } from 'rxjs';
5
5
  import { PermissionService } from '../permission.service';
6
6
  import { CustomToastrService } from '../../custom-toastr/services/custom-toastr.service';
7
7
  import { TranslationService } from '../../../core/services/translation/translation.service';
8
+ import { BaseDialogComponent } from '../../../shared/components/base/base-dialog.component';
9
+ import { DialogActionType } from '../../../shared/components/nuxeo-dialog/models/dialog-option.model';
8
10
  import * as i0 from "@angular/core";
9
- export declare class AddPermissionsDialogComponent implements OnInit, OnDestroy {
11
+ export declare class AddPermissionsDialogComponent extends BaseDialogComponent<AddPermissionsDialogComponent, any, any> implements OnInit, OnDestroy {
10
12
  private dialogRef;
11
13
  permissionService: PermissionService;
12
14
  private tosterService;
@@ -28,15 +30,15 @@ export declare class AddPermissionsDialogComponent implements OnInit, OnDestroy
28
30
  updating: boolean;
29
31
  createAndAdd: boolean;
30
32
  refreshUsers: boolean;
31
- constructor(dialogRef: MatDialogRef<AddPermissionsDialogComponent>, permissionService: PermissionService, tosterService: CustomToastrService, fb: FormBuilder, translate: TranslationService, data: any);
33
+ constructor(dialogRef: MatDialogRef<AddPermissionsDialogComponent>, permissionService: PermissionService, tosterService: CustomToastrService, fb: FormBuilder, translate: TranslationService, data: any, injector: Injector);
32
34
  ngOnInit(): void;
33
35
  checkDates(group: FormGroup): {
34
36
  notValid: boolean;
35
37
  };
36
- createandAddAnother(permissionForm: any, newPermission: any): void;
38
+ createandAddAnother: DialogActionType;
37
39
  refreshUserArray(users: any): void;
38
- create(newPermission: any): void;
39
- edit(newPermission: any): void;
40
+ create: DialogActionType;
41
+ edit: DialogActionType;
40
42
  cancel(result: any): void;
41
43
  ngOnDestroy(): void;
42
44
  static ɵfac: i0.ɵɵFactoryDeclaration<AddPermissionsDialogComponent, never>;
@@ -7,6 +7,7 @@ import { EvaluatorsService } from '../../../directive/permissions/evaluators.ser
7
7
  import { CustomToastrService } from '../../custom-toastr/services/custom-toastr.service';
8
8
  import { TranslationService } from '../../../core/services/translation/translation.service';
9
9
  import { NuxeoService } from '../../../core/services/nuxeo/nuxeo.service';
10
+ import { NuxeoDialogService } from '../../../shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
10
11
  import * as i0 from "@angular/core";
11
12
  export declare class PermissionsComponent implements OnInit, OnDestroy {
12
13
  private permissionService;
@@ -16,6 +17,7 @@ export declare class PermissionsComponent implements OnInit, OnDestroy {
16
17
  private nuxeoService;
17
18
  private userServ;
18
19
  private evaluatorService;
20
+ nuxeoDialogService: NuxeoDialogService;
19
21
  permissionsType: any;
20
22
  documentId: any;
21
23
  document: any;
@@ -33,7 +35,7 @@ export declare class PermissionsComponent implements OnInit, OnDestroy {
33
35
  blockOrUnblock: boolean;
34
36
  loading: boolean;
35
37
  allDepartmentUsers: any[];
36
- constructor(permissionService: PermissionService, addPermissionsDialog: MatDialog, tosterService: CustomToastrService, translateService: TranslationService, nuxeoService: NuxeoService, userServ: UserService, evaluatorService: EvaluatorsService);
38
+ constructor(permissionService: PermissionService, addPermissionsDialog: MatDialog, tosterService: CustomToastrService, translateService: TranslationService, nuxeoService: NuxeoService, userServ: UserService, evaluatorService: EvaluatorsService, nuxeoDialogService: NuxeoDialogService);
37
39
  ngOnInit(): void;
38
40
  addPermissionLabel(arr: any, permissionArr: any): void;
39
41
  isItemContainAdministratorGroup(element: any): boolean;
@@ -1,18 +1,18 @@
1
1
  import { OnInit, EventEmitter } from '@angular/core';
2
- import { MatDialog } from '@angular/material/dialog';
3
2
  import { PermissionService } from '../permission.service';
4
3
  import { CustomToastrService } from '../../custom-toastr/services/custom-toastr.service';
4
+ import { NuxeoDialogService } from '../../../shared/components/nuxeo-dialog/services/nuxeo-dialog.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class PermissionsTemplateComponent implements OnInit {
7
7
  private permissionService;
8
8
  private tosterService;
9
- private dialog;
9
+ nuxeoDialogService: NuxeoDialogService;
10
10
  allowDeleteAndEdit: boolean;
11
11
  documentId: any;
12
12
  userVisiblePermissions: any;
13
13
  permissionsArray: any[];
14
14
  getPermissions: EventEmitter<any>;
15
- constructor(permissionService: PermissionService, tosterService: CustomToastrService, dialog: MatDialog);
15
+ constructor(permissionService: PermissionService, tosterService: CustomToastrService, nuxeoDialogService: NuxeoDialogService);
16
16
  ngOnInit(): void;
17
17
  deletePermission(permission: any): void;
18
18
  editPermission(permission: any, username: any, userVisiblePermissions: any, begin: any, end: any): void;