nuxeo-development-framework 0.0.2 → 0.0.6

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 (433) hide show
  1. package/README.md +24 -24
  2. package/bundles/nuxeo-development-framework.umd.js +18534 -50
  3. package/bundles/nuxeo-development-framework.umd.js.map +1 -1
  4. package/esm2015/lib/Core/adapters/adapter.service.js +50 -0
  5. package/esm2015/lib/Core/core.module.js +104 -0
  6. package/esm2015/lib/Core/enums/language.enum.js +6 -0
  7. package/esm2015/lib/Core/models/component.model.js +8 -0
  8. package/esm2015/lib/Core/services/callApi/call-api.service.js +33 -0
  9. package/esm2015/lib/Core/services/initialization/initialization.service.js +57 -0
  10. package/esm2015/lib/Core/services/localStorag/local-storag.service.js +123 -0
  11. package/esm2015/lib/Core/services/nuxeo/nuxeo-override.js +82 -0
  12. package/esm2015/lib/Core/services/nuxeo/nuxeo.service.js +120 -0
  13. package/esm2015/lib/Core/services/roles/roles.service.js +103 -0
  14. package/esm2015/lib/Core/services/translation/translate-loader.service.js +150 -0
  15. package/esm2015/lib/Core/services/translation/translation.service.js +171 -0
  16. package/esm2015/lib/Core/services/user/user-preferences.service.js +153 -0
  17. package/esm2015/lib/Core/utilities/moment-date-adapter.js +178 -0
  18. package/esm2015/lib/Core/utilities/utility.service.js +81 -0
  19. package/esm2015/lib/components/activity/activity/activity.component.js +28 -0
  20. package/esm2015/lib/components/activity/activity.module.js +37 -0
  21. package/esm2015/lib/components/avatar/avatar/avatar.component.js +55 -0
  22. package/esm2015/lib/components/avatar/avatar.module.js +32 -0
  23. package/esm2015/lib/components/card/card.component.js +48 -0
  24. package/esm2015/lib/components/card/card.module.js +23 -0
  25. package/esm2015/lib/components/comments/comments.module.js +76 -0
  26. package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +33 -0
  27. package/esm2015/lib/components/comments/components/comments-dashlet/comments-dashlet.component.js +78 -0
  28. package/esm2015/lib/components/comments/components/comments-list/comments-list.component.js +68 -0
  29. package/esm2015/lib/components/comments/constants/comment.js +25 -0
  30. package/esm2015/lib/components/comments/services/comment-api.service.js +49 -0
  31. package/esm2015/lib/components/confirm-caller/confirm-caller.dialog.js +73 -0
  32. package/esm2015/lib/components/confirm-caller/confirm-caller.module.js +27 -0
  33. package/esm2015/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.js +29 -0
  34. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.js +134 -0
  35. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.js +133 -0
  36. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.js +110 -0
  37. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.js +49 -0
  38. package/esm2015/lib/components/correspondence-relation/components/versions/versions.component.js +61 -0
  39. package/esm2015/lib/components/correspondence-relation/correspondence-relation.module.js +111 -0
  40. package/esm2015/lib/components/correspondence-relation/services/correspondence-realation.service.js +115 -0
  41. package/esm2015/lib/components/correspondence-relation/services/viewer-files.service.js +50 -0
  42. package/esm2015/lib/components/create-entity/create-entity/create-entity.component.js +62 -0
  43. package/esm2015/lib/components/create-entity/create-entity.module.js +36 -0
  44. package/esm2015/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.js +73 -0
  45. package/esm2015/lib/components/cts-tags/cts-tags.module.js +65 -0
  46. package/esm2015/lib/components/cts-tags/services/tags-api.service.js +61 -0
  47. package/esm2015/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.js +82 -0
  48. package/esm2015/lib/components/custom-toastr/custom-toastr.module.js +36 -0
  49. package/esm2015/lib/components/custom-toastr/interfaces/toast-type.interface.js +2 -0
  50. package/esm2015/lib/components/custom-toastr/services/custom-toastr.service.js +41 -0
  51. package/esm2015/lib/components/documents/components/attachments-list/attachments-list.component.js +156 -0
  52. package/esm2015/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.js +72 -0
  53. package/esm2015/lib/components/documents/components/document-list/documents-list.component.js +255 -0
  54. package/esm2015/lib/components/documents/components/document-scan/document-scan.component.js +929 -0
  55. package/esm2015/lib/components/documents/components/document-upload/document-upload.component.js +159 -0
  56. package/esm2015/lib/components/documents/components/documents/documents.component.js +61 -0
  57. package/esm2015/lib/components/documents/constants/document-templates.js +32 -0
  58. package/esm2015/lib/components/documents/constants/documents.js +86 -0
  59. package/esm2015/lib/components/documents/documents.module.js +123 -0
  60. package/esm2015/lib/components/documents/services/document-templates.service.js +115 -0
  61. package/esm2015/lib/components/documents/services/documents.service.js +217 -0
  62. package/esm2015/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.js +342 -0
  63. package/esm2015/lib/components/dynamic-chart/dynamic-chart.module.js +34 -0
  64. package/esm2015/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.js +164 -0
  65. package/esm2015/lib/components/dynamic-chart/services/chart-data.service.js +542 -0
  66. package/esm2015/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.js +106 -0
  67. package/esm2015/lib/components/dynamic-filter/dynamic-filter.module.js +26 -0
  68. package/esm2015/lib/components/dynamic-form/components/department-form/department-form.component.js +124 -0
  69. package/esm2015/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.js +94 -0
  70. package/esm2015/lib/components/dynamic-form/components/dynamic-form/fields.adapter.js +127 -0
  71. package/esm2015/lib/components/dynamic-form/components/dynamic-form/form-builder.service.js +102 -0
  72. package/esm2015/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.js +35 -0
  73. package/esm2015/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.js +165 -0
  74. package/esm2015/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.js +71 -0
  75. package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.js +202 -0
  76. package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.js +78 -0
  77. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/constants/department.js +13 -0
  78. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.js +185 -0
  79. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.js +207 -0
  80. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.js +94 -0
  81. package/esm2015/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.js +85 -0
  82. package/esm2015/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.js +128 -0
  83. package/esm2015/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.js +81 -0
  84. package/esm2015/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.js +36 -0
  85. package/esm2015/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.js +106 -0
  86. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.js +93 -0
  87. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.js +207 -0
  88. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.js +302 -0
  89. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.js +44 -0
  90. package/esm2015/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.js +176 -0
  91. package/esm2015/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.js +76 -0
  92. package/esm2015/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.js +180 -0
  93. package/esm2015/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.js +250 -0
  94. package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.js +63 -0
  95. package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.js +269 -0
  96. package/esm2015/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.js +47 -0
  97. package/esm2015/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.js +172 -0
  98. package/esm2015/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.js +768 -0
  99. package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.js +35 -0
  100. package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.js +17 -0
  101. package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.js +34 -0
  102. package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.js +17 -0
  103. package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.js +38 -0
  104. package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.js +30 -0
  105. package/esm2015/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.js +17 -0
  106. package/esm2015/lib/components/dynamic-form/dynamic-form.module.js +289 -0
  107. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.js +2 -0
  108. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.js +2 -0
  109. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.js +2 -0
  110. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.js +2 -0
  111. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.js +2 -0
  112. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.js +2 -0
  113. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.js +2 -0
  114. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.js +2 -0
  115. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.js +2 -0
  116. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form.interfaces.js +10 -0
  117. package/esm2015/lib/components/dynamic-form/models/dynamic-form-baseitem.model.js +63 -0
  118. package/esm2015/lib/components/dynamic-form/models/dynamic-form-boolitem.model.js +20 -0
  119. package/esm2015/lib/components/dynamic-form/models/dynamic-form-dateitem.model.js +24 -0
  120. package/esm2015/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.js +12 -0
  121. package/esm2015/lib/components/dynamic-form/models/dynamic-form-mapitem.model.js +16 -0
  122. package/esm2015/lib/components/dynamic-form/models/dynamic-form-selectitem.model.js +17 -0
  123. package/esm2015/lib/components/dynamic-form/models/dynamic-form-textitem.model.js +32 -0
  124. package/esm2015/lib/components/dynamic-form/models/dynamic-form.models.js +8 -0
  125. package/esm2015/lib/components/dynamic-form/services/card-item-types.service.js +46 -0
  126. package/esm2015/lib/components/dynamic-form/services/dynamic-component-mapper.service.js +60 -0
  127. package/esm2015/lib/components/dynamic-form/services/dynamic-form-update.service.js +74 -0
  128. package/esm2015/lib/components/dynamic-form/validators/length-validator.js +15 -0
  129. package/esm2015/lib/components/dynamic-form/validators/regex-validator.js +15 -0
  130. package/esm2015/lib/components/dynamic-form/validators/required-validator.js +9 -0
  131. package/esm2015/lib/components/dynamic-form/validators/value-validator.js +15 -0
  132. package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +148 -0
  133. package/esm2015/lib/components/dynamic-search/dynamic-search.module.js +57 -0
  134. package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +204 -0
  135. package/esm2015/lib/components/dynamic-table/dynamic-table.module.js +44 -0
  136. package/esm2015/lib/components/dynamic-table/services/dynamic-table.service.js +16 -0
  137. package/esm2015/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.js +36 -0
  138. package/esm2015/lib/components/dynamic-view/data-viewer/data-viewer.component.js +32 -0
  139. package/esm2015/lib/components/dynamic-view/date-viewer/date-viewer.component.js +49 -0
  140. package/esm2015/lib/components/dynamic-view/department-viewer/department-viewer.component.js +71 -0
  141. package/esm2015/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.js +60 -0
  142. package/esm2015/lib/components/dynamic-view/dynamic-view.module.js +54 -0
  143. package/esm2015/lib/components/dynamic-view/list-viewer/list-viewer.component.js +40 -0
  144. package/esm2015/lib/components/filter/filter/filter.component.js +94 -0
  145. package/esm2015/lib/components/filter/filter.module.js +45 -0
  146. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.js +114 -0
  147. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.js +111 -0
  148. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.js +165 -0
  149. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.js +32 -0
  150. package/esm2015/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.js +54 -0
  151. package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.js +71 -0
  152. package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-helper.service.js +25 -0
  153. package/esm2015/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.js +43 -0
  154. package/esm2015/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.js +26 -0
  155. package/esm2015/lib/components/hijri-gregorian-datepicker/utils/consts.js +5 -0
  156. package/esm2015/lib/components/latest-activity/components/activity-line/activity-line.component.js +75 -0
  157. package/esm2015/lib/components/latest-activity/components/latest-activity/latest-activity.component.js +70 -0
  158. package/esm2015/lib/components/latest-activity/components/single-activity/single-activity.component.js +27 -0
  159. package/esm2015/lib/components/latest-activity/constants/activitylog.js +80 -0
  160. package/esm2015/lib/components/latest-activity/latest-activity.module.js +53 -0
  161. package/esm2015/lib/components/latest-activity/services/activity-log.service.js +33 -0
  162. package/esm2015/lib/components/notifications/components/notification-item/notification-item.component.js +69 -0
  163. package/esm2015/lib/components/notifications/components/notification-options/notification-options.component.js +22 -0
  164. package/esm2015/lib/components/notifications/components/notification-toast/notification-toast.component.js +57 -0
  165. package/esm2015/lib/components/notifications/components/notifications-button/notifications-button.component.js +129 -0
  166. package/esm2015/lib/components/notifications/components/notifications-list/notifications-list.component.js +149 -0
  167. package/esm2015/lib/components/notifications/notifications.module.js +109 -0
  168. package/esm2015/lib/components/notifications/notifications.service.js +277 -0
  169. package/esm2015/lib/components/pagination/pagination/pagination.component.js +123 -0
  170. package/esm2015/lib/components/pagination/pagination.module.js +32 -0
  171. package/esm2015/lib/components/pdf-tron/pdf-tron.module.js +24 -0
  172. package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +228 -0
  173. package/esm2015/lib/components/pdf-tron/pdftron/pdftron.service.js +181 -0
  174. package/esm2015/lib/components/select/select/select.component.js +130 -0
  175. package/esm2015/lib/components/select/select.module.js +37 -0
  176. package/esm2015/lib/components/table/table/table.component.js +174 -0
  177. package/esm2015/lib/components/table/table.module.js +57 -0
  178. package/esm2015/lib/components/users-card/users-card.component.js +43 -0
  179. package/esm2015/lib/components/users-card/users-card.module.js +28 -0
  180. package/esm2015/lib/components/viewer-log/components/viewer-log/viewer-log.component.js +33 -0
  181. package/esm2015/lib/components/viewer-log/viewer-log.module.js +20 -0
  182. package/esm2015/lib/components/vocabulary/interfaces/op-type.interface.js +2 -0
  183. package/esm2015/lib/components/vocabulary/services/vocabulary-api.service.js +49 -0
  184. package/esm2015/lib/components/vocabulary/vocabulary/vocabulary.component.js +106 -0
  185. package/esm2015/lib/components/vocabulary/vocabulary.module.js +34 -0
  186. package/esm2015/lib/configuration/app-config.service.js +26 -0
  187. package/esm2015/lib/configuration/helpers/app-initializer.js +4 -0
  188. package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +61 -0
  189. package/esm2015/lib/directive/clickOutSide/click-outside.directive.js +29 -0
  190. package/esm2015/lib/directive/directive.module.js +48 -0
  191. package/esm2015/lib/directive/permissions/evaluators.service.js +118 -0
  192. package/esm2015/lib/directive/permissions/permissions.directive.js +106 -0
  193. package/esm2015/lib/directive/rtl/set-dir-rtl.directive.js +28 -0
  194. package/esm2015/lib/directive/rtl/set-rtl.directive.js +29 -0
  195. package/esm2015/lib/nuxeo-development-framework.component.js +26 -18
  196. package/esm2015/lib/nuxeo-development-framework.module.js +45 -16
  197. package/esm2015/lib/nuxeo-development-framework.service.js +14 -13
  198. package/esm2015/lib/pipes/file-size.pipe.js +57 -0
  199. package/esm2015/lib/pipes/hijri-date.pipe.js +46 -0
  200. package/esm2015/lib/pipes/localized-date.pipe.js +81 -0
  201. package/esm2015/lib/pipes/multi-value.pipe.js +42 -0
  202. package/esm2015/lib/pipes/pipes.module.js +29 -0
  203. package/esm2015/lib/pipes/secure-html.pipe.js +34 -0
  204. package/esm2015/lib/pipes/secure.pipe.js +40 -0
  205. package/esm2015/lib/pipes/time-ago.pipe.js +68 -0
  206. package/esm2015/lib/shared/components/button/button.component.js +87 -0
  207. package/esm2015/lib/shared/components/item-list/item-list.component.js +76 -0
  208. package/esm2015/lib/shared/components/no-data/no-data.component.js +37 -0
  209. package/esm2015/lib/shared/components/read-more/read-more.component.js +107 -0
  210. package/esm2015/lib/shared/components/search-autocomplete/search-autocomplete.component.js +144 -0
  211. package/esm2015/lib/shared/components/spinner/spinner.component.js +29 -0
  212. package/esm2015/lib/shared/components/user-card/user-card.component.js +49 -0
  213. package/esm2015/lib/shared/libraryShared.module.js +80 -0
  214. package/esm2015/nuxeo-development-framework.js +4 -4
  215. package/esm2015/public-api.js +156 -7
  216. package/fesm2015/nuxeo-development-framework.js +17027 -49
  217. package/fesm2015/nuxeo-development-framework.js.map +1 -1
  218. package/lib/Core/adapters/adapter.service.d.ts +11 -0
  219. package/lib/Core/core.module.d.ts +14 -0
  220. package/lib/Core/enums/language.enum.d.ts +4 -0
  221. package/lib/Core/models/component.model.d.ts +6 -0
  222. package/lib/Core/services/callApi/call-api.service.d.ts +11 -0
  223. package/lib/Core/services/initialization/initialization.service.d.ts +14 -0
  224. package/lib/Core/services/localStorag/local-storag.service.d.ts +41 -0
  225. package/lib/Core/services/nuxeo/nuxeo-override.d.ts +8 -0
  226. package/lib/Core/services/nuxeo/nuxeo.service.d.ts +33 -0
  227. package/lib/Core/services/roles/roles.service.d.ts +11 -0
  228. package/lib/Core/services/translation/translate-loader.service.d.ts +26 -0
  229. package/lib/Core/services/translation/translation.service.d.ts +71 -0
  230. package/lib/Core/services/user/user-preferences.service.d.ts +80 -0
  231. package/lib/Core/utilities/moment-date-adapter.d.ts +37 -0
  232. package/lib/Core/utilities/utility.service.d.ts +11 -0
  233. package/lib/components/activity/activity/activity.component.d.ts +13 -0
  234. package/lib/components/activity/activity.module.d.ts +13 -0
  235. package/lib/components/avatar/avatar/avatar.component.d.ts +23 -0
  236. package/lib/components/avatar/avatar.module.d.ts +13 -0
  237. package/lib/components/card/card.component.d.ts +32 -0
  238. package/lib/components/card/card.module.d.ts +12 -0
  239. package/lib/components/comments/comments.module.d.ts +25 -0
  240. package/lib/components/comments/components/comment-item/comment-item.component.d.ts +13 -0
  241. package/lib/components/comments/components/comments-dashlet/comments-dashlet.component.d.ts +45 -0
  242. package/lib/components/comments/components/comments-list/comments-list.component.d.ts +26 -0
  243. package/lib/components/comments/constants/comment.d.ts +25 -0
  244. package/lib/components/comments/services/comment-api.service.d.ts +14 -0
  245. package/lib/components/confirm-caller/confirm-caller.dialog.d.ts +46 -0
  246. package/lib/components/confirm-caller/confirm-caller.module.d.ts +16 -0
  247. package/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.d.ts +12 -0
  248. package/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.d.ts +34 -0
  249. package/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.d.ts +42 -0
  250. package/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.d.ts +31 -0
  251. package/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.d.ts +18 -0
  252. package/lib/components/correspondence-relation/components/versions/versions.component.d.ts +31 -0
  253. package/lib/components/correspondence-relation/correspondence-relation.module.d.ts +30 -0
  254. package/lib/components/correspondence-relation/services/correspondence-realation.service.d.ts +24 -0
  255. package/lib/components/correspondence-relation/services/viewer-files.service.d.ts +18 -0
  256. package/lib/components/create-entity/create-entity/create-entity.component.d.ts +17 -0
  257. package/lib/components/create-entity/create-entity.module.d.ts +11 -0
  258. package/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.d.ts +28 -0
  259. package/lib/components/cts-tags/cts-tags.module.d.ts +21 -0
  260. package/lib/components/cts-tags/services/tags-api.service.d.ts +15 -0
  261. package/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.d.ts +30 -0
  262. package/lib/components/custom-toastr/custom-toastr.module.d.ts +12 -0
  263. package/lib/components/custom-toastr/interfaces/toast-type.interface.d.ts +1 -0
  264. package/lib/components/custom-toastr/services/custom-toastr.service.d.ts +18 -0
  265. package/lib/components/documents/components/attachments-list/attachments-list.component.d.ts +54 -0
  266. package/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.d.ts +37 -0
  267. package/lib/components/documents/components/document-list/documents-list.component.d.ts +81 -0
  268. package/lib/components/documents/components/document-scan/document-scan.component.d.ts +103 -0
  269. package/lib/components/documents/components/document-upload/document-upload.component.d.ts +58 -0
  270. package/lib/components/documents/components/documents/documents.component.d.ts +27 -0
  271. package/lib/components/documents/constants/document-templates.d.ts +33 -0
  272. package/lib/components/documents/constants/documents.d.ts +95 -0
  273. package/lib/components/documents/documents.module.d.ts +33 -0
  274. package/lib/components/documents/services/document-templates.service.d.ts +24 -0
  275. package/lib/components/documents/services/documents.service.d.ts +36 -0
  276. package/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.d.ts +63 -0
  277. package/lib/components/dynamic-chart/dynamic-chart.module.d.ts +16 -0
  278. package/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.d.ts +33 -0
  279. package/lib/components/dynamic-chart/services/chart-data.service.d.ts +37 -0
  280. package/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.d.ts +45 -0
  281. package/lib/components/dynamic-filter/dynamic-filter.module.d.ts +16 -0
  282. package/lib/components/dynamic-form/components/department-form/department-form.component.d.ts +28 -0
  283. package/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.d.ts +26 -0
  284. package/lib/components/dynamic-form/components/dynamic-form/fields.adapter.d.ts +6 -0
  285. package/lib/components/dynamic-form/components/dynamic-form/form-builder.service.d.ts +21 -0
  286. package/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.d.ts +17 -0
  287. package/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.d.ts +57 -0
  288. package/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.d.ts +35 -0
  289. package/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.d.ts +70 -0
  290. package/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.d.ts +52 -0
  291. package/lib/components/dynamic-form/components/dynamic-form-department/constants/department.d.ts +12 -0
  292. package/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.d.ts +65 -0
  293. package/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.d.ts +29 -0
  294. package/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.d.ts +21 -0
  295. package/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.d.ts +30 -0
  296. package/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.d.ts +61 -0
  297. package/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.d.ts +25 -0
  298. package/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.d.ts +15 -0
  299. package/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.d.ts +45 -0
  300. package/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.d.ts +41 -0
  301. package/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.d.ts +65 -0
  302. package/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.d.ts +83 -0
  303. package/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.d.ts +13 -0
  304. package/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.d.ts +79 -0
  305. package/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.d.ts +37 -0
  306. package/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.d.ts +71 -0
  307. package/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.d.ts +86 -0
  308. package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.d.ts +19 -0
  309. package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.d.ts +88 -0
  310. package/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.d.ts +16 -0
  311. package/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.d.ts +76 -0
  312. package/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.d.ts +599 -0
  313. package/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.d.ts +13 -0
  314. package/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.d.ts +2 -0
  315. package/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.d.ts +13 -0
  316. package/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.d.ts +2 -0
  317. package/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.d.ts +16 -0
  318. package/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.d.ts +2 -0
  319. package/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.d.ts +9 -0
  320. package/lib/components/dynamic-form/dynamic-form.module.d.ts +64 -0
  321. package/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.d.ts +5 -0
  322. package/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.d.ts +5 -0
  323. package/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.d.ts +15 -0
  324. package/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.d.ts +4 -0
  325. package/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.d.ts +12 -0
  326. package/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.d.ts +8 -0
  327. package/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.d.ts +10 -0
  328. package/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.d.ts +5 -0
  329. package/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.d.ts +8 -0
  330. package/lib/components/dynamic-form/interfaces/dynamic-form.interfaces.d.ts +9 -0
  331. package/lib/components/dynamic-form/models/dynamic-form-baseitem.model.d.ts +21 -0
  332. package/lib/components/dynamic-form/models/dynamic-form-boolitem.model.d.ts +11 -0
  333. package/lib/components/dynamic-form/models/dynamic-form-dateitem.model.d.ts +13 -0
  334. package/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.d.ts +9 -0
  335. package/lib/components/dynamic-form/models/dynamic-form-mapitem.model.d.ts +8 -0
  336. package/lib/components/dynamic-form/models/dynamic-form-selectitem.model.d.ts +11 -0
  337. package/lib/components/dynamic-form/models/dynamic-form-textitem.model.d.ts +15 -0
  338. package/lib/components/dynamic-form/models/dynamic-form.models.d.ts +7 -0
  339. package/lib/components/dynamic-form/services/card-item-types.service.d.ts +13 -0
  340. package/lib/components/dynamic-form/services/dynamic-component-mapper.service.d.ts +36 -0
  341. package/lib/components/dynamic-form/services/dynamic-form-update.service.d.ts +30 -0
  342. package/lib/components/dynamic-form/validators/length-validator.d.ts +7 -0
  343. package/lib/components/dynamic-form/validators/regex-validator.d.ts +7 -0
  344. package/lib/components/dynamic-form/validators/required-validator.d.ts +5 -0
  345. package/lib/components/dynamic-form/validators/value-validator.d.ts +7 -0
  346. package/lib/components/dynamic-search/dynamic-search/dynamic-search.component.d.ts +71 -0
  347. package/lib/components/dynamic-search/dynamic-search.module.d.ts +19 -0
  348. package/lib/components/dynamic-table/dynamic-table/dynamic-table.component.d.ts +96 -0
  349. package/lib/components/dynamic-table/dynamic-table.module.d.ts +16 -0
  350. package/lib/components/dynamic-table/services/dynamic-table.service.d.ts +8 -0
  351. package/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.d.ts +13 -0
  352. package/lib/components/dynamic-view/data-viewer/data-viewer.component.d.ts +12 -0
  353. package/lib/components/dynamic-view/date-viewer/date-viewer.component.d.ts +17 -0
  354. package/lib/components/dynamic-view/department-viewer/department-viewer.component.d.ts +29 -0
  355. package/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.d.ts +37 -0
  356. package/lib/components/dynamic-view/dynamic-view.module.d.ts +20 -0
  357. package/lib/components/dynamic-view/list-viewer/list-viewer.component.d.ts +20 -0
  358. package/lib/components/filter/filter/filter.component.d.ts +31 -0
  359. package/lib/components/filter/filter.module.d.ts +15 -0
  360. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.d.ts +34 -0
  361. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.d.ts +32 -0
  362. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.d.ts +39 -0
  363. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.d.ts +9 -0
  364. package/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.d.ts +14 -0
  365. package/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.d.ts +15 -0
  366. package/lib/components/hijri-gregorian-datepicker/services/date-helper.service.d.ts +8 -0
  367. package/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.d.ts +11 -0
  368. package/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.d.ts +10 -0
  369. package/lib/components/hijri-gregorian-datepicker/utils/consts.d.ts +4 -0
  370. package/lib/components/latest-activity/components/activity-line/activity-line.component.d.ts +19 -0
  371. package/lib/components/latest-activity/components/latest-activity/latest-activity.component.d.ts +22 -0
  372. package/lib/components/latest-activity/components/single-activity/single-activity.component.d.ts +10 -0
  373. package/lib/components/latest-activity/constants/activitylog.d.ts +82 -0
  374. package/lib/components/latest-activity/latest-activity.module.d.ts +19 -0
  375. package/lib/components/latest-activity/services/activity-log.service.d.ts +12 -0
  376. package/lib/components/notifications/components/notification-item/notification-item.component.d.ts +15 -0
  377. package/lib/components/notifications/components/notification-options/notification-options.component.d.ts +10 -0
  378. package/lib/components/notifications/components/notification-toast/notification-toast.component.d.ts +19 -0
  379. package/lib/components/notifications/components/notifications-button/notifications-button.component.d.ts +25 -0
  380. package/lib/components/notifications/components/notifications-list/notifications-list.component.d.ts +45 -0
  381. package/lib/components/notifications/notifications.module.d.ts +24 -0
  382. package/lib/components/notifications/notifications.service.d.ts +61 -0
  383. package/lib/components/pagination/pagination/pagination.component.d.ts +46 -0
  384. package/lib/components/pagination/pagination.module.d.ts +13 -0
  385. package/lib/components/pdf-tron/pdf-tron.module.d.ts +8 -0
  386. package/lib/components/pdf-tron/pdftron/pdftron.component.d.ts +54 -0
  387. package/lib/components/pdf-tron/pdftron/pdftron.service.d.ts +30 -0
  388. package/lib/components/select/select/select.component.d.ts +43 -0
  389. package/lib/components/select/select.module.d.ts +12 -0
  390. package/lib/components/table/table/table.component.d.ts +89 -0
  391. package/lib/components/table/table.module.d.ts +18 -0
  392. package/lib/components/users-card/users-card.component.d.ts +22 -0
  393. package/lib/components/users-card/users-card.module.d.ts +17 -0
  394. package/lib/components/viewer-log/components/viewer-log/viewer-log.component.d.ts +12 -0
  395. package/lib/components/viewer-log/viewer-log.module.d.ts +10 -0
  396. package/lib/components/vocabulary/interfaces/op-type.interface.d.ts +1 -0
  397. package/lib/components/vocabulary/services/vocabulary-api.service.d.ts +16 -0
  398. package/lib/components/vocabulary/vocabulary/vocabulary.component.d.ts +37 -0
  399. package/lib/components/vocabulary/vocabulary.module.d.ts +11 -0
  400. package/lib/configuration/app-config.service.d.ts +11 -0
  401. package/lib/configuration/helpers/app-initializer.d.ts +2 -0
  402. package/lib/directive/app-has-role/app-has-role.directive.d.ts +18 -0
  403. package/lib/directive/clickOutSide/click-outside.directive.d.ts +11 -0
  404. package/lib/directive/directive.module.d.ts +16 -0
  405. package/lib/directive/permissions/evaluators.service.d.ts +26 -0
  406. package/lib/directive/permissions/permissions.directive.d.ts +46 -0
  407. package/lib/directive/rtl/set-dir-rtl.directive.d.ts +13 -0
  408. package/lib/directive/rtl/set-rtl.directive.d.ts +13 -0
  409. package/lib/nuxeo-development-framework.component.d.ts +8 -5
  410. package/lib/nuxeo-development-framework.module.d.ts +12 -2
  411. package/lib/nuxeo-development-framework.service.d.ts +6 -3
  412. package/lib/pipes/file-size.pipe.d.ts +34 -0
  413. package/lib/pipes/hijri-date.pipe.d.ts +32 -0
  414. package/lib/pipes/localized-date.pipe.d.ts +44 -0
  415. package/lib/pipes/multi-value.pipe.d.ts +32 -0
  416. package/lib/pipes/pipes.module.d.ts +18 -0
  417. package/lib/pipes/secure-html.pipe.d.ts +26 -0
  418. package/lib/pipes/secure.pipe.d.ts +29 -0
  419. package/lib/pipes/time-ago.pipe.d.ts +34 -0
  420. package/lib/shared/components/button/button.component.d.ts +38 -0
  421. package/lib/shared/components/item-list/item-list.component.d.ts +45 -0
  422. package/lib/shared/components/no-data/no-data.component.d.ts +21 -0
  423. package/lib/shared/components/read-more/read-more.component.d.ts +37 -0
  424. package/lib/shared/components/search-autocomplete/search-autocomplete.component.d.ts +49 -0
  425. package/lib/shared/components/spinner/spinner.component.d.ts +18 -0
  426. package/lib/shared/components/user-card/user-card.component.d.ts +30 -0
  427. package/lib/shared/libraryShared.module.d.ts +25 -0
  428. package/nuxeo-development-framework.d.ts +5 -4
  429. package/package.json +57 -16
  430. package/public-api.d.ts +145 -3
  431. package/bundles/nuxeo-development-framework.umd.min.js +0 -2
  432. package/bundles/nuxeo-development-framework.umd.min.js.map +0 -1
  433. package/nuxeo-development-framework.metadata.json +0 -1
