nuxeo-development-framework 3.3.3 → 3.3.4-snapshot

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 (1231) hide show
  1. package/karma.conf.js +44 -0
  2. package/ng-package.json +7 -0
  3. package/package.json +63 -70
  4. package/src/lib/Core/adapters/adapter.service.ts +46 -0
  5. package/src/lib/Core/core.module.ts +65 -0
  6. package/src/lib/Core/enums/language.enum.ts +4 -0
  7. package/src/lib/Core/models/component.model.ts +11 -0
  8. package/src/lib/Core/services/callApi/call-api.service.ts +31 -0
  9. package/src/lib/Core/services/extension/action.extensions.ts +35 -0
  10. package/src/lib/Core/services/extension/component-register.service.ts +25 -0
  11. package/src/lib/Core/services/extension/extenion-utils.ts +142 -0
  12. package/src/lib/Core/services/extension/extension-element.ts +6 -0
  13. package/src/lib/Core/services/extension/extension-loader.service.ts +160 -0
  14. package/src/lib/Core/services/extension/extension.service.ts +137 -0
  15. package/src/lib/Core/services/initialization/initialization.service.ts +50 -0
  16. package/src/lib/Core/services/localStorag/local-storag.service.ts +125 -0
  17. package/src/lib/Core/services/nuxeo/nuxeo-override.ts +86 -0
  18. package/src/lib/Core/services/nuxeo/nuxeo.service.ts +123 -0
  19. package/src/lib/Core/services/roles/roles.service.spec.ts +16 -0
  20. package/src/lib/Core/services/roles/roles.service.ts +122 -0
  21. package/src/lib/Core/services/translation/translate-loader.service.ts +173 -0
  22. package/src/lib/Core/services/translation/translation.service.ts +221 -0
  23. package/src/lib/Core/services/user/user-preferences.service.ts +172 -0
  24. package/src/lib/Core/utilities/moment-date-adapter.ts +203 -0
  25. package/src/lib/Core/utilities/moment-dates-format.ts +18 -0
  26. package/src/lib/Core/utilities/utility.service.ts +83 -0
  27. package/src/lib/assets/scss/ej2/material.css +1 -0
  28. package/src/lib/assets/scss/mixins.scss +38 -0
  29. package/src/lib/assets/scss/myApp.scss +487 -0
  30. package/src/lib/assets/scss/variables.scss +62 -0
  31. package/src/lib/components/activities-log/activities-log/activities-log.component.html +20 -0
  32. package/src/lib/components/activities-log/activities-log/activities-log.component.scss +15 -0
  33. package/src/lib/components/activities-log/activities-log/activities-log.component.spec.ts +25 -0
  34. package/src/lib/components/activities-log/activities-log/activities-log.component.ts +177 -0
  35. package/src/lib/components/activities-log/activities-log/activities-log.service.ts +30 -0
  36. package/src/lib/components/activities-log/activities-log.module.ts +23 -0
  37. package/src/lib/components/activity/activity/activity.component.html +28 -0
  38. package/src/lib/components/activity/activity/activity.component.scss +33 -0
  39. package/src/lib/components/activity/activity/activity.component.spec.ts +25 -0
  40. package/src/lib/components/activity/activity/activity.component.ts +23 -0
  41. package/src/lib/components/activity/activity.module.ts +24 -0
  42. package/src/lib/components/attachment-item/attachment-item/attachment-item.component.html +36 -0
  43. package/src/lib/components/attachment-item/attachment-item/attachment-item.component.scss +21 -0
  44. package/src/lib/components/attachment-item/attachment-item/attachment-item.component.spec.ts +25 -0
  45. package/src/lib/components/attachment-item/attachment-item/attachment-item.component.ts +35 -0
  46. package/src/lib/components/attachment-item/attachment-item.module.ts +26 -0
  47. package/src/lib/components/attachment-modal/attachment-modal.module.ts +24 -0
  48. package/src/lib/components/attachment-modal/attachments/attachments.component.html +41 -0
  49. package/src/lib/components/attachment-modal/attachments/attachments.component.scss +5 -0
  50. package/src/lib/components/attachment-modal/attachments/attachments.component.spec.ts +25 -0
  51. package/src/lib/components/attachment-modal/attachments/attachments.component.ts +161 -0
  52. package/src/lib/components/avatar/avatar/avatar.component.html +13 -0
  53. package/src/lib/components/avatar/avatar/avatar.component.scss +32 -0
  54. package/src/lib/components/avatar/avatar/avatar.component.spec.ts +25 -0
  55. package/src/lib/components/avatar/avatar/avatar.component.ts +50 -0
  56. package/src/lib/components/avatar/avatar.module.ts +21 -0
  57. package/src/lib/components/card/card.component.html +35 -0
  58. package/src/lib/components/card/card.component.scss +81 -0
  59. package/src/lib/components/card/card.component.spec.ts +25 -0
  60. package/src/lib/components/card/card.component.ts +38 -0
  61. package/src/lib/components/card/card.module.ts +15 -0
  62. package/src/lib/components/comments/comments.module.ts +48 -0
  63. package/src/lib/components/comments/components/comment-item/comment-item.component.html +32 -0
  64. package/src/lib/components/comments/components/comment-item/comment-item.component.scss +41 -0
  65. package/src/lib/components/comments/components/comment-item/comment-item.component.ts +70 -0
  66. package/src/lib/components/comments/components/comments-dashlet/comments-dashlet.component.html +58 -0
  67. package/src/lib/components/comments/components/comments-dashlet/comments-dashlet.component.scss +69 -0
  68. package/src/lib/components/comments/components/comments-dashlet/comments-dashlet.component.ts +80 -0
  69. package/src/lib/components/comments/components/comments-list/comments-list.component.html +43 -0
  70. package/src/lib/components/comments/components/comments-list/comments-list.component.scss +103 -0
  71. package/src/lib/components/comments/components/comments-list/comments-list.component.ts +61 -0
  72. package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.html +22 -0
  73. package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.scss +48 -0
  74. package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.spec.ts +25 -0
  75. package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.ts +56 -0
  76. package/src/lib/components/comments/constants/comment.ts +25 -0
  77. package/src/lib/components/comments/services/comment-api.service.ts +85 -0
  78. package/src/lib/components/confirm-caller/confirm-caller.dialog.html +26 -0
  79. package/src/lib/components/confirm-caller/confirm-caller.dialog.scss +34 -0
  80. package/src/lib/components/confirm-caller/confirm-caller.dialog.ts +68 -0
  81. package/src/lib/components/confirm-caller/confirm-caller.module.ts +19 -0
  82. package/src/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.html +13 -0
  83. package/src/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.scss +0 -0
  84. package/src/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.spec.ts +25 -0
  85. package/src/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.ts +18 -0
  86. package/src/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.html +24 -0
  87. package/src/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.scss +0 -0
  88. package/src/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.spec.ts +25 -0
  89. package/src/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.ts +19 -0
  90. package/src/lib/components/confirmation-dialog/confirmation-dialog.module.ts +18 -0
  91. package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.html +27 -0
  92. package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.scss +34 -0
  93. package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.spec.ts +25 -0
  94. package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.ts +149 -0
  95. package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.html +92 -0
  96. package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.scss +124 -0
  97. package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.spec.ts +25 -0
  98. package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.ts +132 -0
  99. package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.html +33 -0
  100. package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.scss +42 -0
  101. package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.spec.ts +25 -0
  102. package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.ts +111 -0
  103. package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.html +20 -0
  104. package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.scss +9 -0
  105. package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.spec.ts +25 -0
  106. package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.ts +64 -0
  107. package/src/lib/components/correspondence-relation/components/versions/versions.component.html +80 -0
  108. package/src/lib/components/correspondence-relation/components/versions/versions.component.scss +0 -0
  109. package/src/lib/components/correspondence-relation/components/versions/versions.component.ts +71 -0
  110. package/src/lib/components/correspondence-relation/correspondence-relation.module.ts +59 -0
  111. package/src/lib/components/correspondence-relation/services/correspondence-realation.service.ts +192 -0
  112. package/src/lib/components/correspondence-relation/services/viewer-files.service.ts +51 -0
  113. package/src/lib/components/create-entity/create-entity/create-entity.component.html +18 -0
  114. package/src/lib/components/create-entity/create-entity/create-entity.component.scss +90 -0
  115. package/src/lib/components/create-entity/create-entity/create-entity.component.spec.ts +25 -0
  116. package/src/lib/components/create-entity/create-entity/create-entity.component.ts +57 -0
  117. package/src/lib/components/create-entity/create-entity.module.ts +22 -0
  118. package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.html +60 -0
  119. package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.scss +43 -0
  120. package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.spec.ts +25 -0
  121. package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.ts +166 -0
  122. package/src/lib/components/cts-tags/cts-tags.module.ts +35 -0
  123. package/src/lib/components/cts-tags/services/tags-api.service.ts +106 -0
  124. package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.html +45 -0
  125. package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.scss +91 -0
  126. package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.spec.ts +25 -0
  127. package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.ts +93 -0
  128. package/src/lib/components/custom-toastr/custom-toastr.module.ts +19 -0
  129. package/src/lib/components/custom-toastr/interfaces/toast-type.interface.ts +1 -0
  130. package/src/lib/components/custom-toastr/services/custom-toastr.service.ts +56 -0
  131. package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.html +37 -0
  132. package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.scss +73 -0
  133. package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.spec.ts +25 -0
  134. package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.ts +34 -0
  135. package/src/lib/components/display-suitable-icon/display-suitable-icon/icon.service.ts +107 -0
  136. package/src/lib/components/display-suitable-icon/display-suitable-icon.module.ts +16 -0
  137. package/src/lib/components/documents/components/attachments-list/attachments-list.component.html +92 -0
  138. package/src/lib/components/documents/components/attachments-list/attachments-list.component.scss +65 -0
  139. package/src/lib/components/documents/components/attachments-list/attachments-list.component.spec.ts +25 -0
  140. package/src/lib/components/documents/components/attachments-list/attachments-list.component.ts +162 -0
  141. package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.html +36 -0
  142. package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.scss +44 -0
  143. package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.spec.ts +25 -0
  144. package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.ts +77 -0
  145. package/src/lib/components/documents/components/document-list/documents-list.component.html +34 -0
  146. package/src/lib/components/documents/components/document-list/documents-list.component.scss +41 -0
  147. package/src/lib/components/documents/components/document-list/documents-list.component.ts +244 -0
  148. package/src/lib/components/documents/components/document-scan/document-scan.component.html +176 -0
  149. package/src/lib/components/documents/components/document-scan/document-scan.component.scss +725 -0
  150. package/src/lib/components/documents/components/document-scan/document-scan.component.ts +1156 -0
  151. package/src/lib/components/documents/components/document-scan/document-scan.service.ts +26 -0
  152. package/src/lib/components/documents/components/document-upload/document-upload.component.html +19 -0
  153. package/src/lib/components/documents/components/document-upload/document-upload.component.scss +49 -0
  154. package/src/lib/components/documents/components/document-upload/document-upload.component.ts +168 -0
  155. package/src/lib/components/documents/components/documents/documents.component.html +16 -0
  156. package/src/lib/components/documents/components/documents/documents.component.scss +0 -0
  157. package/src/lib/components/documents/components/documents/documents.component.ts +49 -0
  158. package/src/lib/components/documents/constants/document-templates.ts +32 -0
  159. package/src/lib/components/documents/constants/documents.ts +85 -0
  160. package/src/lib/components/documents/documents.module.ts +69 -0
  161. package/src/lib/components/documents/services/document-templates.service.ts +155 -0
  162. package/src/lib/components/documents/services/documents.service.ts +354 -0
  163. package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.html +26 -0
  164. package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.scss +35 -0
  165. package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.spec.ts +25 -0
  166. package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.ts +423 -0
  167. package/src/lib/components/dynamic-chart/dynamic-chart.module.ts +22 -0
  168. package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.html +4 -0
  169. package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.scss +14 -0
  170. package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.spec.ts +25 -0
  171. package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.ts +178 -0
  172. package/src/lib/components/dynamic-chart/new-chart-box.ts +0 -0
  173. package/src/lib/components/dynamic-chart/services/chart-data.service.ts +613 -0
  174. package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.html +58 -0
  175. package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.scss +0 -0
  176. package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.spec.ts +25 -0
  177. package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.ts +168 -0
  178. package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.ts +25 -0
  179. package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.html +122 -0
  180. package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.scss +103 -0
  181. package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.spec.ts +25 -0
  182. package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.ts +124 -0
  183. package/src/lib/components/dynamic-filter/dynamic-filter.module.ts +19 -0
  184. package/src/lib/components/dynamic-filter/services/dynamic-filter.service.ts +14 -0
  185. package/src/lib/components/dynamic-form/components/department-form/department-form.component.html +100 -0
  186. package/src/lib/components/dynamic-form/components/department-form/department-form.component.scss +38 -0
  187. package/src/lib/components/dynamic-form/components/department-form/department-form.component.spec.ts +25 -0
  188. package/src/lib/components/dynamic-form/components/department-form/department-form.component.ts +132 -0
  189. package/src/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.html +3 -0
  190. package/src/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.scss +51 -0
  191. package/src/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.ts +109 -0
  192. package/src/lib/components/dynamic-form/components/dynamic-form/fields.adapter.ts +123 -0
  193. package/src/lib/components/dynamic-form/components/dynamic-form/form-builder.service.ts +120 -0
  194. package/src/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.html +14 -0
  195. package/src/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.scss +2 -0
  196. package/src/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.ts +34 -0
  197. package/src/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.html +15 -0
  198. package/src/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.scss +73 -0
  199. package/src/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.ts +161 -0
  200. package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.html +10 -0
  201. package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.scss +13 -0
  202. package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.spec.ts +25 -0
  203. package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.ts +72 -0
  204. package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.html +56 -0
  205. package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.scss +99 -0
  206. package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.ts +210 -0
  207. package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.ts +94 -0
  208. package/src/lib/components/dynamic-form/components/dynamic-form-department/constants/department.ts +12 -0
  209. package/src/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.html +36 -0
  210. package/src/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.scss +11 -0
  211. package/src/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.ts +241 -0
  212. package/src/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.ts +253 -0
  213. package/src/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.ts +126 -0
  214. package/src/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.html +1 -0
  215. package/src/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.scss +0 -0
  216. package/src/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.ts +92 -0
  217. package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.html +29 -0
  218. package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.scss +54 -0
  219. package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.spec.ts +25 -0
  220. package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.ts +152 -0
  221. package/src/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.ts +105 -0
  222. package/src/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.html +31 -0
  223. package/src/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.scss +5 -0
  224. package/src/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.ts +32 -0
  225. package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.html +56 -0
  226. package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.scss +24 -0
  227. package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.spec.ts +25 -0
  228. package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.ts +110 -0
  229. package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.html +36 -0
  230. package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.scss +100 -0
  231. package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.spec.ts +25 -0
  232. package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.ts +125 -0
  233. package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.html +83 -0
  234. package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.scss +136 -0
  235. package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.spec.ts +25 -0
  236. package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.ts +199 -0
  237. package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.html +99 -0
  238. package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.scss +177 -0
  239. package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.spec.ts +25 -0
  240. package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.ts +335 -0
  241. package/src/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.ts +50 -0
  242. package/src/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.html +92 -0
  243. package/src/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.scss +132 -0
  244. package/src/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.ts +194 -0
  245. package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.html +13 -0
  246. package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.scss +19 -0
  247. package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.spec.ts +25 -0
  248. package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.ts +85 -0
  249. package/src/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.html +27 -0
  250. package/src/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.scss +147 -0
  251. package/src/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.ts +213 -0
  252. package/src/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.html +69 -0
  253. package/src/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.scss +208 -0
  254. package/src/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.ts +309 -0
  255. package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.ts +73 -0
  256. package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.ts +350 -0
  257. package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dynamic-form-treeview-select.component.html +241 -0
  258. package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dynamic-form-treeview-select.component.scss +246 -0
  259. package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.html +23 -0
  260. package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.scss +29 -0
  261. package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.spec.ts +25 -0
  262. package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.ts +39 -0
  263. package/src/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.html +35 -0
  264. package/src/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.scss +0 -0
  265. package/src/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.spec.ts +25 -0
  266. package/src/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.ts +175 -0
  267. package/src/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.ts +780 -0
  268. package/src/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.html +2 -0
  269. package/src/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.scss +0 -0
  270. package/src/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.ts +33 -0
  271. package/src/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.ts +22 -0
  272. package/src/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.html +1 -0
  273. package/src/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.scss +0 -0
  274. package/src/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.ts +32 -0
  275. package/src/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.ts +20 -0
  276. package/src/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.css +0 -0
  277. package/src/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.html +17 -0
  278. package/src/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.ts +65 -0
  279. package/src/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.formio.ts +34 -0
  280. package/src/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.html +10 -0
  281. package/src/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.scss +0 -0
  282. package/src/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.ts +28 -0
  283. package/src/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.ts +34 -0
  284. package/src/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.ts +10 -0
  285. package/src/lib/components/dynamic-form/dynamic-form.module.scss +13 -0
  286. package/src/lib/components/dynamic-form/dynamic-form.module.ts +193 -0
  287. package/src/lib/components/dynamic-form/interfaces/aspect-oriented-config.interface.ts +3 -0
  288. package/src/lib/components/dynamic-form/interfaces/content-metadata-config.interface.ts +16 -0
  289. package/src/lib/components/dynamic-form/interfaces/content-metadata.interfaces.ts +26 -0
  290. package/src/lib/components/dynamic-form/interfaces/dynamic-form-arrayitem-properties.interface.ts +5 -0
  291. package/src/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.ts +6 -0
  292. package/src/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.ts +6 -0
  293. package/src/lib/components/dynamic-form/interfaces/dynamic-form-group.interface.ts +6 -0
  294. package/src/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.ts +16 -0
  295. package/src/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.ts +4 -0
  296. package/src/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.ts +12 -0
  297. package/src/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.ts +11 -0
  298. package/src/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.ts +13 -0
  299. package/src/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.ts +6 -0
  300. package/src/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.ts +9 -0
  301. package/src/lib/components/dynamic-form/interfaces/indifferent-config.interface.ts +1 -0
  302. package/src/lib/components/dynamic-form/interfaces/layout-oriented-config.interface.ts +17 -0
  303. package/src/lib/components/dynamic-form/interfaces/organised-property-group.interface.ts +7 -0
  304. package/src/lib/components/dynamic-form/interfaces/preset-config.interface.ts +8 -0
  305. package/src/lib/components/dynamic-form/interfaces/property-group.interface.ts +14 -0
  306. package/src/lib/components/dynamic-form/interfaces/property.interface.ts +12 -0
  307. package/src/lib/components/dynamic-form/models/dynamic-form-arrayitem.model.ts +26 -0
  308. package/src/lib/components/dynamic-form/models/dynamic-form-baseitem.model.ts +96 -0
  309. package/src/lib/components/dynamic-form/models/dynamic-form-boolitem.model.ts +27 -0
  310. package/src/lib/components/dynamic-form/models/dynamic-form-dateitem.model.ts +39 -0
  311. package/src/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.ts +18 -0
  312. package/src/lib/components/dynamic-form/models/dynamic-form-keyvaluepairs.model.ts +19 -0
  313. package/src/lib/components/dynamic-form/models/dynamic-form-mapitem.model.ts +17 -0
  314. package/src/lib/components/dynamic-form/models/dynamic-form-selectitem.model.ts +30 -0
  315. package/src/lib/components/dynamic-form/models/dynamic-form-textitem.model.ts +47 -0
  316. package/src/lib/components/dynamic-form/services/card-item-types.service.ts +55 -0
  317. package/src/lib/components/dynamic-form/services/dynamic-component-mapper.service.ts +86 -0
  318. package/src/lib/components/dynamic-form/services/dynamic-form-update.service.ts +105 -0
  319. package/src/lib/components/dynamic-form/services/property-groups-translator.service.ts +159 -0
  320. package/src/lib/components/dynamic-form/services/vocabulary-api.service.ts +32 -0
  321. package/src/lib/components/dynamic-form/validators/date-validator.ts +18 -0
  322. package/src/lib/components/dynamic-form/validators/length-validator.ts +18 -0
  323. package/src/lib/components/dynamic-form/validators/regex-validator.ts +16 -0
  324. package/src/lib/components/dynamic-form/validators/required-validator.ts +7 -0
  325. package/src/lib/components/dynamic-form/validators/value-validator.ts +18 -0
  326. package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.html +219 -0
  327. package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.scss +195 -0
  328. package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.spec.ts +25 -0
  329. package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.ts +321 -0
  330. package/src/lib/components/dynamic-search/dynamic-search.module.ts +33 -0
  331. package/src/lib/components/dynamic-table/constants/documents.ts +72 -0
  332. package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.html +47 -0
  333. package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.scss +33 -0
  334. package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.spec.ts +25 -0
  335. package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.ts +241 -0
  336. package/src/lib/components/dynamic-table/dynamic-table.module.ts +27 -0
  337. package/src/lib/components/dynamic-table/services/dynamic-table.service.spec.ts +16 -0
  338. package/src/lib/components/dynamic-table/services/dynamic-table.service.ts +10 -0
  339. package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.html +11 -0
  340. package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.scss +63 -0
  341. package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.spec.ts +25 -0
  342. package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.ts +25 -0
  343. package/src/lib/components/dynamic-tabs/dynamic-tabs.module.ts +20 -0
  344. package/src/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.html +4 -0
  345. package/src/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.scss +0 -0
  346. package/src/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.spec.ts +25 -0
  347. package/src/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.ts +19 -0
  348. package/src/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.html +3 -0
  349. package/src/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.scss +0 -0
  350. package/src/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.spec.ts +25 -0
  351. package/src/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.ts +55 -0
  352. package/src/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.html +3 -0
  353. package/src/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.scss +0 -0
  354. package/src/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.spec.ts +25 -0
  355. package/src/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.ts +65 -0
  356. package/src/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.html +14 -0
  357. package/src/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.scss +0 -0
  358. package/src/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.spec.ts +25 -0
  359. package/src/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.ts +28 -0
  360. package/src/lib/components/dynamic-view/data-viewer/data-viewer.component.html +15 -0
  361. package/src/lib/components/dynamic-view/data-viewer/data-viewer.component.scss +0 -0
  362. package/src/lib/components/dynamic-view/data-viewer/data-viewer.component.spec.ts +25 -0
  363. package/src/lib/components/dynamic-view/data-viewer/data-viewer.component.ts +19 -0
  364. package/src/lib/components/dynamic-view/date-viewer/date-viewer.component.html +5 -0
  365. package/src/lib/components/dynamic-view/date-viewer/date-viewer.component.scss +0 -0
  366. package/src/lib/components/dynamic-view/date-viewer/date-viewer.component.spec.ts +25 -0
  367. package/src/lib/components/dynamic-view/date-viewer/date-viewer.component.ts +38 -0
  368. package/src/lib/components/dynamic-view/department-viewer/department-viewer.component.html +14 -0
  369. package/src/lib/components/dynamic-view/department-viewer/department-viewer.component.scss +0 -0
  370. package/src/lib/components/dynamic-view/department-viewer/department-viewer.component.spec.ts +25 -0
  371. package/src/lib/components/dynamic-view/department-viewer/department-viewer.component.ts +84 -0
  372. package/src/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.html +4 -0
  373. package/src/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.scss +0 -0
  374. package/src/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.spec.ts +25 -0
  375. package/src/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.ts +44 -0
  376. package/src/lib/components/dynamic-view/dynamic-view.module.ts +44 -0
  377. package/src/lib/components/dynamic-view/dynamic-viewe.service.ts +58 -0
  378. package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.html +24 -0
  379. package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.scss +55 -0
  380. package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.spec.ts +25 -0
  381. package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.ts +27 -0
  382. package/src/lib/components/file-manger/components/add-to-collection/add-to-collection.component.html +34 -0
  383. package/src/lib/components/file-manger/components/add-to-collection/add-to-collection.component.scss +0 -0
  384. package/src/lib/components/file-manger/components/add-to-collection/add-to-collection.component.spec.ts +25 -0
  385. package/src/lib/components/file-manger/components/add-to-collection/add-to-collection.component.ts +139 -0
  386. package/src/lib/components/file-manger/components/clipboard/clipboard.component.html +88 -0
  387. package/src/lib/components/file-manger/components/clipboard/clipboard.component.scss +17 -0
  388. package/src/lib/components/file-manger/components/clipboard/clipboard.component.spec.ts +25 -0
  389. package/src/lib/components/file-manger/components/clipboard/clipboard.component.ts +279 -0
  390. package/src/lib/components/file-manger/components/copy/copy.component.html +24 -0
  391. package/src/lib/components/file-manger/components/copy/copy.component.scss +0 -0
  392. package/src/lib/components/file-manger/components/copy/copy.component.spec.ts +25 -0
  393. package/src/lib/components/file-manger/components/copy/copy.component.ts +129 -0
  394. package/src/lib/components/file-manger/components/create-directory/create-directory.component.html +32 -0
  395. package/src/lib/components/file-manger/components/create-directory/create-directory.component.scss +0 -0
  396. package/src/lib/components/file-manger/components/create-directory/create-directory.component.spec.ts +25 -0
  397. package/src/lib/components/file-manger/components/create-directory/create-directory.component.ts +85 -0
  398. package/src/lib/components/file-manger/components/create-modal/create-modal.component.html +241 -0
  399. package/src/lib/components/file-manger/components/create-modal/create-modal.component.scss +30 -0
  400. package/src/lib/components/file-manger/components/create-modal/create-modal.component.spec.ts +25 -0
  401. package/src/lib/components/file-manger/components/create-modal/create-modal.component.ts +504 -0
  402. package/src/lib/components/file-manger/components/creation-type/creation-type.component.html +39 -0
  403. package/src/lib/components/file-manger/components/creation-type/creation-type.component.scss +0 -0
  404. package/src/lib/components/file-manger/components/creation-type/creation-type.component.spec.ts +25 -0
  405. package/src/lib/components/file-manger/components/creation-type/creation-type.component.ts +19 -0
  406. package/src/lib/components/file-manger/components/delete/delete.component.html +25 -0
  407. package/src/lib/components/file-manger/components/delete/delete.component.scss +0 -0
  408. package/src/lib/components/file-manger/components/delete/delete.component.spec.ts +25 -0
  409. package/src/lib/components/file-manger/components/delete/delete.component.ts +80 -0
  410. package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.html +87 -0
  411. package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.scss +17 -0
  412. package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.spec.ts +25 -0
  413. package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.ts +124 -0
  414. package/src/lib/components/file-manger/components/loan-request/loan-request.component.html +31 -0
  415. package/src/lib/components/file-manger/components/loan-request/loan-request.component.scss +0 -0
  416. package/src/lib/components/file-manger/components/loan-request/loan-request.component.spec.ts +25 -0
  417. package/src/lib/components/file-manger/components/loan-request/loan-request.component.ts +72 -0
  418. package/src/lib/components/file-manger/components/move/move.component.html +24 -0
  419. package/src/lib/components/file-manger/components/move/move.component.scss +0 -0
  420. package/src/lib/components/file-manger/components/move/move.component.spec.ts +25 -0
  421. package/src/lib/components/file-manger/components/move/move.component.ts +114 -0
  422. package/src/lib/components/file-manger/components/publish-dialog/publish-dialog.component.html +85 -0
  423. package/src/lib/components/file-manger/components/publish-dialog/publish-dialog.component.scss +0 -0
  424. package/src/lib/components/file-manger/components/publish-dialog/publish-dialog.component.spec.ts +25 -0
  425. package/src/lib/components/file-manger/components/publish-dialog/publish-dialog.component.ts +164 -0
  426. package/src/lib/components/file-manger/components/rename/rename.component.html +28 -0
  427. package/src/lib/components/file-manger/components/rename/rename.component.scss +0 -0
  428. package/src/lib/components/file-manger/components/rename/rename.component.spec.ts +25 -0
  429. package/src/lib/components/file-manger/components/rename/rename.component.ts +82 -0
  430. package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.html +336 -0
  431. package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.scss +9 -0
  432. package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.spec.ts +25 -0
  433. package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.ts +337 -0
  434. package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.html +159 -0
  435. package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.scss +38 -0
  436. package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.spec.ts +25 -0
  437. package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.ts +288 -0
  438. package/src/lib/components/file-manger/components/sidepanel/sidepanel.component.html +350 -0
  439. package/src/lib/components/file-manger/components/sidepanel/sidepanel.component.scss +0 -0
  440. package/src/lib/components/file-manger/components/sidepanel/sidepanel.component.spec.ts +25 -0
  441. package/src/lib/components/file-manger/components/sidepanel/sidepanel.component.ts +247 -0
  442. package/src/lib/components/file-manger/components/template-modal/template-modal.component.html +213 -0
  443. package/src/lib/components/file-manger/components/template-modal/template-modal.component.scss +3 -0
  444. package/src/lib/components/file-manger/components/template-modal/template-modal.component.spec.ts +25 -0
  445. package/src/lib/components/file-manger/components/template-modal/template-modal.component.ts +55 -0
  446. package/src/lib/components/file-manger/components/transfer-doc/transfer-doc.component.html +26 -0
  447. package/src/lib/components/file-manger/components/transfer-doc/transfer-doc.component.scss +0 -0
  448. package/src/lib/components/file-manger/components/transfer-doc/transfer-doc.component.spec.ts +25 -0
  449. package/src/lib/components/file-manger/components/transfer-doc/transfer-doc.component.ts +74 -0
  450. package/src/lib/components/file-manger/components/update-modal/update-modal.component.html +103 -0
  451. package/src/lib/components/file-manger/components/update-modal/update-modal.component.scss +7 -0
  452. package/src/lib/components/file-manger/components/update-modal/update-modal.component.spec.ts +25 -0
  453. package/src/lib/components/file-manger/components/update-modal/update-modal.component.ts +371 -0
  454. package/src/lib/components/file-manger/file-manager.abstract.ts +1351 -0
  455. package/src/lib/components/file-manger/file-manger.module.ts +154 -0
  456. package/src/lib/components/filter/filter/filter.component.html +79 -0
  457. package/src/lib/components/filter/filter/filter.component.md +68 -0
  458. package/src/lib/components/filter/filter/filter.component.scss +50 -0
  459. package/src/lib/components/filter/filter/filter.component.spec.ts +25 -0
  460. package/src/lib/components/filter/filter/filter.component.ts +81 -0
  461. package/src/lib/components/filter/filter.module.ts +27 -0
  462. package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-date-picker.component.scss +67 -0
  463. package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.html +47 -0
  464. package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.ts +99 -0
  465. package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-date-picker.component.scss +67 -0
  466. package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.html +47 -0
  467. package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.ts +102 -0
  468. package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.html +29 -0
  469. package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.ts +152 -0
  470. package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.ts +23 -0
  471. package/src/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.ts +35 -0
  472. package/src/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.ts +94 -0
  473. package/src/lib/components/hijri-gregorian-datepicker/services/date-helper.service.ts +28 -0
  474. package/src/lib/components/hijri-gregorian-datepicker/services/ngx-hijri-gregorian-datepicker.service.ts +9 -0
  475. package/src/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.ts +35 -0
  476. package/src/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.ts +26 -0
  477. package/src/lib/components/hijri-gregorian-datepicker/utils/consts.ts +4 -0
  478. package/src/lib/components/latest-activity/components/activity-line/activity-line.component.html +27 -0
  479. package/src/lib/components/latest-activity/components/activity-line/activity-line.component.scss +13 -0
  480. package/src/lib/components/latest-activity/components/activity-line/activity-line.component.spec.ts +25 -0
  481. package/src/lib/components/latest-activity/components/activity-line/activity-line.component.ts +73 -0
  482. package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.html +36 -0
  483. package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.scss +12 -0
  484. package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.spec.ts +25 -0
  485. package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.ts +78 -0
  486. package/src/lib/components/latest-activity/components/single-activity/single-activity.component.html +38 -0
  487. package/src/lib/components/latest-activity/components/single-activity/single-activity.component.scss +157 -0
  488. package/src/lib/components/latest-activity/components/single-activity/single-activity.component.spec.ts +25 -0
  489. package/src/lib/components/latest-activity/components/single-activity/single-activity.component.ts +19 -0
  490. package/src/lib/components/latest-activity/constants/activitylog.ts +80 -0
  491. package/src/lib/components/latest-activity/latest-activity.module.ts +33 -0
  492. package/src/lib/components/latest-activity/services/activity-log.service.ts +41 -0
  493. package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.html +36 -0
  494. package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.scss +32 -0
  495. package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.spec.ts +25 -0
  496. package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.ts +45 -0
  497. package/src/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.ts +18 -0
  498. package/src/lib/components/notifications/components/notification-item/notification-item.component.html +45 -0
  499. package/src/lib/components/notifications/components/notification-item/notification-item.component.scss +60 -0
  500. package/src/lib/components/notifications/components/notification-item/notification-item.component.ts +136 -0
  501. package/src/lib/components/notifications/components/notification-options/notification-options.component.html +7 -0
  502. package/src/lib/components/notifications/components/notification-options/notification-options.component.scss +7 -0
  503. package/src/lib/components/notifications/components/notification-options/notification-options.component.ts +16 -0
  504. package/src/lib/components/notifications/components/notification-toast/notification-toast.component.html +66 -0
  505. package/src/lib/components/notifications/components/notification-toast/notification-toast.component.scss +62 -0
  506. package/src/lib/components/notifications/components/notification-toast/notification-toast.component.spec.ts +25 -0
  507. package/src/lib/components/notifications/components/notification-toast/notification-toast.component.ts +55 -0
  508. package/src/lib/components/notifications/components/notifications-button/notifications-button.component.html +7 -0
  509. package/src/lib/components/notifications/components/notifications-button/notifications-button.component.scss +90 -0
  510. package/src/lib/components/notifications/components/notifications-button/notifications-button.component.ts +190 -0
  511. package/src/lib/components/notifications/components/notifications-list/notifications-list.component.html +55 -0
  512. package/src/lib/components/notifications/components/notifications-list/notifications-list.component.scss +108 -0
  513. package/src/lib/components/notifications/components/notifications-list/notifications-list.component.ts +161 -0
  514. package/src/lib/components/notifications/interceptors/token.interceptor.ts +37 -0
  515. package/src/lib/components/notifications/notifications.module.ts +67 -0
  516. package/src/lib/components/notifications/notifications.service.ts +300 -0
  517. package/src/lib/components/pagination/pagination/pagination.component.html +33 -0
  518. package/src/lib/components/pagination/pagination/pagination.component.scss +46 -0
  519. package/src/lib/components/pagination/pagination/pagination.component.spec.ts +25 -0
  520. package/src/lib/components/pagination/pagination/pagination.component.ts +132 -0
  521. package/src/lib/components/pagination/pagination.module.ts +21 -0
  522. package/src/lib/components/pdf-tron/pdf-tron.module.ts +16 -0
  523. package/src/lib/components/pdf-tron/pdftron/pdftron.component.html +1 -0
  524. package/src/lib/components/pdf-tron/pdftron/pdftron.component.scss +0 -0
  525. package/src/lib/components/pdf-tron/pdftron/pdftron.component.spec.ts +25 -0
  526. package/src/lib/components/pdf-tron/pdftron/pdftron.component.ts +782 -0
  527. package/src/lib/components/pdf-tron/pdftron/pdftron.service.ts +236 -0
  528. package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.html +139 -0
  529. package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.scss +159 -0
  530. package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.spec.ts +25 -0
  531. package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.ts +198 -0
  532. package/src/lib/components/permissions/permission.service.ts +151 -0
  533. package/src/lib/components/permissions/permissions/permissions.component.html +129 -0
  534. package/src/lib/components/permissions/permissions/permissions.component.scss +0 -0
  535. package/src/lib/components/permissions/permissions/permissions.component.spec.ts +25 -0
  536. package/src/lib/components/permissions/permissions/permissions.component.ts +230 -0
  537. package/src/lib/components/permissions/permissions-template/permissions-template.component.html +54 -0
  538. package/src/lib/components/permissions/permissions-template/permissions-template.component.scss +7 -0
  539. package/src/lib/components/permissions/permissions-template/permissions-template.component.spec.ts +25 -0
  540. package/src/lib/components/permissions/permissions-template/permissions-template.component.ts +104 -0
  541. package/src/lib/components/permissions/permissions.module.ts +39 -0
  542. package/src/lib/components/select/select/select.component.html +64 -0
  543. package/src/lib/components/select/select/select.component.scss +144 -0
  544. package/src/lib/components/select/select/select.component.spec.ts +25 -0
  545. package/src/lib/components/select/select/select.component.ts +116 -0
  546. package/src/lib/components/select/select.module.ts +22 -0
  547. package/src/lib/components/select-users-by-department/select-users-by-department.module.ts +27 -0
  548. package/src/lib/components/select-users-by-department/select-users-by-departments/department-management.service.ts +27 -0
  549. package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.html +88 -0
  550. package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.scss +15 -0
  551. package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.spec.ts +25 -0
  552. package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.ts +105 -0
  553. package/src/lib/components/table/dynamic-column/dynamic-column.component.ts +79 -0
  554. package/src/lib/components/table/table/table.component.html +385 -0
  555. package/src/lib/components/table/table/table.component.scss +522 -0
  556. package/src/lib/components/table/table/table.component.spec.ts +25 -0
  557. package/src/lib/components/table/table/table.component.ts +197 -0
  558. package/src/lib/components/table/table.module.ts +35 -0
  559. package/src/lib/components/user/user/user.component.html +15 -0
  560. package/src/lib/components/user/user/user.component.scss +0 -0
  561. package/src/lib/components/user/user/user.component.spec.ts +25 -0
  562. package/src/lib/components/user/user/user.component.ts +19 -0
  563. package/src/lib/components/user/user.module.ts +18 -0
  564. package/src/lib/components/users-card/users-card.component.html +20 -0
  565. package/src/lib/components/users-card/users-card.component.scss +16 -0
  566. package/src/lib/components/users-card/users-card.component.ts +30 -0
  567. package/src/lib/components/users-card/users-card.module.ts +19 -0
  568. package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.html +9 -0
  569. package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.scss +12 -0
  570. package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.spec.ts +25 -0
  571. package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.ts +25 -0
  572. package/src/lib/components/viewer-log/viewer-log.module.ts +12 -0
  573. package/src/lib/components/vocabulary/interfaces/op-type.interface.ts +4 -0
  574. package/src/lib/components/vocabulary/services/vocabulary-api.service.ts +46 -0
  575. package/src/lib/components/vocabulary/vocabulary/vocabulary.component.html +12 -0
  576. package/src/lib/components/vocabulary/vocabulary/vocabulary.component.scss +0 -0
  577. package/src/lib/components/vocabulary/vocabulary/vocabulary.component.spec.ts +25 -0
  578. package/src/lib/components/vocabulary/vocabulary/vocabulary.component.ts +80 -0
  579. package/src/lib/components/vocabulary/vocabulary.module.ts +20 -0
  580. package/src/lib/configuration/app-config.service.ts +26 -0
  581. package/src/lib/configuration/configuration.module.ts +12 -0
  582. package/src/lib/configuration/helpers/app-initializer.ts +5 -0
  583. package/src/lib/directive/app-has-role/app-has-role.directive.ts +62 -0
  584. package/src/lib/directive/clickOutSide/click-outside.directive.ts +20 -0
  585. package/src/lib/directive/directive.module.ts +36 -0
  586. package/src/lib/directive/drag-and-drop/drag-and-drop.directive.ts +37 -0
  587. package/src/lib/directive/permissions/evaluators.service.ts +148 -0
  588. package/src/lib/directive/permissions/permissions.directive.ts +74 -0
  589. package/src/lib/directive/rtl/set-dir-rtl.directive.ts +25 -0
  590. package/src/lib/directive/rtl/set-rtl.directive.ts +26 -0
  591. package/src/lib/nuxeo-development-framework.component.ts +20 -0
  592. package/src/lib/nuxeo-development-framework.module.ts +31 -0
  593. package/src/lib/nuxeo-development-framework.service.ts +9 -0
  594. package/src/lib/pipes/file-size.pipe.ts +61 -0
  595. package/src/lib/pipes/hijri-date.pipe.ts +40 -0
  596. package/src/lib/pipes/localized-date.pipe.ts +80 -0
  597. package/src/lib/pipes/multi-value.pipe.ts +39 -0
  598. package/src/lib/pipes/pipes.module.ts +20 -0
  599. package/src/lib/pipes/secure-html.pipe.ts +27 -0
  600. package/src/lib/pipes/secure.pipe.ts +37 -0
  601. package/src/lib/pipes/time-ago.pipe.ts +68 -0
  602. package/src/lib/shared/components/button/button.component.html +13 -0
  603. package/src/lib/shared/components/button/button.component.scss +102 -0
  604. package/src/lib/shared/components/button/button.component.spec.ts +25 -0
  605. package/src/lib/shared/components/button/button.component.ts +87 -0
  606. package/src/lib/shared/components/item-list/item-list.component.html +37 -0
  607. package/src/lib/shared/components/item-list/item-list.component.scss +62 -0
  608. package/src/lib/shared/components/item-list/item-list.component.spec.ts +25 -0
  609. package/src/lib/shared/components/item-list/item-list.component.ts +69 -0
  610. package/src/lib/shared/components/no-data/no-data.component.html +3 -0
  611. package/src/lib/shared/components/no-data/no-data.component.scss +13 -0
  612. package/src/lib/shared/components/no-data/no-data.component.spec.ts +25 -0
  613. package/src/lib/shared/components/no-data/no-data.component.ts +26 -0
  614. package/src/lib/shared/components/read-more/read-more.component.ts +86 -0
  615. package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.html +24 -0
  616. package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.scss +50 -0
  617. package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.spec.ts +25 -0
  618. package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.ts +153 -0
  619. package/src/lib/shared/components/spinner/spinner.component.html +10 -0
  620. package/src/lib/shared/components/spinner/spinner.component.scss +11 -0
  621. package/src/lib/shared/components/spinner/spinner.component.spec.ts +25 -0
  622. package/src/lib/shared/components/spinner/spinner.component.ts +25 -0
  623. package/src/lib/shared/components/user-card/user-card.component.html +21 -0
  624. package/src/lib/shared/components/user-card/user-card.component.scss +42 -0
  625. package/src/lib/shared/components/user-card/user-card.component.spec.ts +25 -0
  626. package/src/lib/shared/components/user-card/user-card.component.ts +42 -0
  627. package/src/lib/shared/libraryShared.module.ts +47 -0
  628. package/src/lib/shared-services/dialog-mangment.service.ts +62 -0
  629. package/src/lib/shared-services/dynamic-form.service.ts +252 -0
  630. package/src/lib/shared-services/file-manager.adapter.ts +69 -0
  631. package/src/lib/shared-services/file-manager.service.ts +1075 -0
  632. package/src/lib/shared-services/global-pdftron.service.ts +50 -0
  633. package/src/lib/shared-services/mainfolder.service.ts +227 -0
  634. package/src/lib/shared-services/publishing-document.service.ts +242 -0
  635. package/src/lib/shared-services/recently-viewed.service.ts +55 -0
  636. package/src/lib/shared-services/shared-docs.service.ts +173 -0
  637. package/src/lib/shared-services/shared-services.module.ts +12 -0
  638. package/src/lib/shared-services/upload-file.service.ts +26 -0
  639. package/src/lib/shared-services/upload-managment.service.ts +148 -0
  640. package/src/lib/shared-services/user.service.ts +59 -0
  641. package/src/public-api.ts +274 -0
  642. package/src/test.ts +26 -0
  643. package/tsconfig.doc.json +4 -0
  644. package/tsconfig.lib.json +21 -0
  645. package/tsconfig.lib.prod.json +10 -0
  646. package/tsconfig.spec.json +17 -0
  647. package/tslint.json +17 -0
  648. package/bundles/nuxeo-development-framework.umd.js +0 -29708
  649. package/bundles/nuxeo-development-framework.umd.js.map +0 -1
  650. package/esm2015/lib/Core/adapters/adapter.service.js +0 -50
  651. package/esm2015/lib/Core/core.module.js +0 -107
  652. package/esm2015/lib/Core/enums/language.enum.js +0 -6
  653. package/esm2015/lib/Core/models/component.model.js +0 -8
  654. package/esm2015/lib/Core/services/callApi/call-api.service.js +0 -33
  655. package/esm2015/lib/Core/services/extension/action.extensions.js +0 -9
  656. package/esm2015/lib/Core/services/extension/component-register.service.js +0 -25
  657. package/esm2015/lib/Core/services/extension/extenion-utils.js +0 -115
  658. package/esm2015/lib/Core/services/extension/extension-element.js +0 -2
  659. package/esm2015/lib/Core/services/extension/extension-loader.service.js +0 -127
  660. package/esm2015/lib/Core/services/extension/extension.service.js +0 -120
  661. package/esm2015/lib/Core/services/initialization/initialization.service.js +0 -57
  662. package/esm2015/lib/Core/services/localStorag/local-storag.service.js +0 -123
  663. package/esm2015/lib/Core/services/nuxeo/nuxeo-override.js +0 -82
  664. package/esm2015/lib/Core/services/nuxeo/nuxeo.service.js +0 -120
  665. package/esm2015/lib/Core/services/roles/roles.service.js +0 -134
  666. package/esm2015/lib/Core/services/translation/translate-loader.service.js +0 -150
  667. package/esm2015/lib/Core/services/translation/translation.service.js +0 -174
  668. package/esm2015/lib/Core/services/user/user-preferences.service.js +0 -153
  669. package/esm2015/lib/Core/utilities/moment-date-adapter.js +0 -178
  670. package/esm2015/lib/Core/utilities/utility.service.js +0 -81
  671. package/esm2015/lib/components/activities-log/activities-log/activities-log.component.js +0 -188
  672. package/esm2015/lib/components/activities-log/activities-log/activities-log.service.js +0 -35
  673. package/esm2015/lib/components/activities-log/activities-log.module.js +0 -41
  674. package/esm2015/lib/components/activity/activity/activity.component.js +0 -28
  675. package/esm2015/lib/components/activity/activity.module.js +0 -37
  676. package/esm2015/lib/components/attachment-item/attachment-item/attachment-item.component.js +0 -54
  677. package/esm2015/lib/components/attachment-item/attachment-item.module.js +0 -44
  678. package/esm2015/lib/components/attachment-modal/attachment-modal.module.js +0 -40
  679. package/esm2015/lib/components/attachment-modal/attachments/attachments.component.js +0 -157
  680. package/esm2015/lib/components/avatar/avatar/avatar.component.js +0 -55
  681. package/esm2015/lib/components/avatar/avatar.module.js +0 -32
  682. package/esm2015/lib/components/card/card.component.js +0 -48
  683. package/esm2015/lib/components/card/card.module.js +0 -23
  684. package/esm2015/lib/components/comments/comments.module.js +0 -82
  685. package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +0 -86
  686. package/esm2015/lib/components/comments/components/comments-dashlet/comments-dashlet.component.js +0 -81
  687. package/esm2015/lib/components/comments/components/comments-list/comments-list.component.js +0 -73
  688. package/esm2015/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.js +0 -63
  689. package/esm2015/lib/components/comments/constants/comment.js +0 -25
  690. package/esm2015/lib/components/comments/services/comment-api.service.js +0 -71
  691. package/esm2015/lib/components/confirm-caller/confirm-caller.dialog.js +0 -75
  692. package/esm2015/lib/components/confirm-caller/confirm-caller.module.js +0 -27
  693. package/esm2015/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.js +0 -29
  694. package/esm2015/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.js +0 -30
  695. package/esm2015/lib/components/confirmation-dialog/confirmation-dialog.module.js +0 -30
  696. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.js +0 -137
  697. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.js +0 -133
  698. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.js +0 -110
  699. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.js +0 -68
  700. package/esm2015/lib/components/correspondence-relation/components/versions/versions.component.js +0 -75
  701. package/esm2015/lib/components/correspondence-relation/correspondence-relation.module.js +0 -111
  702. package/esm2015/lib/components/correspondence-relation/services/correspondence-realation.service.js +0 -153
  703. package/esm2015/lib/components/correspondence-relation/services/viewer-files.service.js +0 -50
  704. package/esm2015/lib/components/create-entity/create-entity/create-entity.component.js +0 -69
  705. package/esm2015/lib/components/create-entity/create-entity.module.js +0 -36
  706. package/esm2015/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.js +0 -180
  707. package/esm2015/lib/components/cts-tags/cts-tags.module.js +0 -65
  708. package/esm2015/lib/components/cts-tags/services/tags-api.service.js +0 -86
  709. package/esm2015/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.js +0 -66
  710. package/esm2015/lib/components/custom-toastr/custom-toastr.module.js +0 -36
  711. package/esm2015/lib/components/custom-toastr/interfaces/toast-type.interface.js +0 -2
  712. package/esm2015/lib/components/custom-toastr/services/custom-toastr.service.js +0 -41
  713. package/esm2015/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.js +0 -44
  714. package/esm2015/lib/components/display-suitable-icon/display-suitable-icon/icon.service.js +0 -140
  715. package/esm2015/lib/components/display-suitable-icon/display-suitable-icon.module.js +0 -24
  716. package/esm2015/lib/components/documents/components/attachments-list/attachments-list.component.js +0 -156
  717. package/esm2015/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.js +0 -75
  718. package/esm2015/lib/components/documents/components/document-list/documents-list.component.js +0 -252
  719. package/esm2015/lib/components/documents/components/document-scan/document-scan.component.js +0 -974
  720. package/esm2015/lib/components/documents/components/document-scan/document-scan.service.js +0 -30
  721. package/esm2015/lib/components/documents/components/document-upload/document-upload.component.js +0 -159
  722. package/esm2015/lib/components/documents/components/documents/documents.component.js +0 -63
  723. package/esm2015/lib/components/documents/constants/document-templates.js +0 -32
  724. package/esm2015/lib/components/documents/constants/documents.js +0 -86
  725. package/esm2015/lib/components/documents/documents.module.js +0 -123
  726. package/esm2015/lib/components/documents/services/document-templates.service.js +0 -115
  727. package/esm2015/lib/components/documents/services/documents.service.js +0 -223
  728. package/esm2015/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.js +0 -391
  729. package/esm2015/lib/components/dynamic-chart/dynamic-chart.module.js +0 -34
  730. package/esm2015/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.js +0 -164
  731. package/esm2015/lib/components/dynamic-chart/services/chart-data.service.js +0 -552
  732. package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.js +0 -188
  733. package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.js +0 -43
  734. package/esm2015/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.js +0 -137
  735. package/esm2015/lib/components/dynamic-filter/dynamic-filter.module.js +0 -27
  736. package/esm2015/lib/components/dynamic-form/components/department-form/department-form.component.js +0 -130
  737. package/esm2015/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.js +0 -105
  738. package/esm2015/lib/components/dynamic-form/components/dynamic-form/fields.adapter.js +0 -127
  739. package/esm2015/lib/components/dynamic-form/components/dynamic-form/form-builder.service.js +0 -107
  740. package/esm2015/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.js +0 -35
  741. package/esm2015/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.js +0 -165
  742. package/esm2015/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.js +0 -71
  743. package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.js +0 -202
  744. package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.js +0 -78
  745. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/constants/department.js +0 -13
  746. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.js +0 -204
  747. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.js +0 -235
  748. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.js +0 -95
  749. package/esm2015/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.js +0 -85
  750. package/esm2015/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.js +0 -139
  751. package/esm2015/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.js +0 -81
  752. package/esm2015/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.js +0 -36
  753. package/esm2015/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.js +0 -106
  754. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.js +0 -101
  755. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.js +0 -207
  756. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.js +0 -311
  757. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.js +0 -56
  758. package/esm2015/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.js +0 -191
  759. package/esm2015/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.js +0 -81
  760. package/esm2015/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.js +0 -180
  761. package/esm2015/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.js +0 -282
  762. package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.js +0 -68
  763. package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.js +0 -314
  764. package/esm2015/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.js +0 -47
  765. package/esm2015/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.js +0 -178
  766. package/esm2015/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.js +0 -768
  767. package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.js +0 -35
  768. package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.js +0 -17
  769. package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.js +0 -34
  770. package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.js +0 -17
  771. package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.js +0 -74
  772. package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.formio.js +0 -30
  773. package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.js +0 -32
  774. package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.js +0 -30
  775. package/esm2015/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.js +0 -17
  776. package/esm2015/lib/components/dynamic-form/dynamic-form.module.js +0 -299
  777. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.js +0 -2
  778. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.js +0 -2
  779. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.js +0 -2
  780. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.js +0 -2
  781. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.js +0 -2
  782. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.js +0 -2
  783. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.js +0 -2
  784. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.js +0 -2
  785. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.js +0 -2
  786. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form.interfaces.js +0 -10
  787. package/esm2015/lib/components/dynamic-form/models/dynamic-form-baseitem.model.js +0 -63
  788. package/esm2015/lib/components/dynamic-form/models/dynamic-form-boolitem.model.js +0 -20
  789. package/esm2015/lib/components/dynamic-form/models/dynamic-form-dateitem.model.js +0 -24
  790. package/esm2015/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.js +0 -12
  791. package/esm2015/lib/components/dynamic-form/models/dynamic-form-mapitem.model.js +0 -16
  792. package/esm2015/lib/components/dynamic-form/models/dynamic-form-selectitem.model.js +0 -17
  793. package/esm2015/lib/components/dynamic-form/models/dynamic-form-textitem.model.js +0 -32
  794. package/esm2015/lib/components/dynamic-form/models/dynamic-form.models.js +0 -8
  795. package/esm2015/lib/components/dynamic-form/services/card-item-types.service.js +0 -46
  796. package/esm2015/lib/components/dynamic-form/services/dynamic-component-mapper.service.js +0 -60
  797. package/esm2015/lib/components/dynamic-form/services/dynamic-form-update.service.js +0 -83
  798. package/esm2015/lib/components/dynamic-form/validators/length-validator.js +0 -15
  799. package/esm2015/lib/components/dynamic-form/validators/regex-validator.js +0 -15
  800. package/esm2015/lib/components/dynamic-form/validators/required-validator.js +0 -9
  801. package/esm2015/lib/components/dynamic-form/validators/value-validator.js +0 -15
  802. package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +0 -323
  803. package/esm2015/lib/components/dynamic-search/dynamic-search.module.js +0 -61
  804. package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +0 -242
  805. package/esm2015/lib/components/dynamic-table/dynamic-table.module.js +0 -44
  806. package/esm2015/lib/components/dynamic-table/services/dynamic-table.service.js +0 -16
  807. package/esm2015/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.js +0 -39
  808. package/esm2015/lib/components/dynamic-tabs/dynamic-tabs.module.js +0 -34
  809. package/esm2015/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.js +0 -36
  810. package/esm2015/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.js +0 -59
  811. package/esm2015/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.js +0 -68
  812. package/esm2015/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.js +0 -33
  813. package/esm2015/lib/components/dynamic-view/data-viewer/data-viewer.component.js +0 -33
  814. package/esm2015/lib/components/dynamic-view/date-viewer/date-viewer.component.js +0 -55
  815. package/esm2015/lib/components/dynamic-view/department-viewer/department-viewer.component.js +0 -89
  816. package/esm2015/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.js +0 -61
  817. package/esm2015/lib/components/dynamic-view/dynamic-view.module.js +0 -69
  818. package/esm2015/lib/components/dynamic-view/dynamic-viewe.service.js +0 -62
  819. package/esm2015/lib/components/dynamic-view/list-viewer/list-viewer.component.js +0 -40
  820. package/esm2015/lib/components/file-manger/components/add-to-collection/add-to-collection.component.js +0 -132
  821. package/esm2015/lib/components/file-manger/components/clipboard/clipboard.component.js +0 -264
  822. package/esm2015/lib/components/file-manger/components/copy/copy.component.js +0 -121
  823. package/esm2015/lib/components/file-manger/components/create-directory/create-directory.component.js +0 -91
  824. package/esm2015/lib/components/file-manger/components/create-modal/create-modal.component.js +0 -488
  825. package/esm2015/lib/components/file-manger/components/creation-type/creation-type.component.js +0 -26
  826. package/esm2015/lib/components/file-manger/components/delete/delete.component.js +0 -74
  827. package/esm2015/lib/components/file-manger/components/folder-modal/folder-modal.component.js +0 -129
  828. package/esm2015/lib/components/file-manger/components/loan-request/loan-request.component.js +0 -80
  829. package/esm2015/lib/components/file-manger/components/move/move.component.js +0 -110
  830. package/esm2015/lib/components/file-manger/components/publish-dialog/publish-dialog.component.js +0 -152
  831. package/esm2015/lib/components/file-manger/components/rename/rename.component.js +0 -86
  832. package/esm2015/lib/components/file-manger/components/scan-modal/scan-modal.component.js +0 -314
  833. package/esm2015/lib/components/file-manger/components/share-dialog/share-dialog.component.js +0 -294
  834. package/esm2015/lib/components/file-manger/components/sidepanel/sidepanel.component.js +0 -257
  835. package/esm2015/lib/components/file-manger/components/template-modal/template-modal.component.js +0 -64
  836. package/esm2015/lib/components/file-manger/components/transfer-doc/transfer-doc.component.js +0 -71
  837. package/esm2015/lib/components/file-manger/components/update-modal/update-modal.component.js +0 -366
  838. package/esm2015/lib/components/file-manger/file-manager.abstract.js +0 -1040
  839. package/esm2015/lib/components/file-manger/file-manger.module.js +0 -295
  840. package/esm2015/lib/components/filter/filter/filter.component.js +0 -94
  841. package/esm2015/lib/components/filter/filter.module.js +0 -45
  842. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.js +0 -123
  843. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.js +0 -126
  844. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.js +0 -165
  845. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.js +0 -32
  846. package/esm2015/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.js +0 -58
  847. package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.js +0 -71
  848. package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-helper.service.js +0 -30
  849. package/esm2015/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.js +0 -43
  850. package/esm2015/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.js +0 -26
  851. package/esm2015/lib/components/hijri-gregorian-datepicker/utils/consts.js +0 -5
  852. package/esm2015/lib/components/latest-activity/components/activity-line/activity-line.component.js +0 -75
  853. package/esm2015/lib/components/latest-activity/components/latest-activity/latest-activity.component.js +0 -70
  854. package/esm2015/lib/components/latest-activity/components/single-activity/single-activity.component.js +0 -27
  855. package/esm2015/lib/components/latest-activity/constants/activitylog.js +0 -80
  856. package/esm2015/lib/components/latest-activity/latest-activity.module.js +0 -57
  857. package/esm2015/lib/components/latest-activity/services/activity-log.service.js +0 -33
  858. package/esm2015/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.js +0 -51
  859. package/esm2015/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.js +0 -30
  860. package/esm2015/lib/components/notifications/components/notification-item/notification-item.component.js +0 -137
  861. package/esm2015/lib/components/notifications/components/notification-options/notification-options.component.js +0 -22
  862. package/esm2015/lib/components/notifications/components/notification-toast/notification-toast.component.js +0 -57
  863. package/esm2015/lib/components/notifications/components/notifications-button/notifications-button.component.js +0 -172
  864. package/esm2015/lib/components/notifications/components/notifications-list/notifications-list.component.js +0 -164
  865. package/esm2015/lib/components/notifications/notifications.module.js +0 -109
  866. package/esm2015/lib/components/notifications/notifications.service.js +0 -280
  867. package/esm2015/lib/components/pagination/pagination/pagination.component.js +0 -124
  868. package/esm2015/lib/components/pagination/pagination.module.js +0 -32
  869. package/esm2015/lib/components/pdf-tron/pdf-tron.module.js +0 -24
  870. package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +0 -745
  871. package/esm2015/lib/components/pdf-tron/pdftron/pdftron.service.js +0 -239
  872. package/esm2015/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.js +0 -177
  873. package/esm2015/lib/components/permissions/permission.service.js +0 -118
  874. package/esm2015/lib/components/permissions/permissions/permissions.component.js +0 -235
  875. package/esm2015/lib/components/permissions/permissions-template/permissions-template.component.js +0 -117
  876. package/esm2015/lib/components/permissions/permissions.module.js +0 -71
  877. package/esm2015/lib/components/select/select/select.component.js +0 -130
  878. package/esm2015/lib/components/select/select.module.js +0 -37
  879. package/esm2015/lib/components/select-users-by-department/select-users-by-department.module.js +0 -47
  880. package/esm2015/lib/components/select-users-by-department/select-users-by-departments/department-management.service.js +0 -27
  881. package/esm2015/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.js +0 -116
  882. package/esm2015/lib/components/table/dynamic-column/dynamic-column.component.js +0 -64
  883. package/esm2015/lib/components/table/table/table.component.js +0 -231
  884. package/esm2015/lib/components/table/table.module.js +0 -61
  885. package/esm2015/lib/components/user/user/user.component.js +0 -31
  886. package/esm2015/lib/components/user/user.module.js +0 -30
  887. package/esm2015/lib/components/users-card/users-card.component.js +0 -43
  888. package/esm2015/lib/components/users-card/users-card.module.js +0 -28
  889. package/esm2015/lib/components/viewer-log/components/viewer-log/viewer-log.component.js +0 -33
  890. package/esm2015/lib/components/viewer-log/viewer-log.module.js +0 -20
  891. package/esm2015/lib/components/vocabulary/interfaces/op-type.interface.js +0 -2
  892. package/esm2015/lib/components/vocabulary/services/vocabulary-api.service.js +0 -49
  893. package/esm2015/lib/components/vocabulary/vocabulary/vocabulary.component.js +0 -106
  894. package/esm2015/lib/components/vocabulary/vocabulary.module.js +0 -34
  895. package/esm2015/lib/configuration/app-config.service.js +0 -30
  896. package/esm2015/lib/configuration/helpers/app-initializer.js +0 -4
  897. package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +0 -61
  898. package/esm2015/lib/directive/clickOutSide/click-outside.directive.js +0 -29
  899. package/esm2015/lib/directive/directive.module.js +0 -52
  900. package/esm2015/lib/directive/drag-and-drop/drag-and-drop.directive.js +0 -46
  901. package/esm2015/lib/directive/permissions/evaluators.service.js +0 -152
  902. package/esm2015/lib/directive/permissions/permissions.directive.js +0 -69
  903. package/esm2015/lib/directive/rtl/set-dir-rtl.directive.js +0 -28
  904. package/esm2015/lib/directive/rtl/set-rtl.directive.js +0 -29
  905. package/esm2015/lib/nuxeo-development-framework.component.js +0 -26
  906. package/esm2015/lib/nuxeo-development-framework.module.js +0 -50
  907. package/esm2015/lib/nuxeo-development-framework.service.js +0 -14
  908. package/esm2015/lib/pipes/file-size.pipe.js +0 -57
  909. package/esm2015/lib/pipes/hijri-date.pipe.js +0 -46
  910. package/esm2015/lib/pipes/localized-date.pipe.js +0 -81
  911. package/esm2015/lib/pipes/multi-value.pipe.js +0 -42
  912. package/esm2015/lib/pipes/pipes.module.js +0 -29
  913. package/esm2015/lib/pipes/secure-html.pipe.js +0 -34
  914. package/esm2015/lib/pipes/secure.pipe.js +0 -40
  915. package/esm2015/lib/pipes/time-ago.pipe.js +0 -68
  916. package/esm2015/lib/shared/components/button/button.component.js +0 -87
  917. package/esm2015/lib/shared/components/item-list/item-list.component.js +0 -77
  918. package/esm2015/lib/shared/components/no-data/no-data.component.js +0 -37
  919. package/esm2015/lib/shared/components/read-more/read-more.component.js +0 -108
  920. package/esm2015/lib/shared/components/search-autocomplete/search-autocomplete.component.js +0 -146
  921. package/esm2015/lib/shared/components/spinner/spinner.component.js +0 -29
  922. package/esm2015/lib/shared/components/user-card/user-card.component.js +0 -49
  923. package/esm2015/lib/shared/libraryShared.module.js +0 -81
  924. package/esm2015/lib/shared-services/dialog-mangment.service.js +0 -61
  925. package/esm2015/lib/shared-services/dynamic-form.service.js +0 -241
  926. package/esm2015/lib/shared-services/file-manager.adapter.js +0 -74
  927. package/esm2015/lib/shared-services/file-manager.service.js +0 -794
  928. package/esm2015/lib/shared-services/global-admin.service.js +0 -24
  929. package/esm2015/lib/shared-services/global-pdftron.service.js +0 -46
  930. package/esm2015/lib/shared-services/mainfolder.service.js +0 -170
  931. package/esm2015/lib/shared-services/publishing-document.service.js +0 -202
  932. package/esm2015/lib/shared-services/recently-viewed.service.js +0 -57
  933. package/esm2015/lib/shared-services/shared-docs.service.js +0 -135
  934. package/esm2015/lib/shared-services/shared-services.module.js +0 -20
  935. package/esm2015/lib/shared-services/upload-file.service.js +0 -29
  936. package/esm2015/lib/shared-services/upload-managment.service.js +0 -151
  937. package/esm2015/lib/shared-services/user.service.js +0 -64
  938. package/esm2015/nuxeo-development-framework.js +0 -5
  939. package/esm2015/public-api.js +0 -238
  940. package/fesm2015/nuxeo-development-framework.js +0 -27688
  941. package/fesm2015/nuxeo-development-framework.js.map +0 -1
  942. package/lib/Core/adapters/adapter.service.d.ts +0 -11
  943. package/lib/Core/core.module.d.ts +0 -14
  944. package/lib/Core/enums/language.enum.d.ts +0 -4
  945. package/lib/Core/models/component.model.d.ts +0 -6
  946. package/lib/Core/services/callApi/call-api.service.d.ts +0 -11
  947. package/lib/Core/services/extension/action.extensions.d.ts +0 -31
  948. package/lib/Core/services/extension/component-register.service.d.ts +0 -17
  949. package/lib/Core/services/extension/extenion-utils.d.ts +0 -14
  950. package/lib/Core/services/extension/extension-element.d.ts +0 -5
  951. package/lib/Core/services/extension/extension-loader.service.d.ts +0 -28
  952. package/lib/Core/services/extension/extension.service.d.ts +0 -70
  953. package/lib/Core/services/initialization/initialization.service.d.ts +0 -14
  954. package/lib/Core/services/localStorag/local-storag.service.d.ts +0 -41
  955. package/lib/Core/services/nuxeo/nuxeo-override.d.ts +0 -8
  956. package/lib/Core/services/nuxeo/nuxeo.service.d.ts +0 -33
  957. package/lib/Core/services/roles/roles.service.d.ts +0 -18
  958. package/lib/Core/services/translation/translate-loader.service.d.ts +0 -26
  959. package/lib/Core/services/translation/translation.service.d.ts +0 -74
  960. package/lib/Core/services/user/user-preferences.service.d.ts +0 -80
  961. package/lib/Core/utilities/moment-date-adapter.d.ts +0 -37
  962. package/lib/Core/utilities/utility.service.d.ts +0 -11
  963. package/lib/components/activities-log/activities-log/activities-log.component.d.ts +0 -26
  964. package/lib/components/activities-log/activities-log/activities-log.service.d.ts +0 -9
  965. package/lib/components/activities-log/activities-log.module.d.ts +0 -12
  966. package/lib/components/activity/activity/activity.component.d.ts +0 -13
  967. package/lib/components/activity/activity.module.d.ts +0 -13
  968. package/lib/components/attachment-item/attachment-item/attachment-item.component.d.ts +0 -21
  969. package/lib/components/attachment-item/attachment-item.module.d.ts +0 -13
  970. package/lib/components/attachment-modal/attachment-modal.module.d.ts +0 -12
  971. package/lib/components/attachment-modal/attachments/attachments.component.d.ts +0 -50
  972. package/lib/components/avatar/avatar/avatar.component.d.ts +0 -23
  973. package/lib/components/avatar/avatar.module.d.ts +0 -13
  974. package/lib/components/card/card.component.d.ts +0 -32
  975. package/lib/components/card/card.module.d.ts +0 -12
  976. package/lib/components/comments/comments.module.d.ts +0 -26
  977. package/lib/components/comments/components/comment-item/comment-item.component.d.ts +0 -24
  978. package/lib/components/comments/components/comments-dashlet/comments-dashlet.component.d.ts +0 -46
  979. package/lib/components/comments/components/comments-list/comments-list.component.d.ts +0 -28
  980. package/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.d.ts +0 -22
  981. package/lib/components/comments/constants/comment.d.ts +0 -25
  982. package/lib/components/comments/services/comment-api.service.d.ts +0 -16
  983. package/lib/components/confirm-caller/confirm-caller.dialog.d.ts +0 -46
  984. package/lib/components/confirm-caller/confirm-caller.module.d.ts +0 -16
  985. package/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.d.ts +0 -12
  986. package/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.d.ts +0 -12
  987. package/lib/components/confirmation-dialog/confirmation-dialog.module.d.ts +0 -10
  988. package/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.d.ts +0 -34
  989. package/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.d.ts +0 -42
  990. package/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.d.ts +0 -31
  991. package/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.d.ts +0 -18
  992. package/lib/components/correspondence-relation/components/versions/versions.component.d.ts +0 -38
  993. package/lib/components/correspondence-relation/correspondence-relation.module.d.ts +0 -30
  994. package/lib/components/correspondence-relation/services/correspondence-realation.service.d.ts +0 -26
  995. package/lib/components/correspondence-relation/services/viewer-files.service.d.ts +0 -18
  996. package/lib/components/create-entity/create-entity/create-entity.component.d.ts +0 -17
  997. package/lib/components/create-entity/create-entity.module.d.ts +0 -11
  998. package/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.d.ts +0 -43
  999. package/lib/components/cts-tags/cts-tags.module.d.ts +0 -21
  1000. package/lib/components/cts-tags/services/tags-api.service.d.ts +0 -17
  1001. package/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.d.ts +0 -20
  1002. package/lib/components/custom-toastr/custom-toastr.module.d.ts +0 -12
  1003. package/lib/components/custom-toastr/interfaces/toast-type.interface.d.ts +0 -1
  1004. package/lib/components/custom-toastr/services/custom-toastr.service.d.ts +0 -18
  1005. package/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.d.ts +0 -17
  1006. package/lib/components/display-suitable-icon/display-suitable-icon/icon.service.d.ts +0 -8
  1007. package/lib/components/display-suitable-icon/display-suitable-icon.module.d.ts +0 -8
  1008. package/lib/components/documents/components/attachments-list/attachments-list.component.d.ts +0 -54
  1009. package/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.d.ts +0 -38
  1010. package/lib/components/documents/components/document-list/documents-list.component.d.ts +0 -81
  1011. package/lib/components/documents/components/document-scan/document-scan.component.d.ts +0 -112
  1012. package/lib/components/documents/components/document-scan/document-scan.service.d.ts +0 -14
  1013. package/lib/components/documents/components/document-upload/document-upload.component.d.ts +0 -58
  1014. package/lib/components/documents/components/documents/documents.component.d.ts +0 -27
  1015. package/lib/components/documents/constants/document-templates.d.ts +0 -33
  1016. package/lib/components/documents/constants/documents.d.ts +0 -95
  1017. package/lib/components/documents/documents.module.d.ts +0 -33
  1018. package/lib/components/documents/services/document-templates.service.d.ts +0 -24
  1019. package/lib/components/documents/services/documents.service.d.ts +0 -36
  1020. package/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.d.ts +0 -66
  1021. package/lib/components/dynamic-chart/dynamic-chart.module.d.ts +0 -16
  1022. package/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.d.ts +0 -33
  1023. package/lib/components/dynamic-chart/services/chart-data.service.d.ts +0 -37
  1024. package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.d.ts +0 -138
  1025. package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.d.ts +0 -12
  1026. package/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.d.ts +0 -55
  1027. package/lib/components/dynamic-filter/dynamic-filter.module.d.ts +0 -17
  1028. package/lib/components/dynamic-form/components/department-form/department-form.component.d.ts +0 -28
  1029. package/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.d.ts +0 -27
  1030. package/lib/components/dynamic-form/components/dynamic-form/fields.adapter.d.ts +0 -6
  1031. package/lib/components/dynamic-form/components/dynamic-form/form-builder.service.d.ts +0 -21
  1032. package/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.d.ts +0 -17
  1033. package/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.d.ts +0 -57
  1034. package/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.d.ts +0 -35
  1035. package/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.d.ts +0 -70
  1036. package/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.d.ts +0 -52
  1037. package/lib/components/dynamic-form/components/dynamic-form-department/constants/department.d.ts +0 -12
  1038. package/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.d.ts +0 -76
  1039. package/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.d.ts +0 -31
  1040. package/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.d.ts +0 -21
  1041. package/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.d.ts +0 -30
  1042. package/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.d.ts +0 -64
  1043. package/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.d.ts +0 -25
  1044. package/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.d.ts +0 -15
  1045. package/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.d.ts +0 -45
  1046. package/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.d.ts +0 -42
  1047. package/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.d.ts +0 -65
  1048. package/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.d.ts +0 -85
  1049. package/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.d.ts +0 -15
  1050. package/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.d.ts +0 -80
  1051. package/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.d.ts +0 -40
  1052. package/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.d.ts +0 -71
  1053. package/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.d.ts +0 -90
  1054. package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.d.ts +0 -19
  1055. package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.d.ts +0 -104
  1056. package/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.d.ts +0 -16
  1057. package/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.d.ts +0 -79
  1058. package/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.d.ts +0 -599
  1059. package/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.d.ts +0 -13
  1060. package/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.d.ts +0 -2
  1061. package/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.d.ts +0 -13
  1062. package/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.d.ts +0 -2
  1063. package/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.d.ts +0 -16
  1064. package/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.formio.d.ts +0 -2
  1065. package/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.d.ts +0 -13
  1066. package/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.d.ts +0 -2
  1067. package/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.d.ts +0 -9
  1068. package/lib/components/dynamic-form/dynamic-form.module.d.ts +0 -66
  1069. package/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.d.ts +0 -5
  1070. package/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.d.ts +0 -5
  1071. package/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.d.ts +0 -15
  1072. package/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.d.ts +0 -4
  1073. package/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.d.ts +0 -12
  1074. package/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.d.ts +0 -8
  1075. package/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.d.ts +0 -10
  1076. package/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.d.ts +0 -5
  1077. package/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.d.ts +0 -8
  1078. package/lib/components/dynamic-form/models/dynamic-form-baseitem.model.d.ts +0 -21
  1079. package/lib/components/dynamic-form/models/dynamic-form-boolitem.model.d.ts +0 -11
  1080. package/lib/components/dynamic-form/models/dynamic-form-dateitem.model.d.ts +0 -13
  1081. package/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.d.ts +0 -9
  1082. package/lib/components/dynamic-form/models/dynamic-form-mapitem.model.d.ts +0 -8
  1083. package/lib/components/dynamic-form/models/dynamic-form-selectitem.model.d.ts +0 -11
  1084. package/lib/components/dynamic-form/models/dynamic-form-textitem.model.d.ts +0 -15
  1085. package/lib/components/dynamic-form/services/card-item-types.service.d.ts +0 -13
  1086. package/lib/components/dynamic-form/services/dynamic-component-mapper.service.d.ts +0 -36
  1087. package/lib/components/dynamic-form/services/dynamic-form-update.service.d.ts +0 -25
  1088. package/lib/components/dynamic-form/validators/length-validator.d.ts +0 -7
  1089. package/lib/components/dynamic-form/validators/regex-validator.d.ts +0 -7
  1090. package/lib/components/dynamic-form/validators/required-validator.d.ts +0 -5
  1091. package/lib/components/dynamic-form/validators/value-validator.d.ts +0 -7
  1092. package/lib/components/dynamic-search/dynamic-search/dynamic-search.component.d.ts +0 -98
  1093. package/lib/components/dynamic-search/dynamic-search.module.d.ts +0 -20
  1094. package/lib/components/dynamic-table/dynamic-table/dynamic-table.component.d.ts +0 -110
  1095. package/lib/components/dynamic-table/dynamic-table.module.d.ts +0 -16
  1096. package/lib/components/dynamic-table/services/dynamic-table.service.d.ts +0 -8
  1097. package/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.d.ts +0 -13
  1098. package/lib/components/dynamic-tabs/dynamic-tabs.module.d.ts +0 -11
  1099. package/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.d.ts +0 -13
  1100. package/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.d.ts +0 -22
  1101. package/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.d.ts +0 -28
  1102. package/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.d.ts +0 -16
  1103. package/lib/components/dynamic-view/data-viewer/data-viewer.component.d.ts +0 -12
  1104. package/lib/components/dynamic-view/date-viewer/date-viewer.component.d.ts +0 -22
  1105. package/lib/components/dynamic-view/department-viewer/department-viewer.component.d.ts +0 -30
  1106. package/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.d.ts +0 -37
  1107. package/lib/components/dynamic-view/dynamic-view.module.d.ts +0 -23
  1108. package/lib/components/dynamic-view/dynamic-viewe.service.d.ts +0 -15
  1109. package/lib/components/dynamic-view/list-viewer/list-viewer.component.d.ts +0 -20
  1110. package/lib/components/file-manger/components/add-to-collection/add-to-collection.component.d.ts +0 -31
  1111. package/lib/components/file-manger/components/clipboard/clipboard.component.d.ts +0 -41
  1112. package/lib/components/file-manger/components/copy/copy.component.d.ts +0 -33
  1113. package/lib/components/file-manger/components/create-directory/create-directory.component.d.ts +0 -24
  1114. package/lib/components/file-manger/components/create-modal/create-modal.component.d.ts +0 -110
  1115. package/lib/components/file-manger/components/creation-type/creation-type.component.d.ts +0 -11
  1116. package/lib/components/file-manger/components/delete/delete.component.d.ts +0 -24
  1117. package/lib/components/file-manger/components/folder-modal/folder-modal.component.d.ts +0 -59
  1118. package/lib/components/file-manger/components/loan-request/loan-request.component.d.ts +0 -23
  1119. package/lib/components/file-manger/components/move/move.component.d.ts +0 -33
  1120. package/lib/components/file-manger/components/publish-dialog/publish-dialog.component.d.ts +0 -37
  1121. package/lib/components/file-manger/components/rename/rename.component.d.ts +0 -24
  1122. package/lib/components/file-manger/components/scan-modal/scan-modal.component.d.ts +0 -95
  1123. package/lib/components/file-manger/components/share-dialog/share-dialog.component.d.ts +0 -58
  1124. package/lib/components/file-manger/components/sidepanel/sidepanel.component.d.ts +0 -62
  1125. package/lib/components/file-manger/components/template-modal/template-modal.component.d.ts +0 -34
  1126. package/lib/components/file-manger/components/transfer-doc/transfer-doc.component.d.ts +0 -23
  1127. package/lib/components/file-manger/components/update-modal/update-modal.component.d.ts +0 -195
  1128. package/lib/components/file-manger/file-manager.abstract.d.ts +0 -173
  1129. package/lib/components/file-manger/file-manger.module.d.ts +0 -59
  1130. package/lib/components/filter/filter/filter.component.d.ts +0 -31
  1131. package/lib/components/filter/filter.module.d.ts +0 -15
  1132. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.d.ts +0 -35
  1133. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.d.ts +0 -35
  1134. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.d.ts +0 -39
  1135. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.d.ts +0 -9
  1136. package/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.d.ts +0 -15
  1137. package/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.d.ts +0 -15
  1138. package/lib/components/hijri-gregorian-datepicker/services/date-helper.service.d.ts +0 -9
  1139. package/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.d.ts +0 -11
  1140. package/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.d.ts +0 -10
  1141. package/lib/components/hijri-gregorian-datepicker/utils/consts.d.ts +0 -4
  1142. package/lib/components/latest-activity/components/activity-line/activity-line.component.d.ts +0 -19
  1143. package/lib/components/latest-activity/components/latest-activity/latest-activity.component.d.ts +0 -22
  1144. package/lib/components/latest-activity/components/single-activity/single-activity.component.d.ts +0 -10
  1145. package/lib/components/latest-activity/constants/activitylog.d.ts +0 -82
  1146. package/lib/components/latest-activity/latest-activity.module.d.ts +0 -19
  1147. package/lib/components/latest-activity/services/activity-log.service.d.ts +0 -12
  1148. package/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.d.ts +0 -17
  1149. package/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.d.ts +0 -10
  1150. package/lib/components/notifications/components/notification-item/notification-item.component.d.ts +0 -25
  1151. package/lib/components/notifications/components/notification-options/notification-options.component.d.ts +0 -10
  1152. package/lib/components/notifications/components/notification-toast/notification-toast.component.d.ts +0 -19
  1153. package/lib/components/notifications/components/notifications-button/notifications-button.component.d.ts +0 -30
  1154. package/lib/components/notifications/components/notifications-list/notifications-list.component.d.ts +0 -51
  1155. package/lib/components/notifications/notifications.module.d.ts +0 -24
  1156. package/lib/components/notifications/notifications.service.d.ts +0 -64
  1157. package/lib/components/pagination/pagination/pagination.component.d.ts +0 -46
  1158. package/lib/components/pagination/pagination.module.d.ts +0 -13
  1159. package/lib/components/pdf-tron/pdf-tron.module.d.ts +0 -8
  1160. package/lib/components/pdf-tron/pdftron/pdftron.component.d.ts +0 -102
  1161. package/lib/components/pdf-tron/pdftron/pdftron.service.d.ts +0 -33
  1162. package/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.d.ts +0 -44
  1163. package/lib/components/permissions/permission.service.d.ts +0 -21
  1164. package/lib/components/permissions/permissions/permissions.component.d.ts +0 -48
  1165. package/lib/components/permissions/permissions-template/permissions-template.component.d.ts +0 -22
  1166. package/lib/components/permissions/permissions.module.d.ts +0 -21
  1167. package/lib/components/select/select/select.component.d.ts +0 -43
  1168. package/lib/components/select/select.module.d.ts +0 -12
  1169. package/lib/components/select-users-by-department/select-users-by-department.module.d.ts +0 -13
  1170. package/lib/components/select-users-by-department/select-users-by-departments/department-management.service.d.ts +0 -10
  1171. package/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.d.ts +0 -33
  1172. package/lib/components/table/dynamic-column/dynamic-column.component.d.ts +0 -19
  1173. package/lib/components/table/table/table.component.d.ts +0 -110
  1174. package/lib/components/table/table.module.d.ts +0 -20
  1175. package/lib/components/user/user/user.component.d.ts +0 -13
  1176. package/lib/components/user/user.module.d.ts +0 -10
  1177. package/lib/components/users-card/users-card.component.d.ts +0 -22
  1178. package/lib/components/users-card/users-card.module.d.ts +0 -17
  1179. package/lib/components/viewer-log/components/viewer-log/viewer-log.component.d.ts +0 -12
  1180. package/lib/components/viewer-log/viewer-log.module.d.ts +0 -10
  1181. package/lib/components/vocabulary/interfaces/op-type.interface.d.ts +0 -1
  1182. package/lib/components/vocabulary/services/vocabulary-api.service.d.ts +0 -16
  1183. package/lib/components/vocabulary/vocabulary/vocabulary.component.d.ts +0 -37
  1184. package/lib/components/vocabulary/vocabulary.module.d.ts +0 -11
  1185. package/lib/configuration/app-config.service.d.ts +0 -14
  1186. package/lib/configuration/helpers/app-initializer.d.ts +0 -2
  1187. package/lib/directive/app-has-role/app-has-role.directive.d.ts +0 -18
  1188. package/lib/directive/clickOutSide/click-outside.directive.d.ts +0 -11
  1189. package/lib/directive/directive.module.d.ts +0 -17
  1190. package/lib/directive/drag-and-drop/drag-and-drop.directive.d.ts +0 -11
  1191. package/lib/directive/permissions/evaluators.service.d.ts +0 -37
  1192. package/lib/directive/permissions/permissions.directive.d.ts +0 -42
  1193. package/lib/directive/rtl/set-dir-rtl.directive.d.ts +0 -13
  1194. package/lib/directive/rtl/set-rtl.directive.d.ts +0 -13
  1195. package/lib/nuxeo-development-framework.component.d.ts +0 -8
  1196. package/lib/nuxeo-development-framework.module.d.ts +0 -13
  1197. package/lib/nuxeo-development-framework.service.d.ts +0 -6
  1198. package/lib/pipes/file-size.pipe.d.ts +0 -34
  1199. package/lib/pipes/hijri-date.pipe.d.ts +0 -32
  1200. package/lib/pipes/localized-date.pipe.d.ts +0 -44
  1201. package/lib/pipes/multi-value.pipe.d.ts +0 -32
  1202. package/lib/pipes/pipes.module.d.ts +0 -18
  1203. package/lib/pipes/secure-html.pipe.d.ts +0 -26
  1204. package/lib/pipes/secure.pipe.d.ts +0 -29
  1205. package/lib/pipes/time-ago.pipe.d.ts +0 -34
  1206. package/lib/shared/components/button/button.component.d.ts +0 -38
  1207. package/lib/shared/components/item-list/item-list.component.d.ts +0 -45
  1208. package/lib/shared/components/no-data/no-data.component.d.ts +0 -21
  1209. package/lib/shared/components/read-more/read-more.component.d.ts +0 -37
  1210. package/lib/shared/components/search-autocomplete/search-autocomplete.component.d.ts +0 -51
  1211. package/lib/shared/components/spinner/spinner.component.d.ts +0 -18
  1212. package/lib/shared/components/user-card/user-card.component.d.ts +0 -30
  1213. package/lib/shared/libraryShared.module.d.ts +0 -26
  1214. package/lib/shared-services/dialog-mangment.service.d.ts +0 -15
  1215. package/lib/shared-services/dynamic-form.service.d.ts +0 -24
  1216. package/lib/shared-services/file-manager.adapter.d.ts +0 -48
  1217. package/lib/shared-services/file-manager.service.d.ts +0 -94
  1218. package/lib/shared-services/global-admin.service.d.ts +0 -13
  1219. package/lib/shared-services/global-pdftron.service.d.ts +0 -10
  1220. package/lib/shared-services/mainfolder.service.d.ts +0 -32
  1221. package/lib/shared-services/publishing-document.service.d.ts +0 -25
  1222. package/lib/shared-services/recently-viewed.service.d.ts +0 -17
  1223. package/lib/shared-services/shared-docs.service.d.ts +0 -21
  1224. package/lib/shared-services/shared-services.module.d.ts +0 -7
  1225. package/lib/shared-services/upload-file.service.d.ts +0 -10
  1226. package/lib/shared-services/upload-managment.service.d.ts +0 -72
  1227. package/lib/shared-services/user.service.d.ts +0 -12
  1228. package/nuxeo-development-framework.d.ts +0 -5
  1229. package/public-api.d.ts +0 -225
  1230. /package/{lib/components/dynamic-form/interfaces/dynamic-form.interfaces.d.ts → src/lib/components/dynamic-form/interfaces/dynamic-form.interfaces.ts} +0 -0
  1231. /package/{lib/components/dynamic-form/models/dynamic-form.models.d.ts → src/lib/components/dynamic-form/models/dynamic-form.models.ts} +0 -0
