nuxeo-development-framework 1.9.1 → 1.9.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 (192) hide show
  1. package/bundles/nuxeo-development-framework.umd.js +823 -707
  2. package/bundles/nuxeo-development-framework.umd.js.map +1 -1
  3. package/esm2015/lib/Core/adapters/adapter.service.js +4 -4
  4. package/esm2015/lib/Core/core.module.js +5 -5
  5. package/esm2015/lib/Core/services/callApi/call-api.service.js +4 -4
  6. package/esm2015/lib/Core/services/extension/component-register.service.js +4 -4
  7. package/esm2015/lib/Core/services/extension/extension-loader.service.js +4 -4
  8. package/esm2015/lib/Core/services/extension/extension.service.js +4 -4
  9. package/esm2015/lib/Core/services/initialization/initialization.service.js +4 -4
  10. package/esm2015/lib/Core/services/localStorag/local-storag.service.js +4 -4
  11. package/esm2015/lib/Core/services/nuxeo/nuxeo.service.js +4 -4
  12. package/esm2015/lib/Core/services/roles/roles.service.js +4 -4
  13. package/esm2015/lib/Core/services/translation/translate-loader.service.js +4 -4
  14. package/esm2015/lib/Core/services/translation/translation.service.js +4 -4
  15. package/esm2015/lib/Core/services/user/user-preferences.service.js +4 -4
  16. package/esm2015/lib/Core/utilities/moment-date-adapter.js +4 -4
  17. package/esm2015/lib/Core/utilities/utility.service.js +4 -4
  18. package/esm2015/lib/components/activity/activity/activity.component.js +4 -4
  19. package/esm2015/lib/components/activity/activity.module.js +5 -5
  20. package/esm2015/lib/components/avatar/avatar/avatar.component.js +4 -4
  21. package/esm2015/lib/components/avatar/avatar.module.js +5 -5
  22. package/esm2015/lib/components/card/card.component.js +4 -4
  23. package/esm2015/lib/components/card/card.module.js +5 -5
  24. package/esm2015/lib/components/comments/comments.module.js +5 -5
  25. package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +4 -4
  26. package/esm2015/lib/components/comments/components/comments-dashlet/comments-dashlet.component.js +4 -4
  27. package/esm2015/lib/components/comments/components/comments-list/comments-list.component.js +4 -4
  28. package/esm2015/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.js +4 -4
  29. package/esm2015/lib/components/comments/services/comment-api.service.js +4 -4
  30. package/esm2015/lib/components/confirm-caller/confirm-caller.dialog.js +4 -4
  31. package/esm2015/lib/components/confirm-caller/confirm-caller.module.js +5 -5
  32. package/esm2015/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.js +4 -4
  33. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.js +4 -4
  34. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.js +4 -4
  35. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.js +4 -4
  36. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.js +4 -4
  37. package/esm2015/lib/components/correspondence-relation/components/versions/versions.component.js +4 -4
  38. package/esm2015/lib/components/correspondence-relation/correspondence-relation.module.js +5 -5
  39. package/esm2015/lib/components/correspondence-relation/services/correspondence-realation.service.js +4 -4
  40. package/esm2015/lib/components/correspondence-relation/services/viewer-files.service.js +4 -4
  41. package/esm2015/lib/components/create-entity/create-entity/create-entity.component.js +4 -4
  42. package/esm2015/lib/components/create-entity/create-entity.module.js +5 -5
  43. package/esm2015/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.js +4 -4
  44. package/esm2015/lib/components/cts-tags/cts-tags.module.js +5 -5
  45. package/esm2015/lib/components/cts-tags/services/tags-api.service.js +4 -4
  46. package/esm2015/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.js +4 -4
  47. package/esm2015/lib/components/custom-toastr/custom-toastr.module.js +5 -5
  48. package/esm2015/lib/components/custom-toastr/services/custom-toastr.service.js +4 -4
  49. package/esm2015/lib/components/documents/components/attachments-list/attachments-list.component.js +4 -4
  50. package/esm2015/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.js +4 -4
  51. package/esm2015/lib/components/documents/components/document-list/documents-list.component.js +4 -4
  52. package/esm2015/lib/components/documents/components/document-scan/document-scan.component.js +4 -4
  53. package/esm2015/lib/components/documents/components/document-scan/document-scan.service.js +4 -4
  54. package/esm2015/lib/components/documents/components/document-upload/document-upload.component.js +4 -4
  55. package/esm2015/lib/components/documents/components/documents/documents.component.js +4 -4
  56. package/esm2015/lib/components/documents/documents.module.js +5 -5
  57. package/esm2015/lib/components/documents/services/document-templates.service.js +4 -4
  58. package/esm2015/lib/components/documents/services/documents.service.js +4 -4
  59. package/esm2015/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.js +4 -4
  60. package/esm2015/lib/components/dynamic-chart/dynamic-chart.module.js +5 -5
  61. package/esm2015/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.js +4 -4
  62. package/esm2015/lib/components/dynamic-chart/services/chart-data.service.js +4 -4
  63. package/esm2015/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.js +4 -4
  64. package/esm2015/lib/components/dynamic-filter/dynamic-filter.module.js +5 -5
  65. package/esm2015/lib/components/dynamic-form/components/department-form/department-form.component.js +4 -4
  66. package/esm2015/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.js +4 -4
  67. package/esm2015/lib/components/dynamic-form/components/dynamic-form/fields.adapter.js +4 -4
  68. package/esm2015/lib/components/dynamic-form/components/dynamic-form/form-builder.service.js +4 -4
  69. package/esm2015/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.js +4 -4
  70. package/esm2015/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.js +4 -4
  71. package/esm2015/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.js +4 -4
  72. package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.js +4 -4
  73. package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.js +4 -4
  74. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.js +4 -4
  75. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.js +4 -4
  76. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.js +4 -4
  77. package/esm2015/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.js +4 -4
  78. package/esm2015/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.js +4 -4
  79. package/esm2015/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.js +4 -4
  80. package/esm2015/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.js +4 -4
  81. package/esm2015/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.js +4 -4
  82. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.js +4 -4
  83. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.js +4 -4
  84. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.js +4 -4
  85. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.js +4 -4
  86. package/esm2015/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.js +4 -4
  87. package/esm2015/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.js +10 -5
  88. package/esm2015/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.js +4 -4
  89. package/esm2015/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.js +4 -4
  90. package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.js +4 -4
  91. package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.js +4 -4
  92. package/esm2015/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.js +4 -4
  93. package/esm2015/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.js +4 -4
  94. package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.js +4 -4
  95. package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.js +4 -4
  96. package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.js +4 -4
  97. package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.js +4 -4
  98. package/esm2015/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.js +4 -4
  99. package/esm2015/lib/components/dynamic-form/dynamic-form.module.js +5 -5
  100. package/esm2015/lib/components/dynamic-form/services/card-item-types.service.js +4 -4
  101. package/esm2015/lib/components/dynamic-form/services/dynamic-form-update.service.js +4 -4
  102. package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +118 -27
  103. package/esm2015/lib/components/dynamic-search/dynamic-search.module.js +9 -5
  104. package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +15 -4
  105. package/esm2015/lib/components/dynamic-table/dynamic-table.module.js +5 -5
  106. package/esm2015/lib/components/dynamic-table/services/dynamic-table.service.js +4 -4
  107. package/esm2015/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.js +4 -4
  108. package/esm2015/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.js +4 -4
  109. package/esm2015/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.js +4 -4
  110. package/esm2015/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.js +4 -4
  111. package/esm2015/lib/components/dynamic-view/data-viewer/data-viewer.component.js +4 -4
  112. package/esm2015/lib/components/dynamic-view/date-viewer/date-viewer.component.js +4 -4
  113. package/esm2015/lib/components/dynamic-view/department-viewer/department-viewer.component.js +4 -4
  114. package/esm2015/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.js +4 -4
  115. package/esm2015/lib/components/dynamic-view/dynamic-view.module.js +5 -5
  116. package/esm2015/lib/components/dynamic-view/dynamic-viewe.service.js +4 -4
  117. package/esm2015/lib/components/dynamic-view/list-viewer/list-viewer.component.js +4 -4
  118. package/esm2015/lib/components/filter/filter/filter.component.js +4 -4
  119. package/esm2015/lib/components/filter/filter.module.js +5 -5
  120. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.js +4 -4
  121. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.js +4 -4
  122. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.js +4 -4
  123. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.js +4 -4
  124. package/esm2015/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.js +5 -5
  125. package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.js +4 -4
  126. package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-helper.service.js +4 -4
  127. package/esm2015/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.js +4 -4
  128. package/esm2015/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.js +4 -4
  129. package/esm2015/lib/components/latest-activity/components/activity-line/activity-line.component.js +4 -4
  130. package/esm2015/lib/components/latest-activity/components/latest-activity/latest-activity.component.js +4 -4
  131. package/esm2015/lib/components/latest-activity/components/single-activity/single-activity.component.js +4 -4
  132. package/esm2015/lib/components/latest-activity/latest-activity.module.js +5 -5
  133. package/esm2015/lib/components/latest-activity/services/activity-log.service.js +4 -4
  134. package/esm2015/lib/components/notifications/components/notification-item/notification-item.component.js +4 -4
  135. package/esm2015/lib/components/notifications/components/notification-options/notification-options.component.js +4 -4
  136. package/esm2015/lib/components/notifications/components/notification-toast/notification-toast.component.js +4 -4
  137. package/esm2015/lib/components/notifications/components/notifications-button/notifications-button.component.js +4 -4
  138. package/esm2015/lib/components/notifications/components/notifications-list/notifications-list.component.js +4 -4
  139. package/esm2015/lib/components/notifications/notifications.module.js +5 -5
  140. package/esm2015/lib/components/notifications/notifications.service.js +4 -4
  141. package/esm2015/lib/components/pagination/pagination/pagination.component.js +4 -4
  142. package/esm2015/lib/components/pagination/pagination.module.js +5 -5
  143. package/esm2015/lib/components/pdf-tron/pdf-tron.module.js +5 -5
  144. package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +4 -4
  145. package/esm2015/lib/components/pdf-tron/pdftron/pdftron.service.js +4 -4
  146. package/esm2015/lib/components/select/select/select.component.js +4 -4
  147. package/esm2015/lib/components/select/select.module.js +5 -5
  148. package/esm2015/lib/components/table/dynamic-column/dynamic-column.component.js +4 -4
  149. package/esm2015/lib/components/table/table/table.component.js +26 -8
  150. package/esm2015/lib/components/table/table.module.js +5 -5
  151. package/esm2015/lib/components/users-card/users-card.component.js +4 -4
  152. package/esm2015/lib/components/users-card/users-card.module.js +5 -5
  153. package/esm2015/lib/components/viewer-log/components/viewer-log/viewer-log.component.js +4 -4
  154. package/esm2015/lib/components/viewer-log/viewer-log.module.js +5 -5
  155. package/esm2015/lib/components/vocabulary/services/vocabulary-api.service.js +4 -4
  156. package/esm2015/lib/components/vocabulary/vocabulary/vocabulary.component.js +4 -4
  157. package/esm2015/lib/components/vocabulary/vocabulary.module.js +5 -5
  158. package/esm2015/lib/configuration/app-config.service.js +4 -4
  159. package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +4 -4
  160. package/esm2015/lib/directive/clickOutSide/click-outside.directive.js +4 -4
  161. package/esm2015/lib/directive/directive.module.js +5 -5
  162. package/esm2015/lib/directive/permissions/evaluators.service.js +4 -4
  163. package/esm2015/lib/directive/permissions/permissions.directive.js +4 -4
  164. package/esm2015/lib/directive/rtl/set-dir-rtl.directive.js +4 -4
  165. package/esm2015/lib/directive/rtl/set-rtl.directive.js +4 -4
  166. package/esm2015/lib/nuxeo-development-framework.component.js +4 -4
  167. package/esm2015/lib/nuxeo-development-framework.module.js +5 -5
  168. package/esm2015/lib/nuxeo-development-framework.service.js +4 -4
  169. package/esm2015/lib/pipes/file-size.pipe.js +4 -4
  170. package/esm2015/lib/pipes/hijri-date.pipe.js +4 -4
  171. package/esm2015/lib/pipes/localized-date.pipe.js +4 -4
  172. package/esm2015/lib/pipes/multi-value.pipe.js +4 -4
  173. package/esm2015/lib/pipes/pipes.module.js +5 -5
  174. package/esm2015/lib/pipes/secure-html.pipe.js +4 -4
  175. package/esm2015/lib/pipes/secure.pipe.js +4 -4
  176. package/esm2015/lib/pipes/time-ago.pipe.js +4 -4
  177. package/esm2015/lib/shared/components/button/button.component.js +4 -4
  178. package/esm2015/lib/shared/components/item-list/item-list.component.js +4 -4
  179. package/esm2015/lib/shared/components/no-data/no-data.component.js +4 -4
  180. package/esm2015/lib/shared/components/read-more/read-more.component.js +4 -4
  181. package/esm2015/lib/shared/components/search-autocomplete/search-autocomplete.component.js +4 -4
  182. package/esm2015/lib/shared/components/spinner/spinner.component.js +4 -4
  183. package/esm2015/lib/shared/components/user-card/user-card.component.js +4 -4
  184. package/esm2015/lib/shared/libraryShared.module.js +5 -5
  185. package/fesm2015/nuxeo-development-framework.js +737 -614
  186. package/fesm2015/nuxeo-development-framework.js.map +1 -1
  187. package/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.d.ts +4 -1
  188. package/lib/components/dynamic-search/dynamic-search/dynamic-search.component.d.ts +16 -1
  189. package/lib/components/dynamic-search/dynamic-search.module.d.ts +4 -3
  190. package/lib/components/dynamic-table/dynamic-table/dynamic-table.component.d.ts +6 -1
  191. package/lib/components/table/table/table.component.d.ts +7 -1
  192. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