@@ -0,0 +1,14 @@
1
+ import { Observable } from 'rxjs';
2
+ import { AdapterService } from '../../../Core/adapters/adapter.service';
3
+ import { NuxeoService } from '../../../Core/services/nuxeo/nuxeo.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class CommentApiService {
6
+ private nuxeoService;
7
+ private commentAdapter;
8
+ private environment;
9
+ constructor(nuxeoService: NuxeoService, commentAdapter: AdapterService, environment: any);
10
+ getComments(parentId: any, params?: {}): Observable<any>;
11
+ createComment(comment: any, id: any): Observable<any>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommentApiService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<CommentApiService>;
14
+ }
@@ -0,0 +1,46 @@
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import { CustomToastrService } from '../custom-toastr/services/custom-toastr.service';
3
+ import { ConfirmDialogComponent } from './confirm-dialog/confirm-dialog.component';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * A material dialog confirm component that will ask the user for confirmation,
7
+ * then shows a loader and execute a function and only close the dialog after the action is complete
8
+ *
9
+ *
10
+ * ![screenshot-1](../screenshots/dialog.png)
11
+ *
12
+ * ### Usage Example
13
+ * ~~~ts
14
+ * let actionFunction = () => {
15
+ * return this.someService.observableFunction();
16
+ * };
17
+ * return this.dialog
18
+ * .open(ConfirmCallerDialogComponent, {
19
+ * data: {
20
+ * call: actionFunction,
21
+ * title: 'path.to.title.translation',
22
+ * toastrTitle: 'path.to.success.title',
23
+ * toastrMsg: 'path.to.success.message',
24
+ * },
25
+ * })
26
+ * .afterClosed()
27
+ * .pipe(take(1))
28
+ * .subscribe((data) => {
29
+ * if (data) {
30
+ * // do something on success
31
+ * }
32
+ * });
33
+ * ~~~
34
+ * @title
35
+ * Confirm dialog
36
+ */
37
+ export declare class ConfirmCallerDialogComponent {
38
+ data: any;
39
+ dialogRef: MatDialogRef<ConfirmDialogComponent>;
40
+ private toastr;
41
+ calling: boolean;
42
+ constructor(data: any, dialogRef: MatDialogRef<ConfirmDialogComponent>, toastr: CustomToastrService);
43
+ makeCall(): void;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmCallerDialogComponent, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmCallerDialogComponent, "ng-component", never, {}, {}, never, never>;
46
+ }
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./confirm-caller.dialog";
3
+ import * as i2 from "./confirm-dialog/confirm-dialog.component";
4
+ import * as i3 from "@angular/material/dialog";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "../../shared/libraryShared.module";
7
+ import * as i6 from "@ngx-translate/core";
8
+ /**
9
+ * @title
10
+ * Confirm Dialog Module
11
+ */
12
+ export declare class ConfirmCallerModule {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmCallerModule, never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmCallerModule, [typeof i1.ConfirmCallerDialogComponent, typeof i2.ConfirmDialogComponent], [typeof i3.MatDialogModule, typeof i4.CommonModule, typeof i5.LibrarySharedModule, typeof i6.TranslateModule], [typeof i6.TranslateModule, typeof i1.ConfirmCallerDialogComponent, typeof i2.ConfirmDialogComponent]>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmCallerModule>;
16
+ }
@@ -0,0 +1,12 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import * as i0 from "@angular/core";
4
+ /** @ignore */
5
+ export declare class ConfirmDialogComponent implements OnInit {
6
+ data: any;
7
+ dialogRef: MatDialogRef<ConfirmDialogComponent>;
8
+ constructor(data: any, dialogRef: MatDialogRef<ConfirmDialogComponent>);
9
+ ngOnInit(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "app-confirm-dialog", never, {}, {}, never, never>;
12
+ }
@@ -0,0 +1,34 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
3
+ import { CustomToastrService } from '../../../custom-toastr/services/custom-toastr.service';
4
+ import { CorrespondenceRelationService } from '../../services/correspondence-realation.service';
5
+ import { DocumentsService } from '../../../documents/services/documents.service';
6
+ import { ViewerFilesService } from '../../services/viewer-files.service';
7
+ import { UserPreferencesService } from '../../../../Core/services/user/user-preferences.service';
8
+ import { NuxeoService } from '../../../../Core/services/nuxeo/nuxeo.service';
9
+ import * as i0 from "@angular/core";
10
+ export declare class CorrespondenceRelationComponent implements OnInit {
11
+ dialog: MatDialog;
12
+ private corrrelationsvc;
13
+ private toastr;
14
+ private viewerFilesService;
15
+ private documentsApi;
16
+ private userPreference;
17
+ nuxeoService: NuxeoService;
18
+ corr_id: any;
19
+ /** Correspondance */
20
+ correspondance: any;
21
+ relations_list: any;
22
+ reload: boolean;
23
+ constructor(dialog: MatDialog, corrrelationsvc: CorrespondenceRelationService, toastr: CustomToastrService, viewerFilesService: ViewerFilesService, documentsApi: DocumentsService, userPreference: UserPreferencesService, nuxeoService: NuxeoService);
24
+ ngOnInit(): void;
25
+ openDialog(): void;
26
+ getallrelated(): void;
27
+ handleActions(event: any): void;
28
+ view_Corres(relation: any): void;
29
+ showCorrespondenceInViewer(corres_id: any): void;
30
+ openConfirmDialog(functionToPerform: any, title: any, msg: any): import("rxjs").Observable<any>;
31
+ deleteRelation(relateddoc: any): void;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<CorrespondenceRelationComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<CorrespondenceRelationComponent, "cts-correspondence-relation", never, { "corr_id": "corr_id"; "correspondance": "correspondance"; }, {}, never, never>;
34
+ }
@@ -0,0 +1,42 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { MatDialogRef } from '@angular/material/dialog';
4
+ import { CorrespondenceRelationService } from '../../services/correspondence-realation.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CorrespondenceRelationCreateFormComponent implements OnInit {
7
+ private _formBuilder;
8
+ private corressvc;
9
+ dialogRef: MatDialogRef<CorrespondenceRelationCreateFormComponent>;
10
+ data: any;
11
+ visible: boolean;
12
+ selectable: boolean;
13
+ removable: boolean;
14
+ createform: FormGroup;
15
+ related_corr: any[];
16
+ exist: boolean;
17
+ isLoading: boolean;
18
+ documentList: any[];
19
+ exist_relations_list: any[];
20
+ correspondanceId: any;
21
+ constructor(_formBuilder: FormBuilder, corressvc: CorrespondenceRelationService, dialogRef: MatDialogRef<CorrespondenceRelationCreateFormComponent>, data: any);
22
+ /**dialog actions */
23
+ onSaveClick(): void;
24
+ onCloseoClick(): void;
25
+ /*************************************************** */
26
+ auto: any;
27
+ ngOnInit(): void;
28
+ on_remove_relation_Chip(relation: any): void;
29
+ /**ng-Autocomplete related functions */
30
+ alwaysopened: boolean;
31
+ clearSerachInput(): void;
32
+ is_relation_exist(relation: any): boolean;
33
+ is_corresp_added(corresp: any): boolean;
34
+ selectItem(item: any): void;
35
+ keep_Autocomplete_Results_Open(): void;
36
+ onSearchInputChange(val: string): void;
37
+ disableFilter: (items: any[]) => any[];
38
+ inputCleared(): void;
39
+ reset(): void;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<CorrespondenceRelationCreateFormComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<CorrespondenceRelationCreateFormComponent, "cts-correspondence-relation-create-form", never, {}, {}, never, never>;
42
+ }
@@ -0,0 +1,31 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
3
+ import { AdapterService } from '../../../../Core/adapters/adapter.service';
4
+ import { DocumentsService } from '../../../documents/services/documents.service';
5
+ import { ViewerFilesService } from '../../services/viewer-files.service';
6
+ import { CorrespondenceRelationService } from '../../services/correspondence-realation.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class CorrespondenceRelationListComponent implements OnInit {
9
+ private relationsvc;
10
+ private dialog;
11
+ private viewerFilesService;
12
+ private documentsApi;
13
+ private adapter;
14
+ correspondence_id: any;
15
+ reload: boolean;
16
+ relateddoc: any[];
17
+ menu_actions: {
18
+ title: string;
19
+ name: string;
20
+ }[];
21
+ constructor(relationsvc: CorrespondenceRelationService, dialog: MatDialog, viewerFilesService: ViewerFilesService, documentsApi: DocumentsService, adapter: AdapterService);
22
+ ngOnInit(): void;
23
+ loadData(): void;
24
+ onDeleteClick(relateddoc: any): void;
25
+ openDialog(functionToPerform: any, title: any, msg: any): import("rxjs").Observable<any>;
26
+ view_Corres(relation: any): void;
27
+ showCorrespondenceInViewer(relation: any): void;
28
+ handleMenuItemClicked(event: any): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<CorrespondenceRelationListComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<CorrespondenceRelationListComponent, "cts-correspondence-relation-list", never, { "correspondence_id": "correspondence_id"; "reload": "reload"; }, {}, never, never>;
31
+ }
@@ -0,0 +1,18 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { CorrespondenceRelationService } from '../../services/correspondence-realation.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CorrespondenceRelationReplyComponent implements OnInit {
5
+ private corres_relationsvc;
6
+ replyrelation: any[];
7
+ correspondence_id: string;
8
+ actionclicked: EventEmitter<any>;
9
+ fireAction(item: any, action?: string): void;
10
+ menu_actions: {
11
+ title: string;
12
+ name: string;
13
+ }[];
14
+ constructor(corres_relationsvc: CorrespondenceRelationService);
15
+ ngOnInit(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<CorrespondenceRelationReplyComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<CorrespondenceRelationReplyComponent, "cts-correspondence-relation-reply", never, { "correspondence_id": "correspondence_id"; }, { "actionclicked": "actionclicked"; }, never, never>;
18
+ }
@@ -0,0 +1,31 @@
1
+ import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { DocumentsService } from '../../../documents/services/documents.service';
3
+ import { ViewerFilesService } from '../../services/viewer-files.service';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * A component that views document versions
7
+ * @title
8
+ * Viewer Versions
9
+ *
10
+ * @example
11
+ *
12
+ * <cts-versions
13
+ * [file]="file"
14
+ * ></cts-versions>
15
+ */
16
+ export declare class VersionsComponent implements OnInit, OnChanges {
17
+ private viewerFilesService;
18
+ private documentsApi;
19
+ /** Current selected version (in viewer) */
20
+ selectedVersion: any;
21
+ /** Document object */
22
+ file: any;
23
+ versions: any[];
24
+ constructor(viewerFilesService: ViewerFilesService, documentsApi: DocumentsService);
25
+ ngOnChanges(changes: SimpleChanges): void;
26
+ ngOnInit(): void;
27
+ getVersions(): void;
28
+ showVersion(version: any): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<VersionsComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<VersionsComponent, "cts-versions", never, { "selectedVersion": "selectedVersion"; "file": "file"; }, {}, never, never>;
31
+ }
@@ -0,0 +1,30 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/correspondence-relation-list/correspondence-relation-list.component";
3
+ import * as i2 from "./components/correspondence-relation/correspondence-relation.component";
4
+ import * as i3 from "./components/correspondence-relation-create-form/correspondence-relation-create-form.component";
5
+ import * as i4 from "./components/correspondence-relation-reply/correspondence-relation-reply.component";
6
+ import * as i5 from "./components/versions/versions.component";
7
+ import * as i6 from "@angular/common";
8
+ import * as i7 from "../dynamic-form/dynamic-form.module";
9
+ import * as i8 from "@ngx-translate/core";
10
+ import * as i9 from "@angular/forms";
11
+ import * as i10 from "@angular/material/dialog";
12
+ import * as i11 from "../dynamic-search/dynamic-search.module";
13
+ import * as i12 from "@angular/material/icon";
14
+ import * as i13 from "@ng-select/ng-select";
15
+ import * as i14 from "../select/select.module";
16
+ import * as i15 from "angular-ng-autocomplete";
17
+ import * as i16 from "@angular/cdk/layout";
18
+ import * as i17 from "@angular/material/chips";
19
+ import * as i18 from "@angular/material/menu";
20
+ import * as i19 from "@angular/material/list";
21
+ import * as i20 from "@angular/material/expansion";
22
+ import * as i21 from "../../shared/libraryShared.module";
23
+ import * as i22 from "../../directive/directive.module";
24
+ import * as i23 from "../../pipes/pipes.module";
25
+ /** @ignore */
26
+ export declare class CorrespondenceRelationModule {
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<CorrespondenceRelationModule, never>;
28
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CorrespondenceRelationModule, [typeof i1.CorrespondenceRelationListComponent, typeof i2.CorrespondenceRelationComponent, typeof i3.CorrespondenceRelationCreateFormComponent, typeof i4.CorrespondenceRelationReplyComponent, typeof i5.VersionsComponent], [typeof i6.CommonModule, typeof i7.DynamicFormModule, typeof i8.TranslateModule, typeof i9.FormsModule, typeof i9.ReactiveFormsModule, typeof i10.MatDialogModule, typeof i11.DynamicSearchModule, typeof i12.MatIconModule, typeof i13.NgSelectModule, typeof i14.SelectModule, typeof i15.AutocompleteLibModule, typeof i16.LayoutModule, typeof i17.MatChipsModule, typeof i18.MatMenuModule, typeof i19.MatListModule, typeof i12.MatIconModule, typeof i20.MatExpansionModule, typeof i21.LibrarySharedModule, typeof i22.DirectiveModule, typeof i23.PipesModule], [typeof i2.CorrespondenceRelationComponent, typeof i5.VersionsComponent]>;
29
+ static ɵinj: i0.ɵɵInjectorDeclaration<CorrespondenceRelationModule>;
30
+ }
@@ -0,0 +1,24 @@
1
+ import { Observable, ReplaySubject } from 'rxjs';
2
+ import { AppConfigService } from '../../../configuration/app-config.service';
3
+ import { CallApiService } from '../../../Core/services/callApi/call-api.service';
4
+ import { NuxeoService } from '../../../Core/services/nuxeo/nuxeo.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CorrespondenceRelationService {
7
+ private nuxeoService;
8
+ private configService;
9
+ private callApi;
10
+ private environment;
11
+ relationConstants: any;
12
+ getUpdatedRelation: ReplaySubject<unknown>;
13
+ incomingConstant: any;
14
+ constructor(nuxeoService: NuxeoService, configService: AppConfigService, callApi: CallApiService, environment: any);
15
+ get_Correspondence_Relation(corr_id: any, pageprovider: any, context?: {}): Observable<unknown>;
16
+ get_Correspondence_Reply_Relation(corr_id: any): Observable<any>;
17
+ get_Correspondence_Reply_Relation_Reverse(corr_id: any): Observable<any>;
18
+ get_Correspondence_Relation_WithoutReply(corr_id: any): Observable<any>;
19
+ create_Named_Relation(corr_id: string, relationname: string, targets: []): Observable<any>;
20
+ Delete_Named_Relation(corr_id: string, relationname: string, target: string): Observable<any>;
21
+ search(val: string, query?: any): Observable<any>;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<CorrespondenceRelationService, never>;
23
+ static ɵprov: i0.ɵɵInjectableDeclaration<CorrespondenceRelationService>;
24
+ }
@@ -0,0 +1,18 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AppConfigService } from '../../../configuration/app-config.service';
3
+ import { AdapterService } from '../../../Core/adapters/adapter.service';
4
+ import { NuxeoService } from '../../../Core/services/nuxeo/nuxeo.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ViewerFilesService {
7
+ private configService;
8
+ private adapter;
9
+ private nuxeoService;
10
+ private environment;
11
+ selectedFileId: EventEmitter<any>;
12
+ updateViewer: EventEmitter<any>;
13
+ incomingConstant: any;
14
+ constructor(configService: AppConfigService, adapter: AdapterService, nuxeoService: NuxeoService, environment: any);
15
+ createAttach(attachment: any, correspondenceId: any): import("rxjs").Observable<unknown>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ViewerFilesService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<ViewerFilesService>;
18
+ }
@@ -0,0 +1,17 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { NuxeoService } from '../../../Core/services/nuxeo/nuxeo.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class CreateEntityComponent implements OnInit {
6
+ private router;
7
+ nuxeoService: NuxeoService;
8
+ createActions: Array<any>;
9
+ openMenu: boolean;
10
+ constructor(router: Router, nuxeoService: NuxeoService);
11
+ ngOnInit(): void;
12
+ ToggleMenu(): void;
13
+ actionCleciked(action: any): void;
14
+ closeSideMenu(event: any): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreateEntityComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<CreateEntityComponent, "cts-create-entity", never, { "createActions": "createActions"; }, {}, never, never>;
17
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./create-entity/create-entity.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../../directive/directive.module";
5
+ import * as i4 from "@ngx-translate/core";
6
+ /** @ignore */
7
+ export declare class CreateEntityModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreateEntityModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CreateEntityModule, [typeof i1.CreateEntityComponent], [typeof i2.CommonModule, typeof i3.DirectiveModule, typeof i4.TranslateModule, typeof i3.DirectiveModule], [typeof i1.CreateEntityComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<CreateEntityModule>;
11
+ }
@@ -0,0 +1,28 @@
1
+ import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { NuxeoService } from '../../../../Core/services/nuxeo/nuxeo.service';
4
+ import { TagsApiService } from '../../services/tags-api.service';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * a reusable component that allows to add or delete tags to a nuxeo document
8
+ * ![Screenshot-1](../screenshots/tags.png)
9
+ * @title
10
+ * Tags
11
+ */
12
+ export declare class CorrespondenceTagsComponent implements OnInit, OnChanges {
13
+ private tagsApiService;
14
+ nuxeoService: NuxeoService;
15
+ removable: boolean;
16
+ loading: boolean;
17
+ correspondence: any;
18
+ correspondenceId: any;
19
+ tagsList: any[];
20
+ tagsFrom: FormGroup;
21
+ constructor(tagsApiService: TagsApiService, nuxeoService: NuxeoService);
22
+ ngOnChanges(changes: SimpleChanges): void;
23
+ ngOnInit(): void;
24
+ addTag(): void;
25
+ deleteTag(tagId: any): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<CorrespondenceTagsComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<CorrespondenceTagsComponent, "cts-correspondence-tags", never, { "correspondence": "correspondence"; }, {}, never, never>;
28
+ }
@@ -0,0 +1,21 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/correspondence-tags/correspondence-tags.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@ngx-translate/core";
5
+ import * as i4 from "@angular/material/chips";
6
+ import * as i5 from "@ng-select/ng-select";
7
+ import * as i6 from "@angular/forms";
8
+ import * as i7 from "../../shared/libraryShared.module";
9
+ import * as i8 from "@angular/material/icon";
10
+ import * as i9 from "../dynamic-form/dynamic-form.module";
11
+ import * as i10 from "@angular/material/tooltip";
12
+ import * as i11 from "../../directive/directive.module";
13
+ /**
14
+ * @title
15
+ * Tags Module
16
+ */
17
+ export declare class CtsTagsModule {
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<CtsTagsModule, never>;
19
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CtsTagsModule, [typeof i1.CorrespondenceTagsComponent], [typeof i2.CommonModule, typeof i3.TranslateModule, typeof i4.MatChipsModule, typeof i5.NgSelectModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.LibrarySharedModule, typeof i8.MatIconModule, typeof i9.DynamicFormModule, typeof i10.MatTooltipModule, typeof i11.DirectiveModule], [typeof i1.CorrespondenceTagsComponent]>;
20
+ static ɵinj: i0.ɵɵInjectorDeclaration<CtsTagsModule>;
21
+ }
@@ -0,0 +1,15 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import { NuxeoService } from '../../../Core/services/nuxeo/nuxeo.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TagsApiService {
6
+ private nuxeoService;
7
+ private environment;
8
+ getUpdatedFile: EventEmitter<any>;
9
+ constructor(nuxeoService: NuxeoService, environment: any);
10
+ addTagsToCorrespondence(correspondenceId: any, tags: string[]): Observable<unknown>;
11
+ deleteTagsToCorrespondence(correspondenceId: any, tag: any): Observable<unknown>;
12
+ tagsSuggestion(term: string): Observable<any>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<TagsApiService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<TagsApiService>;
15
+ }
@@ -0,0 +1,30 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { TranslateService } from '@ngx-translate/core';
3
+ import { ToastrService, ToastPackage, Toast } from 'ngx-toastr';
4
+ import { UserPreferencesService } from '../../../../Core/services/user/user-preferences.service';
5
+ import { ToastType } from '../../interfaces/toast-type.interface';
6
+ import * as i0 from "@angular/core";
7
+ export declare class CustomToastrComponent extends Toast implements OnInit {
8
+ protected toastrService: ToastrService;
9
+ toastPackage: ToastPackage;
10
+ private translate;
11
+ userPreferenceService?: UserPreferencesService;
12
+ lang: any;
13
+ type: ToastType;
14
+ value: any;
15
+ private onDestroy$;
16
+ constructor(toastrService: ToastrService, toastPackage: ToastPackage, translate: TranslateService, userPreferenceService?: UserPreferencesService);
17
+ ngOnInit(): void;
18
+ setbBackgroundColor(): {
19
+ success: boolean;
20
+ error: boolean;
21
+ notification: boolean;
22
+ };
23
+ setTextColor(): {
24
+ 'msg-success': boolean;
25
+ 'msg-error': boolean;
26
+ 'msg-notification': boolean;
27
+ };
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomToastrComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<CustomToastrComponent, "cts-custom-toastr", never, {}, {}, never, never>;
30
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/custom-toastr/custom-toastr.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/icon";
5
+ import * as i4 from "@ngx-translate/core";
6
+ import * as i5 from "ngx-toastr";
7
+ /** @ignore */
8
+ export declare class CustomToastrModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomToastrModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CustomToastrModule, [typeof i1.CustomToastrComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.TranslateModule, typeof i5.ToastrModule], [typeof i4.TranslateModule, typeof i5.ToastrModule]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<CustomToastrModule>;
12
+ }
@@ -0,0 +1 @@
1
+ export declare type ToastType = 'success' | 'error' | 'notification';
@@ -0,0 +1,18 @@
1
+ import { ActiveToast, IndividualConfig, ToastrService } from 'ngx-toastr';
2
+ import { UserPreferencesService } from '../../../Core/services/user/user-preferences.service';
3
+ import { ToastType } from '../interfaces/toast-type.interface';
4
+ import { TranslationService } from '../../../Core/services/translation/translation.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CustomToastrService {
7
+ private translation;
8
+ private toastr;
9
+ userPreferenceService?: UserPreferencesService;
10
+ private onDestroy$;
11
+ isArabic: boolean;
12
+ constructor(translation: TranslationService, toastr: ToastrService, userPreferenceService?: UserPreferencesService);
13
+ setDirection(): void;
14
+ show(type: ToastType, title: any, message: any, customOptions?: Partial<IndividualConfig>, customMsg?: any): ActiveToast<any>;
15
+ ngOnDestroy(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomToastrService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<CustomToastrService>;
18
+ }
@@ -0,0 +1,54 @@
1
+ import { EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { Subject } from 'rxjs';
4
+ import { NuxeoService } from '../../../../Core/services/nuxeo/nuxeo.service';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * A component that will list attachments batch with edit form for each item
8
+ * @title
9
+ * Batch attachments List
10
+ *
11
+ * @example
12
+ *
13
+ * <cts-attachments-list
14
+ * [items]="files"
15
+ * [disablePagination]="true"
16
+ * [batchList]="true"
17
+ * [canPreview]="false"
18
+ * [item]="file"
19
+ * (documentsCount)="getAttachmentsCount($event)"
20
+ * (deleteSuccess)="onDeleteNewAttachment($event)"
21
+ * >
22
+ * </cts-attachments-list>
23
+ */
24
+ export declare class AttachmentsListComponent implements OnInit, OnChanges, OnDestroy {
25
+ private nuxeoApi;
26
+ /** @deprecated */
27
+ ancestorId: any;
28
+ /** @deprecated */
29
+ provider: any;
30
+ /** Batch list */
31
+ items: any[];
32
+ batchList: boolean;
33
+ dontDelete: boolean;
34
+ canDelete: boolean;
35
+ item: any;
36
+ deleteSuccess: EventEmitter<any>;
37
+ documentsCount: EventEmitter<number>;
38
+ onDestroy$: Subject<boolean>;
39
+ documentSelect: EventEmitter<any>;
40
+ attachmentForm: FormGroup;
41
+ constructor(nuxeoApi: NuxeoService);
42
+ ngOnInit(): void;
43
+ ngOnChanges(): void;
44
+ isCreator(item: any): boolean;
45
+ deleteDocument(event: any, item: any): void;
46
+ fillForm(items: any[]): void;
47
+ transformItem(item: any): void;
48
+ addAttachmentCard(formGroup: FormGroup): void;
49
+ delInput(index: number): void;
50
+ ngOnDestroy(): void;
51
+ getControls(): import("@angular/forms").AbstractControl[];
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentsListComponent, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentsListComponent, "cts-attachments-list", never, { "ancestorId": "ancestorId"; "provider": "provider"; "items": "items"; "batchList": "batchList"; "dontDelete": "dontDelete"; "canDelete": "canDelete"; "item": "item"; }, { "deleteSuccess": "deleteSuccess"; "documentsCount": "documentsCount"; "documentSelect": "documentSelect"; }, never, never>;
54
+ }
@@ -0,0 +1,37 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { DocumentsService } from '../../services/documents.service';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * A component that will list specific correspondence attachments with edit form for each item
6
+ * @title
7
+ * Attachments List
8
+ *
9
+ * @example
10
+ *
11
+ * <cts-attachments-page-provider
12
+ * [provider]="'providerName'"
13
+ * [ancestorId]="ancestorId"
14
+ * (deleteSuccess)="onDeleteAttachment($event)"
15
+ * >
16
+ * </cts-attachments-page-provider>
17
+ */
18
+ export declare class AttachmentsPageProviderComponent implements OnInit {
19
+ private documentsApi;
20
+ /** Provider name */
21
+ provider: any;
22
+ /** Ancestor ID */
23
+ ancestorId: any;
24
+ /** Emitted on attachment delete */
25
+ deleteSuccess: EventEmitter<any>;
26
+ /** Emits total documents count when they're loaded */
27
+ documentsCount: EventEmitter<number>;
28
+ isFetching: boolean;
29
+ attachments: any[];
30
+ totalRecords: number;
31
+ constructor(documentsApi: DocumentsService);
32
+ ngOnInit(): void;
33
+ getAttachments(): void;
34
+ deleteDocument(event: any, attachment: any): void;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentsPageProviderComponent, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentsPageProviderComponent, "cts-attachments-page-provider", never, { "provider": "provider"; "ancestorId": "ancestorId"; }, { "deleteSuccess": "deleteSuccess"; "documentsCount": "documentsCount"; }, never, never>;
37
+ }