@@ -1,68 +0,0 @@
1
- import { Component, EventEmitter, Input, Output } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "../../services/correspondence-realation.service";
4
- import * as i2 from "@angular/material/list";
5
- import * as i3 from "../../../../shared/components/item-list/item-list.component";
6
- import * as i4 from "@angular/common";
7
- import * as i5 from "@ngx-translate/core";
8
- export class CorrespondenceRelationReplyComponent {
9
- constructor(corres_relationsvc) {
10
- this.corres_relationsvc = corres_relationsvc;
11
- this.replyrelation = [];
12
- this.actionclicked = new EventEmitter();
13
- this.menu_actions = [{ title: 'correspondence-relation.view_corr', name: 'view' }];
14
- }
15
- fireAction(item, action = 'show') {
16
- this.actionclicked.next({ action: action, item: item });
17
- }
18
- ngOnInit() {
19
- this.corres_relationsvc
20
- .getCorrespondeceRelationRevers(this.correspondence_id)
21
- .subscribe((res) => {
22
- if (res['entries'].length > 0) {
23
- res['entries'].map(item => {
24
- this.replyrelation.push({
25
- title: item.title,
26
- uid: item.uid,
27
- type: item.type,
28
- filecontent: item.properties['file:content'],
29
- direction: item.properties['corr:direction'],
30
- iconName: 'arrow_upward',
31
- moreclasses: "relation-file-icons"
32
- });
33
- });
34
- }
35
- });
36
- this.corres_relationsvc
37
- .getCorrespondeceRelation(this.correspondence_id)
38
- .subscribe((res) => {
39
- if (res['entries'].length > 0) {
40
- res['entries'].map(item => {
41
- this.replyrelation.push({
42
- title: item.title,
43
- uid: item.uid, type: item.type,
44
- filecontent: item.properties['file:content'],
45
- direction: item.properties['corr:direction'],
46
- iconName: 'arrow_downward',
47
- moreclasses: "relation-file-icons"
48
- });
49
- });
50
- }
51
- });
52
- }
53
- }
54
- CorrespondenceRelationReplyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CorrespondenceRelationReplyComponent, deps: [{ token: i1.CorrespondenceRelationService }], target: i0.ɵɵFactoryTarget.Component });
55
- CorrespondenceRelationReplyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: CorrespondenceRelationReplyComponent, selector: "cts-correspondence-relation-reply", inputs: { correspondence_id: "correspondence_id" }, outputs: { actionclicked: "actionclicked" }, ngImport: i0, template: "<div class=\"relations-list\" *ngIf=\"replyrelation.length > 0\">\r\n <ng-container>\r\n <mat-list>\r\n <div class=\"mat-list-items\" *ngFor=\"let item of replyrelation\">\r\n <cts-item-list\r\n [item]=\"item\"\r\n [title]=\"item.title\"\r\n [actions]=\"menu_actions\"\r\n [iconname]=\"item.iconName\"\r\n [moreclasses]=\"item.moreclasses\"\r\n (actionclicked)=\"fireAction(item, 'view')\"\r\n (itemClicked)=\"fireAction(item)\"\r\n ></cts-item-list>\r\n </div>\r\n </mat-list>\r\n </ng-container>\r\n</div>\r\n<div class=\"nocontent\" *ngIf=\"replyrelation.length === 0\">\r\n <p>{{ \"correspondence-relation.nocontentreply\" | translate }}</p>\r\n</div>\r\n", styles: [".relations-list{border:1px solid #eee}.relations-list .mat-expansion-panel{box-shadow:none!important}.relations-list .mat-expansion-panel-header{border-bottom:1px solid #d9dce2;background-color:#f5f6f8;height:50px!important}.relations-list .mat-expansion-panel-header:hover{background-color:#f5f6f8!important}.relations-list .mat-expansion-panel-header:focus{background-color:#f5f6f8!important}.relations-list .mat-expansion-panel-header-title{font-weight:500}.relations-list .mat-accordion .mat-expansion-panel{border-radius:0!important}.relations-list .mat-expansion-panel-body{padding:0!important}.nocontent{color:gray;padding:10px;font-size:14px;border:1px solid #d9dce2}.nocontent p{margin:0;text-align:center}\n"], components: [{ type: i2.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { type: i3.ItemListComponent, selector: "cts-item-list", inputs: ["item", "iconname", "title", "actions", "isselected", "moreclasses"], outputs: ["itemClicked", "actionclicked"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "translate": i5.TranslatePipe } });
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CorrespondenceRelationReplyComponent, decorators: [{
57
- type: Component,
58
- args: [{
59
- selector: 'cts-correspondence-relation-reply',
60
- templateUrl: './correspondence-relation-reply.component.html',
61
- styleUrls: ['../correspondence-relation-list/correspondence-relation-list.component.scss']
62
- }]
63
- }], ctorParameters: function () { return [{ type: i1.CorrespondenceRelationService }]; }, propDecorators: { correspondence_id: [{
64
- type: Input
65
- }], actionclicked: [{
66
- type: Output
67
- }] } });
68
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29ycmVzcG9uZGVuY2UtcmVsYXRpb24tcmVwbHkuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9jb3JyZXNwb25kZW5jZS1yZWxhdGlvbi9jb21wb25lbnRzL2NvcnJlc3BvbmRlbmNlLXJlbGF0aW9uLXJlcGx5L2NvcnJlc3BvbmRlbmNlLXJlbGF0aW9uLXJlcGx5LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL251eGVvLWRldmVsb3BtZW50LWZyYW1ld29yay9zcmMvbGliL2NvbXBvbmVudHMvY29ycmVzcG9uZGVuY2UtcmVsYXRpb24vY29tcG9uZW50cy9jb3JyZXNwb25kZW5jZS1yZWxhdGlvbi1yZXBseS9jb3JyZXNwb25kZW5jZS1yZWxhdGlvbi1yZXBseS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7Ozs7O0FBUy9FLE1BQU0sT0FBTyxvQ0FBb0M7SUFZ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JlY2xhc3NlczogXCJyZWxhdGlvbi1maWxlLWljb25zXCJcclxuICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIClcclxuICAgICAgICAgIH0pO1xyXG4gICAgICAgIH1cclxuICAgICAgfSk7XHJcbiAgICB0aGlzLmNvcnJlc19yZWxhdGlvbnN2Y1xyXG4gICAgICAuZ2V0Q29ycmVzcG9uZGVjZVJlbGF0aW9uKHRoaXMuY29ycmVzcG9uZGVuY2VfaWQpXHJcbiAgICAgIC5zdWJzY3JpYmUoKHJlcykgPT4ge1xyXG4gICAgICAgIGlmIChyZXNbJ2VudHJpZXMnXS5sZW5ndGggPiAwKSB7XHJcbiAgICAgICAgICByZXNbJ2VudHJpZXMnXS5tYXAoaXRlbSA9PiB7XHJcbiAgICAgICAgICAgIHRoaXMucmVwbHlyZWxhdGlvbi5wdXNoKFxyXG4gICAgICAgICAgICAgIHtcclxuICAgICAgICAgICAgICAgIHRpdGxlOiBpdGVtLnRpdGxlLCBcclxuICAgICAgICAgICAgICAgIHVpZDogaXRlbS51aWQsIHR5cGU6IGl0ZW0udHlwZSwgXHJcbiAgICAgICAgICAgICAgICBmaWxlY29udGVudDogaXRlbS5wcm9wZXJ0aWVzWydmaWxlOmNvbnRlbnQnXSwgXHJcbiAgICAgICAgICAgICAgICBkaXJlY3Rpb246IGl0ZW0ucHJvcGVydGllc1snY29ycjpkaXJlY3Rpb24nXSwgXHJcbiAgICAgICAgICAgICAgICBpY29uTmFtZTogJ2Fycm93X2Rvd253YXJkJywgXHJcbiAgICAgICAgICAgICAgICBtb3JlY2xhc3NlczogXCJyZWxhdGlvbi1maWxlLWljb25zXCJcclxuICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIClcclxuICAgICAgICAgIH0pO1xyXG4gICAgICAgIH1cclxuICAgICAgfSk7XHJcbiAgfVxyXG5cclxufVxyXG4iLCI8ZGl2IGNsYXNzPVwicmVsYXRpb25zLWxpc3RcIiAqbmdJZj1cInJlcGx5cmVsYXRpb24ubGVuZ3RoID4gMFwiPlxyXG4gIDxuZy1jb250YWluZXI+XHJcbiAgICA8bWF0LWxpc3Q+XHJcbiAgICAgIDxkaXYgY2xhc3M9XCJtYXQtbGlzdC1pdGVtc1wiICpuZ0Zvcj1cImxldCBpdGVtIG9mIHJlcGx5cmVsYXRpb25cIj5cclxuICAgICAgICA8Y3RzLWl0ZW0tbGlzdFxyXG4gICAgICAgICAgW2l0ZW1dPVwiaXRlbVwiXHJcbiAgICAgICAgICBbdGl0bGVdPVwiaXRlbS50aXRsZVwiXHJcbiAgICAgICAgICBbYWN0aW9uc109XCJtZW51X2FjdGlvbnNcIlxyXG4gICAgICAgICAgW2ljb25uYW1lXT1cIml0ZW0uaWNvbk5hbWVcIlxyXG4gICAgICAgICAgW21vcmVjbGFzc2VzXT1cIml0ZW0ubW9yZWNsYXNzZXNcIlxyXG4gICAgICAgICAgKGFjdGlvbmNsaWNrZWQpPVwiZmlyZUFjdGlvbihpdGVtLCAndmlldycpXCJcclxuICAgICAgICAgIChpdGVtQ2xpY2tlZCk9XCJmaXJlQWN0aW9uKGl0ZW0pXCJcclxuICAgICAgICA+PC9jdHMtaXRlbS1saXN0PlxyXG4gICAgICA8L2Rpdj5cclxuICAgIDwvbWF0LWxpc3Q+XHJcbiAgPC9uZy1jb250YWluZXI+XHJcbjwvZGl2PlxyXG48ZGl2IGNsYXNzPVwibm9jb250ZW50XCIgKm5nSWY9XCJyZXBseXJlbGF0aW9uLmxlbmd0aCA9PT0gMFwiPlxyXG4gIDxwPnt7IFwiY29ycmVzcG9uZGVuY2UtcmVsYXRpb24ubm9jb250ZW50cmVwbHlcIiB8IHRyYW5zbGF0ZSB9fTwvcD5cclxuPC9kaXY+XHJcbiJdfQ==
@@ -1,75 +0,0 @@
1
- import { Component, Input, Output, EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "../../services/viewer-files.service";
4
- import * as i2 from "../../../documents/services/documents.service";
5
- import * as i3 from "@angular/material/list";
6
- import * as i4 from "../../../../shared/components/item-list/item-list.component";
7
- import * as i5 from "../../../../shared/components/no-data/no-data.component";
8
- import * as i6 from "@angular/common";
9
- import * as i7 from "../../../../directive/permissions/permissions.directive";
10
- import * as i8 from "@ngx-translate/core";
11
- import * as i9 from "../../../../pipes/localized-date.pipe";
12
- /**
13
- * A component that views document versions
14
- * @title
15
- * Viewer Versions
16
- *
17
- * @example
18
- *
19
- * <cts-versions
20
- * [file]="file"
21
- * [actions]="menu_actions"
22
- * (handleActions)="handleActionOnVersion($event)"
23
- * ></cts-versions>
24
- */
25
- export class VersionsComponent {
26
- constructor(viewerFilesService, documentsApi) {
27
- this.viewerFilesService = viewerFilesService;
28
- this.documentsApi = documentsApi;
29
- this.handleActions = new EventEmitter();
30
- this.versions = [];
31
- }
32
- ngOnChanges(changes) {
33
- if (changes.file && changes.file.currentValue &&
34
- changes.file.previousValue) {
35
- this.getVersions();
36
- }
37
- }
38
- ngOnInit() {
39
- this.getVersions();
40
- }
41
- getVersion(version) {
42
- return `${version.properties.major_version || version.properties['uid:major_version']}.${version.properties.minor_version || version.properties['uid:minor_version']}`;
43
- }
44
- getVersions() {
45
- this.documentsApi.getVersions(this.file.uid).subscribe((data) => {
46
- this.versions = data.entries.reverse();
47
- // this.versions.shift();
48
- });
49
- }
50
- showVersion(version) {
51
- this.viewerFilesService.updateViewer.next(version);
52
- }
53
- handleAction(event) {
54
- this.handleActions.emit(event);
55
- }
56
- }
57
- VersionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: VersionsComponent, deps: [{ token: i1.ViewerFilesService }, { token: i2.DocumentsService }], target: i0.ɵɵFactoryTarget.Component });
58
- VersionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: VersionsComponent, selector: "cts-versions", inputs: { selectedVersion: "selectedVersion", file: "file", actions: "actions" }, outputs: { handleActions: "handleActions" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"flex flex-col\">\r\n<div class=\"viewer-attachments\">\r\n <div class=\"subheader\">\r\n <div> {{ \"viewer.current\" | translate }}</div>\r\n\r\n </div>\r\n <div class=\"attachments-list\">\r\n <mat-list>\r\n <div class=\"mat-list-items\">\r\n <cts-item-list [item]=\"file\" [title]=\"file.title\" [iconname]=\"'description'\" [moreclasses]=\"'text-danger'\"\r\n [actions]=\"actions\" (itemClicked)=\"showVersion(file)\" (actionclicked)=\"handleAction($event)\">\r\n <div class=\"description\">\r\n {{getVersion(file)}}\r\n -\r\n {{ file.lastModified | localizedDate }}\r\n </div>\r\n </cts-item-list>\r\n </div>\r\n </mat-list>\r\n </div>\r\n</div>\r\n\r\n<div class=\"viewer-attachments original-section\" *ngIf=\"versions.length > 0\">\r\n <div class=\"subheader\">\r\n <div>{{ \"viewer.origin\" | translate }}</div>\r\n </div>\r\n <div class=\"attachments-list\">\r\n <mat-list>\r\n <div class=\"mat-list-items\">\r\n <cts-item-list [item]=\"versions[versions.length -1]\" [title]=\"versions[versions.length -1].title\"\r\n [iconname]=\"'description'\" [moreclasses]=\"'text-danger'\" [actions]=\"actions\"\r\n (itemClicked)=\"showVersion(versions[versions.length -1])\" (actionclicked)=\"handleAction($event)\">\r\n\r\n </cts-item-list>\r\n </div>\r\n </mat-list>\r\n </div>\r\n</div>\r\n\r\n<div class=\"viewer-attachments\" *permission=\"{name: 'viewVersions', entity: file}\">\r\n <div class=\"subheader\">\r\n <div> {{ \"viewer.history\" | translate }}</div>\r\n\r\n </div>\r\n <div class=\"attachments-list\" *ngIf=\"versions.length > 0\">\r\n <ng-container>\r\n\r\n\r\n <mat-list>\r\n <div class=\"mat-list-items\" *ngFor=\"let version of versions ;let cnt = count; let i = index\">\r\n <cts-item-list [item]=\"version\" [title]=\"version.title + '-' + getVersion(version)\" [iconname]=\"'description'\"\r\n [moreclasses]=\"'text-danger'\" (itemClicked)=\"showVersion(version)\" [actions]=\"actions\" (actionclicked)=\"handleAction($event)\">\r\n <div class=\"description\">\r\n {{getVersion(version)}}\r\n -\r\n {{ version.lastModified | localizedDate }}\r\n <span class=\"font-weight-bold\">\r\n\r\n {{\r\n version.properties.lastContributor.id === 'system' ?\r\n ('SYSTEM_ADMIN' | translate) :\r\n version.properties.lastContributor.properties.firstName +\r\n \" \" +\r\n version.properties.lastContributor.properties.lastName\r\n }}\r\n </span>\r\n </div>\r\n </cts-item-list>\r\n </div>\r\n </mat-list>\r\n </ng-container>\r\n </div>\r\n <div *ngIf=\"versions.length === 0\">\r\n <cts-no-data></cts-no-data>\r\n </div>\r\n</div>\r\n</div>\r\n<ng-template #noEntry>\r\n\r\n</ng-template>", styles: [""], components: [{ type: i3.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { type: i4.ItemListComponent, selector: "cts-item-list", inputs: ["item", "iconname", "title", "actions", "isselected", "moreclasses"], outputs: ["itemClicked", "actionclicked"] }, { type: i5.NoDataComponent, selector: "cts-no-data", inputs: ["message", "border"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.PermissionsDirective, selector: "[permission]", inputs: ["permission"] }, { type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "translate": i8.TranslatePipe, "localizedDate": i9.LocalizedDatePipe } });
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: VersionsComponent, decorators: [{
60
- type: Component,
61
- args: [{
62
- selector: 'cts-versions',
63
- templateUrl: './versions.component.html',
64
- styleUrls: ['./versions.component.scss']
65
- }]
66
- }], ctorParameters: function () { return [{ type: i1.ViewerFilesService }, { type: i2.DocumentsService }]; }, propDecorators: { selectedVersion: [{
67
- type: Input
68
- }], file: [{
69
- type: Input
70
- }], actions: [{
71
- type: Input
72
- }], handleActions: [{
73
- type: Output
74
- }] } });
75
- //# sourceMappingURL=data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mFtZVxyXG4gICAgICAgICAgICAgICAgfX1cclxuICAgICAgICAgICAgICA8L3NwYW4+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgPC9jdHMtaXRlbS1saXN0PlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgICA8L21hdC1saXN0PlxyXG4gICAgPC9uZy1jb250YWluZXI+XHJcbiAgPC9kaXY+XHJcbiAgPGRpdiAqbmdJZj1cInZlcnNpb25zLmxlbmd0aCA9PT0gMFwiPlxyXG4gICAgPGN0cy1uby1kYXRhPjwvY3RzLW5vLWRhdGE+XHJcbiAgPC9kaXY+XHJcbjwvZGl2PlxyXG48L2Rpdj5cclxuPG5nLXRlbXBsYXRlICNub0VudHJ5PlxyXG5cclxuPC9uZy10ZW1wbGF0ZT4iXX0=
@@ -1,111 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { CorrespondenceRelationListComponent } from './components/correspondence-relation-list/correspondence-relation-list.component';
4
- import { CorrespondenceRelationComponent } from './components/correspondence-relation/correspondence-relation.component';
5
- import { CorrespondenceRelationCreateFormComponent } from './components/correspondence-relation-create-form/correspondence-relation-create-form.component';
6
- import { DynamicFormModule } from '../dynamic-form/dynamic-form.module';
7
- import { TranslateModule } from '@ngx-translate/core';
8
- import { FormsModule, ReactiveFormsModule } from '@angular/forms';
9
- import { MatDialogModule } from '@angular/material/dialog';
10
- import { DynamicSearchModule } from '../dynamic-search/dynamic-search.module';
11
- import { AutocompleteLibModule } from 'angular-ng-autocomplete';
12
- import { MatIconModule } from '@angular/material/icon';
13
- import { NgSelectModule } from '@ng-select/ng-select';
14
- import { SelectModule } from '../select/select.module';
15
- import { LayoutModule } from '@angular/cdk/layout';
16
- import { MatChipsModule } from '@angular/material/chips';
17
- import { MatMenuModule } from '@angular/material/menu';
18
- import { MatListModule } from '@angular/material/list';
19
- import { MatExpansionModule } from '@angular/material/expansion';
20
- import { LibrarySharedModule } from '../../shared/libraryShared.module';
21
- import { CorrespondenceRelationReplyComponent } from './components/correspondence-relation-reply/correspondence-relation-reply.component';
22
- import { DirectiveModule } from '../../directive/directive.module';
23
- import { VersionsComponent } from './components/versions/versions.component';
24
- import { PipesModule } from '../../pipes/pipes.module';
25
- import * as i0 from "@angular/core";
26
- /** @ignore */
27
- export class CorrespondenceRelationModule {
28
- }
29
- CorrespondenceRelationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CorrespondenceRelationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
30
- CorrespondenceRelationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CorrespondenceRelationModule, declarations: [CorrespondenceRelationListComponent,
31
- CorrespondenceRelationComponent,
32
- CorrespondenceRelationCreateFormComponent,
33
- CorrespondenceRelationReplyComponent,
34
- VersionsComponent], imports: [CommonModule,
35
- DynamicFormModule,
36
- TranslateModule,
37
- FormsModule,
38
- ReactiveFormsModule,
39
- MatDialogModule,
40
- DynamicSearchModule,
41
- MatIconModule,
42
- NgSelectModule,
43
- SelectModule,
44
- AutocompleteLibModule,
45
- LayoutModule,
46
- MatChipsModule,
47
- MatMenuModule,
48
- MatListModule,
49
- MatIconModule,
50
- MatExpansionModule,
51
- LibrarySharedModule,
52
- DirectiveModule,
53
- PipesModule], exports: [CorrespondenceRelationComponent, VersionsComponent] });
54
- CorrespondenceRelationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CorrespondenceRelationModule, imports: [[
55
- CommonModule,
56
- DynamicFormModule,
57
- TranslateModule,
58
- FormsModule,
59
- ReactiveFormsModule,
60
- MatDialogModule,
61
- DynamicSearchModule,
62
- MatIconModule,
63
- NgSelectModule,
64
- SelectModule,
65
- AutocompleteLibModule,
66
- LayoutModule,
67
- MatChipsModule,
68
- MatMenuModule,
69
- MatListModule,
70
- MatIconModule,
71
- MatExpansionModule,
72
- LibrarySharedModule,
73
- DirectiveModule,
74
- PipesModule
75
- ]] });
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CorrespondenceRelationModule, decorators: [{
77
- type: NgModule,
78
- args: [{
79
- declarations: [
80
- CorrespondenceRelationListComponent,
81
- CorrespondenceRelationComponent,
82
- CorrespondenceRelationCreateFormComponent,
83
- CorrespondenceRelationReplyComponent,
84
- VersionsComponent
85
- ],
86
- imports: [
87
- CommonModule,
88
- DynamicFormModule,
89
- TranslateModule,
90
- FormsModule,
91
- ReactiveFormsModule,
92
- MatDialogModule,
93
- DynamicSearchModule,
94
- MatIconModule,
95
- NgSelectModule,
96
- SelectModule,
97
- AutocompleteLibModule,
98
- LayoutModule,
99
- MatChipsModule,
100
- MatMenuModule,
101
- MatListModule,
102
- MatIconModule,
103
- MatExpansionModule,
104
- LibrarySharedModule,
105
- DirectiveModule,
106
- PipesModule
107
- ],
108
- exports: [CorrespondenceRelationComponent, VersionsComponent],
109
- }]
110
- }] });
111
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29ycmVzcG9uZGVuY2UtcmVsYXRpb24ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9jb3JyZXNwb25kZW5jZS1yZWxhdGlvbi9jb3JyZXNwb25kZW5jZS1yZWxhdGlvbi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLG1DQUFtQyxFQ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l19
@@ -1,153 +0,0 @@
1
- import { Inject, Injectable } from '@angular/core';
2
- import { from, ReplaySubject } from 'rxjs';
3
- import { catchError, map } from 'rxjs/operators';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "../../../Core/services/nuxeo/nuxeo.service";
6
- import * as i2 from "../../../configuration/app-config.service";
7
- import * as i3 from "../../../Core/services/callApi/call-api.service";
8
- export class CorrespondenceRelationService {
9
- constructor(nuxeoService, configService, callApi, environment) {
10
- this.nuxeoService = nuxeoService;
11
- this.configService = configService;
12
- this.callApi = callApi;
13
- this.environment = environment;
14
- this.getUpdatedRelation = new ReplaySubject();
15
- this.relationConstants = this.configService.myConfiguration['files']['correspondenceRelation'];
16
- this.incomingConstant =
17
- this.configService.myConfiguration.correspondance.incoming;
18
- }
19
- get_Correspondence_Relation(corr_id, pageprovider, context = {}) {
20
- return from(this.nuxeoService.nuxeoClient
21
- .operation(pageprovider, {
22
- url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
23
- })
24
- .context(context)
25
- .input(corr_id)
26
- .execute({
27
- headers: {
28
- properties: '*',
29
- },
30
- })).pipe(catchError((err) => {
31
- console.log(err);
32
- throw err;
33
- }));
34
- }
35
- get_Correspondence_Reply_Relation(corr_id) {
36
- return this.get_Correspondence_Relation(corr_id, this.relationConstants['Operations']['get_reply_relation'], { "relationName": "reply" });
37
- }
38
- get_Correspondence_Reply_Relation_Reverse(corr_id) {
39
- return this.get_Correspondence_Relation(corr_id, this.relationConstants['Operations']['get_reply_relation_reverse']);
40
- }
41
- get_Correspondence_Relation_WithoutReply(corr_id) {
42
- return from(this.nuxeoService.nuxeoClient
43
- .operation(this.relationConstants['Operations']['get_without_reply_both_direction'], {
44
- url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
45
- })
46
- .context({})
47
- .input(corr_id)
48
- .execute()).pipe(catchError((err) => {
49
- console.log(err);
50
- throw err;
51
- }));
52
- }
53
- create_Named_Relation(corr_id, relationname, targets) {
54
- return from(this.nuxeoService.nuxeoClient
55
- .operation(this.relationConstants['Operations']['create_named_relation'], {
56
- url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
57
- })
58
- .context({
59
- relationName: relationname,
60
- targets: targets
61
- })
62
- .input(corr_id)
63
- .execute()).pipe(catchError((err) => {
64
- console.log(err);
65
- throw err;
66
- }));
67
- }
68
- Delete_Named_Relation(corr_id, relationname, target) {
69
- return from(this.nuxeoService.nuxeoClient
70
- .operation(this.relationConstants['Operations']['delete_named_relation'], {
71
- url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
72
- })
73
- .context({
74
- relationName: relationname,
75
- target: target
76
- })
77
- .input(corr_id)
78
- .execute()).pipe(catchError((err) => {
79
- console.log(err);
80
- throw err;
81
- }));
82
- }
83
- search(val, query = '', type) {
84
- return this.callApi
85
- .query(Object.assign({ pageProvider: type == 'relationFile' ? 'PP_Correspondence_RelationSeach' : 'PP_Correspondences_Elastic', currentPageIndex: 0, offset: 0, pageSize: 1000, system_fulltext: val }, query), {
86
- headers: { 'X-NXproperties': '*' },
87
- })
88
- .pipe(map((data) => {
89
- let results = [];
90
- data.entries.map((item) => {
91
- results.push({
92
- // title: item.title,
93
- title: item.properties["corr:referenceNumber"] !== null ? item.properties["corr:referenceNumber"] + " - " + item.properties["corr:subject"] : item.properties["corr:subject"],
94
- id: item.uid,
95
- filter: item.title,
96
- number: item.properties["corr:referenceNumber"],
97
- subject: item.properties["corr:subject"]
98
- });
99
- });
100
- return results;
101
- }));
102
- }
103
- // get relations with the updated api
104
- getCorrespondeceRelation(id) {
105
- return from(this.nuxeoService.nuxeoClient
106
- .operation('AC_UA_CorrespondenceRelation_Get', {
107
- url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
108
- })
109
- .context({
110
- "relationName": "reply"
111
- })
112
- .input(id)
113
- .execute({
114
- headers: {
115
- properties: '*',
116
- },
117
- })).pipe(catchError((err) => {
118
- console.log(err);
119
- throw err;
120
- }));
121
- }
122
- // get revers relations with the updated api
123
- getCorrespondeceRelationRevers(id) {
124
- return from(this.nuxeoService.nuxeoClient
125
- .operation('AC_UA_CorrespondenceRelation_GetReverse', {
126
- url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
127
- })
128
- .context({
129
- "relationName": "reply"
130
- })
131
- .input(id)
132
- .execute({
133
- headers: {
134
- properties: '*',
135
- },
136
- })).pipe(catchError((err) => {
137
- console.log(err);
138
- throw err;
139
- }));
140
- }
141
- }
142
- CorrespondenceRelationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CorrespondenceRelationService, deps: [{ token: i1.NuxeoService }, { token: i2.AppConfigService }, { token: i3.CallApiService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
143
- CorrespondenceRelationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CorrespondenceRelationService, providedIn: 'root' });
144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CorrespondenceRelationService, decorators: [{
145
- type: Injectable,
146
- args: [{
147
- providedIn: 'root',
148
- }]
149
- }], ctorParameters: function () { return [{ type: i1.NuxeoService }, { type: i2.AppConfigService }, { type: i3.CallApiService }, { type: undefined, decorators: [{
150
- type: Inject,
151
- args: ['environment']
152
- }] }]; } });
153
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29ycmVzcG9uZGVuY2UtcmVhbGF0aW9uLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL2NvcnJlc3BvbmRlbmNlLXJlbGF0aW9uL3NlcnZpY2VzL2NvcnJlc3BvbmRlbmNlLXJlYWxhdGlvbi5zZXJ2aWNlLnRzIl0sIm5hbWVzIj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gICAgICBmaWx0ZXI6IGl0ZW0udGl0bGUsXHJcbiAgICAgICAgICAgICAgbnVtYmVyOiBpdGVtLnByb3BlcnRpZXNbXCJjb3JyOnJlZmVyZW5jZU51bWJlclwiXSxcclxuICAgICAgICAgICAgICBzdWJqZWN0OiBpdGVtLnByb3BlcnRpZXNbXCJjb3JyOnN1YmplY3RcIl1cclxuICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgICB9KTtcclxuICAgICAgICAgIHJldHVybiByZXN1bHRzO1xyXG4gICAgICAgIH0pXHJcbiAgICAgICk7XHJcbiAgfVxyXG5cclxuICAvLyBnZXQgcmVsYXRpb25zIHdpdGggdGhlIHVwZGF0ZWQgYXBpXHJcbiAgZ2V0Q29ycmVzcG9uZGVjZVJlbGF0aW9uKGlkKXtcclxuICAgIHJldHVybiBmcm9tKFxyXG4gICAgICB0aGlzLm51eGVvU2VydmljZS5udXhlb0NsaWVudFxyXG4gICAgICAgIC5vcGVyYXRpb24oJ0FDX1VBX0NvcnJlc3BvbmRlbmNlUmVsYXRpb25fR2V0Jywge1xyXG4gICAgICAgICAgdXJsOiBgJHt0aGlzLmVudmlyb25tZW50Lm51eGVvfSR7dGhpcy5lbnZpcm9ubWVudC5jdXN0b21BdXRvbWF0aW9ufWAsXHJcbiAgICAgICAgfSlcclxuICAgICAgICAuY29udGV4dCh7XHJcbiAgICAgICAgICBcInJlbGF0aW9uTmFtZVwiIDogXCJyZXBseVwiXHJcbiAgICAgICAgfSlcclxuICAgICAgICAuaW5wdXQoaWQpXHJcbiAgICAgICAgLmV4ZWN1dGUoe1xyXG4gICAgICAgICAgaGVhZGVyczoge1xyXG4gICAgICAgICAgICBwcm9wZXJ0aWVzOiAnKicsXHJcbiAgICAgICAgICB9LFxyXG4gICAgICAgIH0pXHJcbiAgICApLnBpcGUoXHJcbiAgICAgIGNhdGNoRXJyb3IoKGVycikgPT4ge1xyXG4gICAgICAgIGNvbnNvbGUubG9nKGVycik7XHJcbiAgICAgICAgdGhyb3cgZXJyO1xyXG4gICAgICB9KVxyXG4gICAgKTtcclxuICB9XHJcblxyXG4gICAvLyBnZXQgcmV2ZXJzIHJlbGF0aW9ucyB3aXRoIHRoZSB1cGRhdGVkIGFwaVxyXG4gICBnZXRDb3JyZXNwb25kZWNlUmVsYXRpb25SZXZlcnMoaWQpe1xyXG4gICAgcmV0dXJuIGZyb20oXHJcbiAgICAgIHRoaXMubnV4ZW9TZXJ2aWNlLm51eGVvQ2xpZW50XHJcbiAgICAgICAgLm9wZXJhdGlvbignQUNfVUFfQ29ycmVzcG9uZGVuY2VSZWxhdGlvbl9HZXRSZXZlcnNlJywge1xyXG4gICAgICAgICAgdXJsOiBgJHt0aGlzLmVudmlyb25tZW50Lm51eGVvfSR7dGhpcy5lbnZpcm9ubWVudC5jdXN0b21BdXRvbWF0aW9ufWAsXHJcbiAgICAgICAgfSlcclxuICAgICAgICAuY29udGV4dCh7XHJcbiAgICAgICAgICBcInJlbGF0aW9uTmFtZVwiIDogXCJyZXBseVwiXHJcbiAgICAgICAgfSlcclxuICAgICAgICAuaW5wdXQoaWQpXHJcbiAgICAgICAgLmV4ZWN1dGUoe1xyXG4gICAgICAgICAgaGVhZGVyczoge1xyXG4gICAgICAgICAgICBwcm9wZXJ0aWVzOiAnKicsXHJcbiAgICAgICAgICB9LFxyXG4gICAgICAgIH0pXHJcbiAgICApLnBpcGUoXHJcbiAgICAgIGNhdGNoRXJyb3IoKGVycikgPT4ge1xyXG4gICAgICAgIGNvbnNvbGUubG9nKGVycik7XHJcbiAgICAgICAgdGhyb3cgZXJyO1xyXG4gICAgICB9KVxyXG4gICAgKTtcclxuICB9XHJcbn0iXX0=
@@ -1,50 +0,0 @@
1
- import { EventEmitter, Inject } from '@angular/core';
2
- import { Injectable } from '@angular/core';
3
- import { from } from 'rxjs';
4
- import { catchError } from 'rxjs/operators';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "../../../configuration/app-config.service";
7
- import * as i2 from "../../../Core/adapters/adapter.service";
8
- import * as i3 from "../../../Core/services/nuxeo/nuxeo.service";
9
- export class ViewerFilesService {
10
- constructor(configService, adapter, nuxeoService, environment) {
11
- this.configService = configService;
12
- this.adapter = adapter;
13
- this.nuxeoService = nuxeoService;
14
- this.environment = environment;
15
- this.selectedFileId = new EventEmitter();
16
- this.updateViewer = new EventEmitter();
17
- this.incomingConstant =
18
- this.configService.myConfiguration['correspondance']['incoming'];
19
- }
20
- createAttach(attachment, correspondenceId) {
21
- console.log(attachment);
22
- // console.log(
23
- // this.adapter.adaptOut(attachment, this.incomingConstant.attachments)
24
- // );
25
- return from(this.nuxeoService.nuxeoClient
26
- .operation('AC_UA_Correspondence_Attach_Create', {
27
- url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
28
- })
29
- .input(correspondenceId)
30
- .context({
31
- attachment: this.adapter.adaptOut(attachment, this.incomingConstant.attachments),
32
- })
33
- .execute()).pipe(catchError((err) => {
34
- console.log(err);
35
- throw err;
36
- }));
37
- }
38
- }
39
- ViewerFilesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: ViewerFilesService, deps: [{ token: i1.AppConfigService }, { token: i2.AdapterService }, { token: i3.NuxeoService }, { token: 'environment' }], target: i0.ɵɵFactoryTarget.Injectable });
40
- ViewerFilesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: ViewerFilesService, providedIn: 'root' });
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: ViewerFilesService, decorators: [{
42
- type: Injectable,
43
- args: [{
44
- providedIn: 'root',
45
- }]
46
- }], ctorParameters: function () { return [{ type: i1.AppConfigService }, { type: i2.AdapterService }, { type: i3.NuxeoService }, { type: undefined, decorators: [{
47
- type: Inject,
48
- args: ['environment']
49
- }] }]; } });
50
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlld2VyLWZ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bmZpZ1NlcnZpY2UubXlDb25maWd1cmF0aW9uWydjb3JyZXNwb25kYW5jZSddWydpbmNvbWluZyddO1xyXG4gIH1cclxuXHJcbiAgY3JlYXRlQXR0YWNoKGF0dGFjaG1lbnQsIGNvcnJlc3BvbmRlbmNlSWQpIHtcclxuICAgIGNvbnNvbGUubG9nKGF0dGFjaG1lbnQpO1xyXG4gICAgLy8gY29uc29sZS5sb2coXHJcbiAgICAvLyAgIHRoaXMuYWRhcHRlci5hZGFwdE91dChhdHRhY2htZW50LCB0aGlzLmluY29taW5nQ29uc3RhbnQuYXR0YWNobWVudHMpXHJcbiAgICAvLyApO1xyXG4gICAgcmV0dXJuIGZyb20oXHJcbiAgICAgIHRoaXMubnV4ZW9TZXJ2aWNlLm51eGVvQ2xpZW50XHJcbiAgICAgICAgLm9wZXJhdGlvbignQUNfVUFfQ29ycmVzcG9uZGVuY2VfQXR0YWNoX0NyZWF0ZScsIHtcclxuICAgICAgICAgIHVybDogYCR7dGhpcy5lbnZpcm9ubWVudC5udXhlb30ke3RoaXMuZW52aXJvbm1lbnQuY3VzdG9tQXV0b21hdGlvbn1gLFxyXG4gICAgICAgIH0pXHJcbiAgICAgICAgLmlucHV0KGNvcnJlc3BvbmRlbmNlSWQpXHJcbiAgICAgICAgLmNvbnRleHQoe1xyXG4gICAgICAgICAgYXR0YWNobWVudDogdGhpcy5hZGFwdGVyLmFkYXB0T3V0KFxyXG4gICAgICAgICAgICBhdHRhY2htZW50LFxyXG4gICAgICAgICAgICB0aGlzLmluY29taW5nQ29uc3RhbnQuYXR0YWNobWVudHNcclxuICAgICAgICAgICksXHJcbiAgICAgICAgfSlcclxuICAgICAgICAuZXhlY3V0ZSgpXHJcbiAgICApLnBpcGUoXHJcbiAgICAgIGNhdGNoRXJyb3IoKGVycikgPT4ge1xyXG4gICAgICAgIGNvbnNvbGUubG9nKGVycik7XHJcbiAgICAgICAgdGhyb3cgZXJyO1xyXG4gICAgICB9KVxyXG4gICAgKTtcclxuICB9XHJcbn1cclxuIl19