+ import { EventEmitter } from '@angular/core';
1
2
  import { ControlValueAccessor, NgControl } from '@angular/forms';
2
3
  import * as i0 from "@angular/core";
3
4
  /**
@@ -22,6 +23,8 @@ export declare class DynamicFormSlideToggleitemComponent implements ControlValue
22
23
  checked: boolean;
23
24
  /** @deprecated Not used */
24
25
  theme: String;
26
+ /** event to emit to outside to tell about toggling */
27
+ onToggle: EventEmitter<any>;
25
28
  onChange: any;
26
29
  onTouched: any;
27
30
  constructor(control: NgControl);
@@ -33,5 +36,5 @@ export declare class DynamicFormSlideToggleitemComponent implements ControlValue
33
36
  setValue(event: any): void;
34
37
  ngOnInit(): void;
35
38
  static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormSlideToggleitemComponent, [{ optional: true; self: true; }]>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormSlideToggleitemComponent, "cts-dynamic-form-slide-toggleitem", never, { "label": "label"; "disabled": "disabled"; "checked": "checked"; "theme": "theme"; }, {}, never, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormSlideToggleitemComponent, "cts-dynamic-form-slide-toggleitem", never, { "label": "label"; "disabled": "disabled"; "checked": "checked"; "theme": "theme"; }, { "onToggle": "onToggle"; }, never, never>;
37
40
  }
@@ -2,6 +2,9 @@ import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
3
  import { ActivatedRoute, Router } from '@angular/router';
4
4
  import { BreakpointObserver } from '@angular/cdk/layout';
5
+ import { EvaluatorsService } from '../../../directive/permissions/evaluators.service';
6
+ import { Observable } from 'rxjs';
7
+ import { NuxeoService } from '../../../Core/services/nuxeo/nuxeo.service';
5
8
  import * as i0 from "@angular/core";
6
9
  /**
7
10
  * Dynamic search component uses [Dynamic Table]{@link DynamicTableComponent} & [Dynamic Filter]{@link DynamicFilterComponent} internally,
@@ -29,6 +32,9 @@ import * as i0 from "@angular/core";
29
32
  export declare class DynamicSearchComponent implements OnInit, OnChanges {
30
33
  private route;
31
34
  private router;
35
+ private evaluatorService;
36
+ private nuxeoService;
37
+ private environment;
32
38
  breakpointObserver: BreakpointObserver;
33
39
  text: string;
34
40
  aggregations: any;
@@ -65,18 +71,27 @@ export declare class DynamicSearchComponent implements OnInit, OnChanges {
65
71
  customResponsiveStyle: boolean;
66
72
  openCloseFilterFromOutside: boolean;
67
73
  theme: any;
68
- constructor(route: ActivatedRoute, router: Router, breakpointObserver: BreakpointObserver);
74
+ useToggleFilters: any;
75
+ quickFilters: string;
76
+ savedPersFilterValue: any;
77
+ savedDepFilterValue: any;
78
+ resultSets: any[];
79
+ constructor(route: ActivatedRoute, router: Router, evaluatorService: EvaluatorsService, nuxeoService: NuxeoService, environment: any, breakpointObserver: BreakpointObserver);
69
80
  ngOnChanges(changes: SimpleChanges): void;
70
81
  ngOnInit(): void;
82
+ constructParamsFunction(params: any): {};
71
83
  updateQueryParams(newQueryparams: object): void;
72
84
  searchInputPopulate(): void;
73
85
  FilterSelected(val: any): void;
74
86
  paginationChange(event: any): void;
75
87
  getTableData(data: any): void;
76
88
  submitForm(): void;
89
+ getToggleFilters(): "" | "personalFilter" | "departmentFilter";
90
+ setOptionValue(searchedText: any): void;
77
91
  onOpenFilter(): void;
78
92
  breakpoint(): void;
79
93
  performAction(action: any): void;
94
+ search(term: string): Observable<any>;
80
95
  static ɵfac: i0.ɵɵFactoryDeclaration<DynamicSearchComponent, never>;
81
96
  static ɵcmp: i0.ɵɵComponentDeclaration<DynamicSearchComponent, "cts-dynamic-search", never, { "columns": "columns"; "responsiveColumns": "responsiveColumns"; "entityType": "entityType"; "prefix": "prefix"; "headers": "headers"; "fields": "fields"; "pageProvider": "pageProvider"; "pageSize": "pageSize"; "sortingBy": "sortingBy"; "fullTextParamName": "fullTextParamName"; "filter": "filter"; "onRowSelected": "onRowSelected"; "sortingArray": "sortingArray"; "customResponsiveStyle": "customResponsiveStyle"; "openCloseFilterFromOutside": "openCloseFilterFromOutside"; "theme": "theme"; }, { "actionOnRow": "actionOnRow"; }, never, never>;
82
97
  }
@@ -6,14 +6,15 @@ import * as i4 from "../dynamic-table/dynamic-table.module";
6
6
  import * as i5 from "../dynamic-filter/dynamic-filter.module";
7
7
  import * as i6 from "../dynamic-form/dynamic-form.module";
8
8
  import * as i7 from "@angular/forms";
9
- import * as i8 from "@ngx-translate/core";
10
- import * as i9 from "@angular/material/progress-spinner";
9
+ import * as i8 from "@angular/material/autocomplete";
10
+ import * as i9 from "@ngx-translate/core";
11
+ import * as i10 from "@angular/material/progress-spinner";
11
12
  /**
12
13
  * @title
13
14
  * Dynamic Search Module
14
15
  */
15
16
  export declare class DynamicSearchModule {
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<DynamicSearchModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicSearchModule, [typeof i1.DynamicSearchComponent], [typeof i2.CommonModule, typeof i3.CardModule, typeof i4.DynamicTableModule, typeof i5.DynamicFilterModule, typeof i6.DynamicFormModule, typeof i7.ReactiveFormsModule, typeof i7.FormsModule, typeof i8.TranslateModule, typeof i9.MatProgressSpinnerModule], [typeof i1.DynamicSearchComponent]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DynamicSearchModule, [typeof i1.DynamicSearchComponent], [typeof i2.CommonModule, typeof i3.CardModule, typeof i4.DynamicTableModule, typeof i5.DynamicFilterModule, typeof i6.DynamicFormModule, typeof i7.ReactiveFormsModule, typeof i8.MatAutocompleteModule, typeof i7.FormsModule, typeof i9.TranslateModule, typeof i10.MatProgressSpinnerModule], [typeof i1.DynamicSearchComponent]>;
18
19
  static ɵinj: i0.ɵɵInjectorDeclaration<DynamicSearchModule>;
19
20
  }
@@ -43,6 +43,8 @@ export declare class DynamicTableComponent implements OnInit, OnDestroy {
43
43
  actionOnRow: EventEmitter<any>;
44
44
  /** event to emit to the higher level when getting data from api is finished */
45
45
  onGettingData: EventEmitter<any>;
46
+ /** event t emit when selecting multiple row */
47
+ onMultiRowSelected: EventEmitter<any>;
46
48
  /** Array of columns */
47
49
  columns: any;
48
50
  /** Array of columns on smaller screens */
@@ -78,6 +80,8 @@ export declare class DynamicTableComponent implements OnInit, OnDestroy {
78
80
  }[];
79
81
  range: any;
80
82
  isSearchPage: boolean;
83
+ /** allow multiselect rows with checkbox */
84
+ multiSelectRows: boolean;
81
85
  highlightSelectedCard: boolean;
82
86
  filterParams: {};
83
87
  pageNum: number;
@@ -95,7 +99,8 @@ export declare class DynamicTableComponent implements OnInit, OnDestroy {
95
99
  indexDetails(event: any): void;
96
100
  performAction(action: any): void;
97
101
  onSort(sortObject: any): void;
102
+ onMultiRowSelectValue(event: any): void;
98
103
  PaginationChange(event: any): void;
99
104
  static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableComponent, never>;
100
- static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "cts-dynamic-table", never, { "columns": "columns"; "responsiveColumns": "responsiveColumns"; "entityType": "entityType"; "prefix": "prefix"; "headers": "headers"; "fields": "fields"; "pageProvider": "pageProvider"; "pageSize": "pageSize"; "sortingBy": "sortingBy"; "queryParam": "queryParam"; "quickFilter": "quickFilter"; "report": "report"; "rowCursor": "rowCursor"; "fullWidth": "fullWidth"; "tableMode": "tableMode"; "tableActions": "tableActions"; "defultSort": "defultSort"; "range": "range"; "isSearchPage": "isSearchPage"; "highlightSelectedCard": "highlightSelectedCard"; }, { "onRowSelected": "onRowSelected"; "onRowIndexSelected": "onRowIndexSelected"; "actionOnRow": "actionOnRow"; "onGettingData": "onGettingData"; }, never, never>;
105
+ static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "cts-dynamic-table", never, { "columns": "columns"; "responsiveColumns": "responsiveColumns"; "entityType": "entityType"; "prefix": "prefix"; "headers": "headers"; "fields": "fields"; "pageProvider": "pageProvider"; "pageSize": "pageSize"; "sortingBy": "sortingBy"; "queryParam": "queryParam"; "quickFilter": "quickFilter"; "report": "report"; "rowCursor": "rowCursor"; "fullWidth": "fullWidth"; "tableMode": "tableMode"; "tableActions": "tableActions"; "defultSort": "defultSort"; "range": "range"; "isSearchPage": "isSearchPage"; "multiSelectRows": "multiSelectRows"; "highlightSelectedCard": "highlightSelectedCard"; }, { "onRowSelected": "onRowSelected"; "onRowIndexSelected": "onRowIndexSelected"; "actionOnRow": "actionOnRow"; "onGettingData": "onGettingData"; "onMultiRowSelected": "onMultiRowSelected"; }, never, never>;
101
106
  }
@@ -51,6 +51,8 @@ export declare class TableComponent implements OnInit {
51
51
  actionOnRow: EventEmitter<any>;
52
52
  /** event t emit when sorting table */
53
53
  onSorting: EventEmitter<any>;
54
+ /** event t emit when selecting multiple row */
55
+ onMultiRowSelected: EventEmitter<any>;
54
56
  /** aray of rows passed from out side the component */
55
57
  rows: any;
56
58
  /** array of columns paased from out side the component */
@@ -79,6 +81,10 @@ export declare class TableComponent implements OnInit {
79
81
  defultSort: any;
80
82
  langSubscription: Subscription;
81
83
  highlightSelectedCard: boolean;
84
+ /** allow multiselect rows with checkbox */
85
+ multiSelectRows: boolean;
86
+ /** flage used to disable actions if there was multi selected rows */
87
+ disabledActions: boolean;
82
88
  isArabic: boolean;
83
89
  tableWidth: string;
84
90
  tableColumns: any[];
@@ -97,5 +103,5 @@ export declare class TableComponent implements OnInit {
97
103
  cardSelected(card: any): void;
98
104
  cardFocused(index: any): void;
99
105
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
100
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "cts-table", never, { "rows": "rows"; "columns": "columns"; "responsiveColumns": "responsiveColumns"; "entityType": "entityType"; "prefix": "prefix"; "pageCount": "pageCount"; "totalRecords": "totalRecords"; "rowCursor": "rowCursor"; "fullWidth": "fullWidth"; "vocItemTranslationPrefix": "vocItemTranslationPrefix"; "tableMode": "tableMode"; "tableActions": "tableActions"; "format": "format"; "defultSort": "defultSort"; "highlightSelectedCard": "highlightSelectedCard"; }, { "onRowSelected": "onRowSelected"; "onRowIndexSelected": "onRowIndexSelected"; "onIconSelected": "onIconSelected"; "actionOnRow": "actionOnRow"; "onSorting": "onSorting"; }, never, never>;
106
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "cts-table", never, { "rows": "rows"; "columns": "columns"; "responsiveColumns": "responsiveColumns"; "entityType": "entityType"; "prefix": "prefix"; "pageCount": "pageCount"; "totalRecords": "totalRecords"; "rowCursor": "rowCursor"; "fullWidth": "fullWidth"; "vocItemTranslationPrefix": "vocItemTranslationPrefix"; "tableMode": "tableMode"; "tableActions": "tableActions"; "format": "format"; "defultSort": "defultSort"; "highlightSelectedCard": "highlightSelectedCard"; "multiSelectRows": "multiSelectRows"; }, { "onRowSelected": "onRowSelected"; "onRowIndexSelected": "onRowIndexSelected"; "onIconSelected": "onIconSelected"; "actionOnRow": "actionOnRow"; "onSorting": "onSorting"; "onMultiRowSelected": "onMultiRowSelected"; }, never, never>;
101
107
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxeo-development-framework",
3
- "version": "1.9.1",
3
+ "version": "1.9.3",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "~12.2.4",
6
6
  "@angular/common": "~12.2.4",