nuxeo-development-framework 0.0.0-watch

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 (984) hide show
  1. package/README.md +24 -0
  2. package/esm2015/lib/components/activities-log/activities-log/activities-log.component.js +188 -0
  3. package/esm2015/lib/components/activities-log/activities-log/activities-log.service.js +35 -0
  4. package/esm2015/lib/components/activities-log/activities-log.module.js +41 -0
  5. package/esm2015/lib/components/activity/activity/activity.component.js +28 -0
  6. package/esm2015/lib/components/activity/activity.module.js +37 -0
  7. package/esm2015/lib/components/attachment-item/attachment-item/attachment-item.component.js +54 -0
  8. package/esm2015/lib/components/attachment-item/attachment-item.module.js +44 -0
  9. package/esm2015/lib/components/attachment-modal/attachment-modal.module.js +40 -0
  10. package/esm2015/lib/components/attachment-modal/attachments/attachments.component.js +157 -0
  11. package/esm2015/lib/components/avatar/avatar/avatar.component.js +55 -0
  12. package/esm2015/lib/components/avatar/avatar.module.js +32 -0
  13. package/esm2015/lib/components/card/card.component.js +48 -0
  14. package/esm2015/lib/components/card/card.module.js +23 -0
  15. package/esm2015/lib/components/charts/chart.const.js +3 -0
  16. package/esm2015/lib/components/charts/chart.token.js +3 -0
  17. package/esm2015/lib/components/charts/charts.module.js +19 -0
  18. package/esm2015/lib/components/charts/components/base-chart.component.js +44 -0
  19. package/esm2015/lib/components/charts/components/chart.component.js +135 -0
  20. package/esm2015/lib/components/charts/components/data-chart.component.js +156 -0
  21. package/esm2015/lib/components/charts/components/index.js +4 -0
  22. package/esm2015/lib/components/charts/defaults/bar.js +18 -0
  23. package/esm2015/lib/components/charts/defaults/doughnut.js +18 -0
  24. package/esm2015/lib/components/charts/defaults/index.js +5 -0
  25. package/esm2015/lib/components/charts/defaults/line.js +36 -0
  26. package/esm2015/lib/components/charts/defaults/pie.js +20 -0
  27. package/esm2015/lib/components/charts/index.js +10 -0
  28. package/esm2015/lib/components/charts/models/index.js +5 -0
  29. package/esm2015/lib/components/charts/models/options.js +2 -0
  30. package/esm2015/lib/components/charts/models/plugins-options.js +2 -0
  31. package/esm2015/lib/components/charts/models/response.js +2 -0
  32. package/esm2015/lib/components/charts/models/statistic-request-config.js +2 -0
  33. package/esm2015/lib/components/charts/plugins/doughnut-center-text.js +25 -0
  34. package/esm2015/lib/components/charts/plugins/doughnut-empty-state.js +34 -0
  35. package/esm2015/lib/components/charts/plugins/index.js +4 -0
  36. package/esm2015/lib/components/charts/plugins/legend-margin.js +16 -0
  37. package/esm2015/lib/components/charts/services/index.js +2 -0
  38. package/esm2015/lib/components/charts/services/statistic.service.js +71 -0
  39. package/esm2015/lib/components/charts/utility/colors.js +79 -0
  40. package/esm2015/lib/components/charts/utility/common.js +7 -0
  41. package/esm2015/lib/components/charts/utility/index.js +3 -0
  42. package/esm2015/lib/components/comments/comments.module.js +86 -0
  43. package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +94 -0
  44. package/esm2015/lib/components/comments/components/comments-dashlet/comments-dashlet.component.js +81 -0
  45. package/esm2015/lib/components/comments/components/comments-list/comments-list.component.js +74 -0
  46. package/esm2015/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.js +57 -0
  47. package/esm2015/lib/components/comments/constants/comment.js +25 -0
  48. package/esm2015/lib/components/comments/services/comment-api.service.js +71 -0
  49. package/esm2015/lib/components/confirm-caller/confirm-caller.dialog.js +77 -0
  50. package/esm2015/lib/components/confirm-caller/confirm-caller.module.js +28 -0
  51. package/esm2015/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.js +29 -0
  52. package/esm2015/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.js +30 -0
  53. package/esm2015/lib/components/confirmation-dialog/confirmation-dialog.module.js +30 -0
  54. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.js +148 -0
  55. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.js +150 -0
  56. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.js +111 -0
  57. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.js +69 -0
  58. package/esm2015/lib/components/correspondence-relation/components/versions/versions.component.js +105 -0
  59. package/esm2015/lib/components/correspondence-relation/correspondence-relation.module.js +119 -0
  60. package/esm2015/lib/components/correspondence-relation/services/correspondence-realation.service.js +165 -0
  61. package/esm2015/lib/components/correspondence-relation/services/viewer-files.service.js +54 -0
  62. package/esm2015/lib/components/create-entity/create-entity/create-entity.component.js +69 -0
  63. package/esm2015/lib/components/create-entity/create-entity.module.js +36 -0
  64. package/esm2015/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.js +180 -0
  65. package/esm2015/lib/components/cts-tags/cts-tags.module.js +65 -0
  66. package/esm2015/lib/components/cts-tags/services/tags-api.service.js +86 -0
  67. package/esm2015/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.js +67 -0
  68. package/esm2015/lib/components/custom-toastr/custom-toastr.module.js +36 -0
  69. package/esm2015/lib/components/custom-toastr/interfaces/toast-type.interface.js +2 -0
  70. package/esm2015/lib/components/custom-toastr/services/custom-toastr.service.js +63 -0
  71. package/esm2015/lib/components/diagrams/components/base-node.component.js +41 -0
  72. package/esm2015/lib/components/diagrams/components/circle-node/circle-node.component.js +19 -0
  73. package/esm2015/lib/components/diagrams/components/connection-label.component.js +92 -0
  74. package/esm2015/lib/components/diagrams/components/content-node/content-node.component.js +20 -0
  75. package/esm2015/lib/components/diagrams/components/custom-connection.component.js +84 -0
  76. package/esm2015/lib/components/diagrams/components/custom-socket.component.js +37 -0
  77. package/esm2015/lib/components/diagrams/components/gateway-node/gateway-node.component.js +18 -0
  78. package/esm2015/lib/components/diagrams/components/gateway-ports.component.js +118 -0
  79. package/esm2015/lib/components/diagrams/components/index.js +16 -0
  80. package/esm2015/lib/components/diagrams/components/node-icon.component.js +35 -0
  81. package/esm2015/lib/components/diagrams/components/node-inputs.component.js +61 -0
  82. package/esm2015/lib/components/diagrams/components/node-outputs.component.js +57 -0
  83. package/esm2015/lib/components/diagrams/components/node-ports.component.js +98 -0
  84. package/esm2015/lib/components/diagrams/components/remove-button.component.js +68 -0
  85. package/esm2015/lib/components/diagrams/components/status-icon.component.js +37 -0
  86. package/esm2015/lib/components/diagrams/components/template-node/template-node.component.js +40 -0
  87. package/esm2015/lib/components/diagrams/components/zoom-control.component.js +62 -0
  88. package/esm2015/lib/components/diagrams/constants/defaults.js +19 -0
  89. package/esm2015/lib/components/diagrams/constants/direction.js +7 -0
  90. package/esm2015/lib/components/diagrams/constants/index.js +8 -0
  91. package/esm2015/lib/components/diagrams/constants/message-type.js +5 -0
  92. package/esm2015/lib/components/diagrams/constants/node-type.js +8 -0
  93. package/esm2015/lib/components/diagrams/constants/notify-events.js +4 -0
  94. package/esm2015/lib/components/diagrams/constants/sizes.js +8 -0
  95. package/esm2015/lib/components/diagrams/constants/status.js +12 -0
  96. package/esm2015/lib/components/diagrams/diagrams.module.js +81 -0
  97. package/esm2015/lib/components/diagrams/directive/diagram.directive.js +86 -0
  98. package/esm2015/lib/components/diagrams/directive/index.js +2 -0
  99. package/esm2015/lib/components/diagrams/editor/customize.js +62 -0
  100. package/esm2015/lib/components/diagrams/editor/editor.js +97 -0
  101. package/esm2015/lib/components/diagrams/editor/index.js +5 -0
  102. package/esm2015/lib/components/diagrams/editor/overrides/connection-path.transformers.js +50 -0
  103. package/esm2015/lib/components/diagrams/editor/overrides/index.js +2 -0
  104. package/esm2015/lib/components/diagrams/editor/path-plugin.js +18 -0
  105. package/esm2015/lib/components/diagrams/editor/socket-position-watcher.js +7 -0
  106. package/esm2015/lib/components/diagrams/index.js +2 -0
  107. package/esm2015/lib/components/diagrams/models/base-node.model.js +26 -0
  108. package/esm2015/lib/components/diagrams/models/circle-node.model.js +10 -0
  109. package/esm2015/lib/components/diagrams/models/connection.model.js +15 -0
  110. package/esm2015/lib/components/diagrams/models/content-node.model.js +7 -0
  111. package/esm2015/lib/components/diagrams/models/gate-way.model.js +11 -0
  112. package/esm2015/lib/components/diagrams/models/index.js +8 -0
  113. package/esm2015/lib/components/diagrams/models/ports.model.js +14 -0
  114. package/esm2015/lib/components/diagrams/models/socket.model.js +9 -0
  115. package/esm2015/lib/components/diagrams/models/template-node.model.js +12 -0
  116. package/esm2015/lib/components/diagrams/public-api.js +9 -0
  117. package/esm2015/lib/components/diagrams/services/diagram-plugins.service.js +19 -0
  118. package/esm2015/lib/components/diagrams/services/diagram.service.js +222 -0
  119. package/esm2015/lib/components/diagrams/services/index.js +5 -0
  120. package/esm2015/lib/components/diagrams/services/message.service.js +24 -0
  121. package/esm2015/lib/components/diagrams/services/workflow.service.js +239 -0
  122. package/esm2015/lib/components/diagrams/types/common.type.js +2 -0
  123. package/esm2015/lib/components/diagrams/types/connection-config.type.js +2 -0
  124. package/esm2015/lib/components/diagrams/types/connection-label.type.js +2 -0
  125. package/esm2015/lib/components/diagrams/types/customization.type.js +2 -0
  126. package/esm2015/lib/components/diagrams/types/diagram-config.type.js +2 -0
  127. package/esm2015/lib/components/diagrams/types/diagram-editor.type.js +2 -0
  128. package/esm2015/lib/components/diagrams/types/emitter-type.js +2 -0
  129. package/esm2015/lib/components/diagrams/types/index.js +18 -0
  130. package/esm2015/lib/components/diagrams/types/layout.type.js +2 -0
  131. package/esm2015/lib/components/diagrams/types/node-content.js +2 -0
  132. package/esm2015/lib/components/diagrams/types/node-definition.js +2 -0
  133. package/esm2015/lib/components/diagrams/types/node-status.type.js +2 -0
  134. package/esm2015/lib/components/diagrams/types/node.type.js +2 -0
  135. package/esm2015/lib/components/diagrams/types/notify-event.type.js +2 -0
  136. package/esm2015/lib/components/diagrams/types/path.type.js +2 -0
  137. package/esm2015/lib/components/diagrams/types/ports-config.type.js +2 -0
  138. package/esm2015/lib/components/diagrams/types/schemes.type.js +2 -0
  139. package/esm2015/lib/components/diagrams/types/socket.type.js +2 -0
  140. package/esm2015/lib/components/diagrams/utilities/common.js +35 -0
  141. package/esm2015/lib/components/diagrams/utilities/index.js +5 -0
  142. package/esm2015/lib/components/diagrams/utilities/random.js +11 -0
  143. package/esm2015/lib/components/diagrams/utilities/remove.util.js +95 -0
  144. package/esm2015/lib/components/diagrams/utilities/serialize.js +23 -0
  145. package/esm2015/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.js +44 -0
  146. package/esm2015/lib/components/display-suitable-icon/display-suitable-icon/icon.service.js +140 -0
  147. package/esm2015/lib/components/display-suitable-icon/display-suitable-icon.module.js +24 -0
  148. package/esm2015/lib/components/documents/components/attachments-list/attachments-list.component.js +159 -0
  149. package/esm2015/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.js +76 -0
  150. package/esm2015/lib/components/documents/components/document-list/documents-list.component.js +251 -0
  151. package/esm2015/lib/components/documents/components/document-scan/document-scan.component.js +975 -0
  152. package/esm2015/lib/components/documents/components/document-scan/document-scan.service.js +30 -0
  153. package/esm2015/lib/components/documents/components/document-upload/document-upload.component.js +175 -0
  154. package/esm2015/lib/components/documents/components/documents/documents.component.js +63 -0
  155. package/esm2015/lib/components/documents/constants/document-templates.js +32 -0
  156. package/esm2015/lib/components/documents/constants/documents.js +86 -0
  157. package/esm2015/lib/components/documents/documents.module.js +123 -0
  158. package/esm2015/lib/components/documents/services/document-templates.service.js +115 -0
  159. package/esm2015/lib/components/documents/services/documents.service.js +223 -0
  160. package/esm2015/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.js +545 -0
  161. package/esm2015/lib/components/dynamic-chart/dynamic-chart.module.js +38 -0
  162. package/esm2015/lib/components/dynamic-chart/services/chart-data.service.js +558 -0
  163. package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.js +201 -0
  164. package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.js +51 -0
  165. package/esm2015/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.js +137 -0
  166. package/esm2015/lib/components/dynamic-filter/dynamic-filter.module.js +27 -0
  167. package/esm2015/lib/components/dynamic-form/components/department-form/department-form.component.js +129 -0
  168. package/esm2015/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.js +105 -0
  169. package/esm2015/lib/components/dynamic-form/components/dynamic-form/fields.adapter.js +127 -0
  170. package/esm2015/lib/components/dynamic-form/components/dynamic-form/form-builder.service.js +107 -0
  171. package/esm2015/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.js +35 -0
  172. package/esm2015/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.js +165 -0
  173. package/esm2015/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.js +71 -0
  174. package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.js +213 -0
  175. package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.js +78 -0
  176. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/constants/department.js +13 -0
  177. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.js +230 -0
  178. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.js +253 -0
  179. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.js +104 -0
  180. package/esm2015/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.js +85 -0
  181. package/esm2015/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.js +139 -0
  182. package/esm2015/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.js +81 -0
  183. package/esm2015/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.js +36 -0
  184. package/esm2015/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.js +106 -0
  185. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.js +104 -0
  186. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.js +207 -0
  187. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.js +337 -0
  188. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.js +64 -0
  189. package/esm2015/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.js +191 -0
  190. package/esm2015/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.js +81 -0
  191. package/esm2015/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.js +180 -0
  192. package/esm2015/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.js +316 -0
  193. package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.js +79 -0
  194. package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.js +336 -0
  195. package/esm2015/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.js +54 -0
  196. package/esm2015/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.js +178 -0
  197. package/esm2015/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.js +768 -0
  198. package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.js +35 -0
  199. package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.js +17 -0
  200. package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.js +34 -0
  201. package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.js +17 -0
  202. package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.js +74 -0
  203. package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.formio.js +30 -0
  204. package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.js +32 -0
  205. package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.js +30 -0
  206. package/esm2015/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.js +17 -0
  207. package/esm2015/lib/components/dynamic-form/dynamic-form.module.js +306 -0
  208. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.js +2 -0
  209. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.js +2 -0
  210. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.js +2 -0
  211. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.js +2 -0
  212. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.js +2 -0
  213. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.js +2 -0
  214. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.js +2 -0
  215. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.js +2 -0
  216. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.js +2 -0
  217. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form.interfaces.js +10 -0
  218. package/esm2015/lib/components/dynamic-form/models/dynamic-form-baseitem.model.js +63 -0
  219. package/esm2015/lib/components/dynamic-form/models/dynamic-form-boolitem.model.js +20 -0
  220. package/esm2015/lib/components/dynamic-form/models/dynamic-form-dateitem.model.js +24 -0
  221. package/esm2015/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.js +12 -0
  222. package/esm2015/lib/components/dynamic-form/models/dynamic-form-mapitem.model.js +16 -0
  223. package/esm2015/lib/components/dynamic-form/models/dynamic-form-selectitem.model.js +17 -0
  224. package/esm2015/lib/components/dynamic-form/models/dynamic-form-textitem.model.js +32 -0
  225. package/esm2015/lib/components/dynamic-form/models/dynamic-form.models.js +8 -0
  226. package/esm2015/lib/components/dynamic-form/services/card-item-types.service.js +46 -0
  227. package/esm2015/lib/components/dynamic-form/services/dynamic-component-mapper.service.js +60 -0
  228. package/esm2015/lib/components/dynamic-form/services/dynamic-form-update.service.js +83 -0
  229. package/esm2015/lib/components/dynamic-form/validators/length-validator.js +15 -0
  230. package/esm2015/lib/components/dynamic-form/validators/regex-validator.js +15 -0
  231. package/esm2015/lib/components/dynamic-form/validators/required-validator.js +9 -0
  232. package/esm2015/lib/components/dynamic-form/validators/value-validator.js +15 -0
  233. package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +342 -0
  234. package/esm2015/lib/components/dynamic-search/dynamic-search.module.js +61 -0
  235. package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +288 -0
  236. package/esm2015/lib/components/dynamic-table/dynamic-table.module.js +44 -0
  237. package/esm2015/lib/components/dynamic-table/services/dynamic-table.service.js +16 -0
  238. package/esm2015/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.js +39 -0
  239. package/esm2015/lib/components/dynamic-tabs/dynamic-tabs.module.js +34 -0
  240. package/esm2015/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.js +37 -0
  241. package/esm2015/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.js +59 -0
  242. package/esm2015/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.js +68 -0
  243. package/esm2015/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.js +33 -0
  244. package/esm2015/lib/components/dynamic-view/data-viewer/data-viewer.component.js +36 -0
  245. package/esm2015/lib/components/dynamic-view/date-viewer/date-viewer.component.js +56 -0
  246. package/esm2015/lib/components/dynamic-view/department-viewer/department-viewer.component.js +90 -0
  247. package/esm2015/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.js +72 -0
  248. package/esm2015/lib/components/dynamic-view/dynamic-view.module.js +70 -0
  249. package/esm2015/lib/components/dynamic-view/dynamic-viewe.service.js +62 -0
  250. package/esm2015/lib/components/dynamic-view/list-viewer/list-viewer.component.js +40 -0
  251. package/esm2015/lib/components/file-manger/components/add-to-collection/add-to-collection.component.js +150 -0
  252. package/esm2015/lib/components/file-manger/components/clipboard/clipboard.component.js +264 -0
  253. package/esm2015/lib/components/file-manger/components/copy/copy.component.js +151 -0
  254. package/esm2015/lib/components/file-manger/components/create-directory/create-directory.component.js +118 -0
  255. package/esm2015/lib/components/file-manger/components/create-modal/create-modal.component.js +526 -0
  256. package/esm2015/lib/components/file-manger/components/creation-type/creation-type.component.js +28 -0
  257. package/esm2015/lib/components/file-manger/components/delete/delete.component.js +103 -0
  258. package/esm2015/lib/components/file-manger/components/folder-modal/folder-modal.component.js +131 -0
  259. package/esm2015/lib/components/file-manger/components/loan-request/loan-request.component.js +107 -0
  260. package/esm2015/lib/components/file-manger/components/move/move.component.js +140 -0
  261. package/esm2015/lib/components/file-manger/components/publish-dialog/publish-dialog.component.js +152 -0
  262. package/esm2015/lib/components/file-manger/components/rename/rename.component.js +114 -0
  263. package/esm2015/lib/components/file-manger/components/scan-modal/scan-modal.component.js +347 -0
  264. package/esm2015/lib/components/file-manger/components/share-dialog/share-dialog.component.js +314 -0
  265. package/esm2015/lib/components/file-manger/components/sidepanel/sidepanel.component.js +257 -0
  266. package/esm2015/lib/components/file-manger/components/template-modal/template-modal.component.js +68 -0
  267. package/esm2015/lib/components/file-manger/components/transfer-doc/transfer-doc.component.js +102 -0
  268. package/esm2015/lib/components/file-manger/components/update-modal/update-modal.component.js +366 -0
  269. package/esm2015/lib/components/file-manger/directives/file-grid-infinite-scroll.directive.js +78 -0
  270. package/esm2015/lib/components/file-manger/file-manager.abstract.js +1202 -0
  271. package/esm2015/lib/components/file-manger/file-manger.module.js +304 -0
  272. package/esm2015/lib/components/file-manger/models/file-manager-config.model.js +7 -0
  273. package/esm2015/lib/components/file-manger/models/index.js +4 -0
  274. package/esm2015/lib/components/file-manger/models/pagination-payload.mode.js +2 -0
  275. package/esm2015/lib/components/file-manger/models/pagination-response.model.js +6 -0
  276. package/esm2015/lib/components/filter/filter/filter.component.js +102 -0
  277. package/esm2015/lib/components/filter/filter.module.js +45 -0
  278. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.js +123 -0
  279. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.js +126 -0
  280. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.js +165 -0
  281. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.js +32 -0
  282. package/esm2015/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.js +58 -0
  283. package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.js +71 -0
  284. package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-helper.service.js +30 -0
  285. package/esm2015/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.js +43 -0
  286. package/esm2015/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.js +26 -0
  287. package/esm2015/lib/components/hijri-gregorian-datepicker/utils/consts.js +5 -0
  288. package/esm2015/lib/components/latest-activity/components/activity-line/activity-line.component.js +80 -0
  289. package/esm2015/lib/components/latest-activity/components/latest-activity/latest-activity.component.js +78 -0
  290. package/esm2015/lib/components/latest-activity/components/single-activity/single-activity.component.js +38 -0
  291. package/esm2015/lib/components/latest-activity/constants/activitylog.js +80 -0
  292. package/esm2015/lib/components/latest-activity/latest-activity.module.js +61 -0
  293. package/esm2015/lib/components/latest-activity/services/activity-log.service.js +33 -0
  294. package/esm2015/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.js +51 -0
  295. package/esm2015/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.js +30 -0
  296. package/esm2015/lib/components/notifications/components/base-list-notfications.component.js +156 -0
  297. package/esm2015/lib/components/notifications/components/base-notifications.component.js +17 -0
  298. package/esm2015/lib/components/notifications/components/index.js +7 -0
  299. package/esm2015/lib/components/notifications/components/notification-item/get-icon.pipe.js +44 -0
  300. package/esm2015/lib/components/notifications/components/notification-item/notification-item.component.js +55 -0
  301. package/esm2015/lib/components/notifications/components/notification-source-select/notification-source-select.component.js +38 -0
  302. package/esm2015/lib/components/notifications/components/notification-status-toggle/notification-status-toggle.component.js +26 -0
  303. package/esm2015/lib/components/notifications/components/notifications-button/notifications-button.component.js +148 -0
  304. package/esm2015/lib/components/notifications/components/notifications-date-select/notifications-date-select.component.js +63 -0
  305. package/esm2015/lib/components/notifications/components/notifications-list/notifications-list.component.js +69 -0
  306. package/esm2015/lib/components/notifications/components/notifications-list/options.js +24 -0
  307. package/esm2015/lib/components/notifications/components/notifications-list-actions/notifications-list-actions.component.js +43 -0
  308. package/esm2015/lib/components/notifications/components/notifications-settings/check-if-subscribed.pipe.js +29 -0
  309. package/esm2015/lib/components/notifications/components/notifications-settings/notifications-settings.adapter.js +30 -0
  310. package/esm2015/lib/components/notifications/components/notifications-settings/notifications-settings.component.js +163 -0
  311. package/esm2015/lib/components/notifications/components/notifications-sidebar/notifications-sidebar-content.js +28 -0
  312. package/esm2015/lib/components/notifications/components/notifications-sidebar/notifications-sidebar.component.js +158 -0
  313. package/esm2015/lib/components/notifications/constants/date.js +8 -0
  314. package/esm2015/lib/components/notifications/constants/index.js +5 -0
  315. package/esm2015/lib/components/notifications/constants/pagination.js +5 -0
  316. package/esm2015/lib/components/notifications/constants/panel.js +5 -0
  317. package/esm2015/lib/components/notifications/constants/status.js +10 -0
  318. package/esm2015/lib/components/notifications/containers/index.js +3 -0
  319. package/esm2015/lib/components/notifications/containers/notifications-list-container/notifications-list-container.component.js +98 -0
  320. package/esm2015/lib/components/notifications/containers/notifications-list-container/options.js +18 -0
  321. package/esm2015/lib/components/notifications/containers/notifications-settings-container/notifications-settings-container.component.js +68 -0
  322. package/esm2015/lib/components/notifications/directives/button.directive.js +28 -0
  323. package/esm2015/lib/components/notifications/directives/index.js +3 -0
  324. package/esm2015/lib/components/notifications/directives/notification.directive.js +28 -0
  325. package/esm2015/lib/components/notifications/index.js +2 -0
  326. package/esm2015/lib/components/notifications/models/common.js +2 -0
  327. package/esm2015/lib/components/notifications/models/index.js +12 -0
  328. package/esm2015/lib/components/notifications/models/notification-definition.model.js +2 -0
  329. package/esm2015/lib/components/notifications/models/notification-message.mode.js +2 -0
  330. package/esm2015/lib/components/notifications/models/notification-options.js +2 -0
  331. package/esm2015/lib/components/notifications/models/notification-setting.presenter.js +2 -0
  332. package/esm2015/lib/components/notifications/models/notification-subscription.model.js +2 -0
  333. package/esm2015/lib/components/notifications/models/notification.model.js +2 -0
  334. package/esm2015/lib/components/notifications/models/notifications-list-options.js +3 -0
  335. package/esm2015/lib/components/notifications/models/paging-response.model.js +2 -0
  336. package/esm2015/lib/components/notifications/models/params.model.js +2 -0
  337. package/esm2015/lib/components/notifications/models/vocabularies.js +2 -0
  338. package/esm2015/lib/components/notifications/notifications.module.js +147 -0
  339. package/esm2015/lib/components/notifications/public-api.js +12 -0
  340. package/esm2015/lib/components/notifications/services/index.js +2 -0
  341. package/esm2015/lib/components/notifications/services/listener.service.js +19 -0
  342. package/esm2015/lib/components/notifications/services/notifications.service.js +178 -0
  343. package/esm2015/lib/components/notifications/services/params.service.js +31 -0
  344. package/esm2015/lib/components/notifications/services/response.service.js +65 -0
  345. package/esm2015/lib/components/notifications/services/socket.service.js +84 -0
  346. package/esm2015/lib/components/notifications/utilities/index.js +2 -0
  347. package/esm2015/lib/components/notifications/utilities/response.adapter.js +12 -0
  348. package/esm2015/lib/components/pagination/pagination/pagination.component.js +124 -0
  349. package/esm2015/lib/components/pagination/pagination.module.js +32 -0
  350. package/esm2015/lib/components/pdf-tron/pdf-tron.module.js +24 -0
  351. package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +768 -0
  352. package/esm2015/lib/components/pdf-tron/pdftron/pdftron.service.js +241 -0
  353. package/esm2015/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.js +195 -0
  354. package/esm2015/lib/components/permissions/permission.service.js +118 -0
  355. package/esm2015/lib/components/permissions/permissions/permissions.component.js +278 -0
  356. package/esm2015/lib/components/permissions/permissions-template/permissions-template.component.js +101 -0
  357. package/esm2015/lib/components/permissions/permissions.module.js +87 -0
  358. package/esm2015/lib/components/select/select/select.component.js +130 -0
  359. package/esm2015/lib/components/select/select.module.js +39 -0
  360. package/esm2015/lib/components/select-users-by-department/select-users-by-department.module.js +47 -0
  361. package/esm2015/lib/components/select-users-by-department/select-users-by-departments/department-management.service.js +27 -0
  362. package/esm2015/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.js +116 -0
  363. package/esm2015/lib/components/spell-checker-field/spell-checker-field.module.js +37 -0
  364. package/esm2015/lib/components/spell-checker-field/spell-checker-text-field/spell-checker-text-field.component.js +88 -0
  365. package/esm2015/lib/components/table/dynamic-column/dynamic-column.component.js +64 -0
  366. package/esm2015/lib/components/table/dynamic-component.js +59 -0
  367. package/esm2015/lib/components/table/page-sizes-list/page-sizes-list.component.js +38 -0
  368. package/esm2015/lib/components/table/table/table.component.js +257 -0
  369. package/esm2015/lib/components/table/table.module.js +69 -0
  370. package/esm2015/lib/components/toasts/components/notification-toast/notification-toast.component.js +53 -0
  371. package/esm2015/lib/components/toasts/index.js +2 -0
  372. package/esm2015/lib/components/toasts/public-api.js +3 -0
  373. package/esm2015/lib/components/toasts/toasts.module.js +19 -0
  374. package/esm2015/lib/components/user/user/user.component.js +31 -0
  375. package/esm2015/lib/components/user/user.module.js +30 -0
  376. package/esm2015/lib/components/users-card/users-card.component.js +43 -0
  377. package/esm2015/lib/components/users-card/users-card.module.js +28 -0
  378. package/esm2015/lib/components/viewer-log/components/viewer-log/viewer-log.component.js +38 -0
  379. package/esm2015/lib/components/viewer-log/viewer-log.module.js +20 -0
  380. package/esm2015/lib/components/vocabulary/interfaces/op-type.interface.js +2 -0
  381. package/esm2015/lib/components/vocabulary/services/vocabulary-api.service.js +55 -0
  382. package/esm2015/lib/components/vocabulary/translated-vocabulary-select/translated-vocabulary-select.component.js +217 -0
  383. package/esm2015/lib/components/vocabulary/vocabulary/vocabulary.component.js +106 -0
  384. package/esm2015/lib/components/vocabulary/vocabulary.module.js +41 -0
  385. package/esm2015/lib/configuration/app-config.service.js +31 -0
  386. package/esm2015/lib/configuration/helpers/app-initializer.js +4 -0
  387. package/esm2015/lib/core/adapters/adapter.service.js +50 -0
  388. package/esm2015/lib/core/core.module.js +117 -0
  389. package/esm2015/lib/core/enums/language.enum.js +6 -0
  390. package/esm2015/lib/core/env/env-manager.js +15 -0
  391. package/esm2015/lib/core/env/index.js +2 -0
  392. package/esm2015/lib/core/models/api-response.model.js +2 -0
  393. package/esm2015/lib/core/models/automation-response.model.js +2 -0
  394. package/esm2015/lib/core/models/base-response.models.js +2 -0
  395. package/esm2015/lib/core/models/component.model.js +8 -0
  396. package/esm2015/lib/core/models/index.js +5 -0
  397. package/esm2015/lib/core/services/callApi/call-api.service.js +50 -0
  398. package/esm2015/lib/core/services/extension/action.extensions.js +9 -0
  399. package/esm2015/lib/core/services/extension/component-register.service.js +25 -0
  400. package/esm2015/lib/core/services/extension/extenion-utils.js +115 -0
  401. package/esm2015/lib/core/services/extension/extension-element.js +2 -0
  402. package/esm2015/lib/core/services/extension/extension-loader.service.js +127 -0
  403. package/esm2015/lib/core/services/extension/extension.service.js +120 -0
  404. package/esm2015/lib/core/services/initialization/initialization.service.js +138 -0
  405. package/esm2015/lib/core/services/localStorag/local-storag.service.js +123 -0
  406. package/esm2015/lib/core/services/nuxeo/new-nuxeo-overide.js +146 -0
  407. package/esm2015/lib/core/services/nuxeo/nuxeo-override.js +82 -0
  408. package/esm2015/lib/core/services/nuxeo/nuxeo.service.js +155 -0
  409. package/esm2015/lib/core/services/roles/roles.service.js +130 -0
  410. package/esm2015/lib/core/services/translation/translate-loader.service.js +150 -0
  411. package/esm2015/lib/core/services/translation/translation.service.js +176 -0
  412. package/esm2015/lib/core/services/user/user-preferences.service.js +171 -0
  413. package/esm2015/lib/core/utilities/moment-date-adapter.js +178 -0
  414. package/esm2015/lib/core/utilities/utility.service.js +81 -0
  415. package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +61 -0
  416. package/esm2015/lib/directive/clickOutSide/click-outside.directive.js +29 -0
  417. package/esm2015/lib/directive/directive.module.js +52 -0
  418. package/esm2015/lib/directive/drag-and-drop/drag-and-drop.directive.js +46 -0
  419. package/esm2015/lib/directive/permissions/evaluators.service.js +152 -0
  420. package/esm2015/lib/directive/permissions/permissions.directive.js +69 -0
  421. package/esm2015/lib/directive/rtl/set-dir-rtl.directive.js +28 -0
  422. package/esm2015/lib/directive/rtl/set-rtl.directive.js +29 -0
  423. package/esm2015/lib/nuxeo-development-framework.component.js +26 -0
  424. package/esm2015/lib/nuxeo-development-framework.module.js +20 -0
  425. package/esm2015/lib/nuxeo-development-framework.service.js +14 -0
  426. package/esm2015/lib/pipes/file-size.pipe.js +57 -0
  427. package/esm2015/lib/pipes/hijri-date.pipe.js +46 -0
  428. package/esm2015/lib/pipes/localized-date.pipe.js +81 -0
  429. package/esm2015/lib/pipes/multi-value.pipe.js +42 -0
  430. package/esm2015/lib/pipes/pipes.module.js +29 -0
  431. package/esm2015/lib/pipes/secure-html.pipe.js +34 -0
  432. package/esm2015/lib/pipes/secure.pipe.js +40 -0
  433. package/esm2015/lib/pipes/time-ago.pipe.js +68 -0
  434. package/esm2015/lib/shared/components/base/base-column.component.js +18 -0
  435. package/esm2015/lib/shared/components/base/base-dialog.component.js +25 -0
  436. package/esm2015/lib/shared/components/base/base-selector.component.js +96 -0
  437. package/esm2015/lib/shared/components/base/base.component.js +57 -0
  438. package/esm2015/lib/shared/components/base/destroy.subject.js +19 -0
  439. package/esm2015/lib/shared/components/base/index.js +6 -0
  440. package/esm2015/lib/shared/components/button/button.component.js +90 -0
  441. package/esm2015/lib/shared/components/index.js +3 -0
  442. package/esm2015/lib/shared/components/item-list/item-list.component.js +78 -0
  443. package/esm2015/lib/shared/components/no-data/no-data.component.js +41 -0
  444. package/esm2015/lib/shared/components/nuxeo-dialog/confirmation/ndf-confirmation-dialog.component.js +23 -0
  445. package/esm2015/lib/shared/components/nuxeo-dialog/index.js +6 -0
  446. package/esm2015/lib/shared/components/nuxeo-dialog/models/confirm-options.model.js +22 -0
  447. package/esm2015/lib/shared/components/nuxeo-dialog/models/dialog-option.model.js +2 -0
  448. package/esm2015/lib/shared/components/nuxeo-dialog/nuxeo-dialog.module.js +47 -0
  449. package/esm2015/lib/shared/components/nuxeo-dialog/nuxeo.dialog.js +86 -0
  450. package/esm2015/lib/shared/components/nuxeo-dialog/services/nuxeo-dialog.service.js +56 -0
  451. package/esm2015/lib/shared/components/read-more/read-more.component.js +108 -0
  452. package/esm2015/lib/shared/components/search-autocomplete/search-autocomplete.component.js +146 -0
  453. package/esm2015/lib/shared/components/spinner/spinner.component.js +29 -0
  454. package/esm2015/lib/shared/components/user-card/user-card.component.js +49 -0
  455. package/esm2015/lib/shared/libraryShared.module.js +85 -0
  456. package/esm2015/lib/shared/models/index.js +4 -0
  457. package/esm2015/lib/shared/models/mapper/index.js +2 -0
  458. package/esm2015/lib/shared/models/mapper/nuxeo-mapper.js +32 -0
  459. package/esm2015/lib/shared/models/nuxeo-response.model.js +2 -0
  460. package/esm2015/lib/shared/models/task.model.js +2 -0
  461. package/esm2015/lib/shared/services/base/base.service.js +157 -0
  462. package/esm2015/lib/shared/services/base/cache-base.service.js +295 -0
  463. package/esm2015/lib/shared/services/base/config/default-ttl-config.js +9 -0
  464. package/esm2015/lib/shared/services/base/config/index.js +2 -0
  465. package/esm2015/lib/shared/services/base/constants/default-cache-options.js +28 -0
  466. package/esm2015/lib/shared/services/base/constants/index.js +2 -0
  467. package/esm2015/lib/shared/services/base/http-base.service.js +106 -0
  468. package/esm2015/lib/shared/services/base/index.js +3 -0
  469. package/esm2015/lib/shared/services/base/models/cache-info-model.js +12 -0
  470. package/esm2015/lib/shared/services/base/models/http-options.model.js +2 -0
  471. package/esm2015/lib/shared/services/base/models/index.js +6 -0
  472. package/esm2015/lib/shared/services/base/models/operation-options.model.js +2 -0
  473. package/esm2015/lib/shared/services/base/models/query-options.model.js +2 -0
  474. package/esm2015/lib/shared/services/base/models/request-options.model.js +2 -0
  475. package/esm2015/lib/shared/services/index.js +2 -0
  476. package/esm2015/lib/shared-services/dialog-mangment.service.js +102 -0
  477. package/esm2015/lib/shared-services/dynamic-form.service.js +241 -0
  478. package/esm2015/lib/shared-services/file-manager.adapter.js +74 -0
  479. package/esm2015/lib/shared-services/file-manager.service.js +1028 -0
  480. package/esm2015/lib/shared-services/global-admin.service.js +22 -0
  481. package/esm2015/lib/shared-services/global-pdftron.service.js +51 -0
  482. package/esm2015/lib/shared-services/mainfolder.service.js +170 -0
  483. package/esm2015/lib/shared-services/publishing-document.service.js +202 -0
  484. package/esm2015/lib/shared-services/recently-viewed.service.js +57 -0
  485. package/esm2015/lib/shared-services/shared-docs.service.js +129 -0
  486. package/esm2015/lib/shared-services/shared-services.module.js +20 -0
  487. package/esm2015/lib/shared-services/upload-file.service.js +29 -0
  488. package/esm2015/lib/shared-services/upload-managment.service.js +151 -0
  489. package/esm2015/lib/shared-services/user.service.js +64 -0
  490. package/esm2015/nuxeo-development-framework.js +5 -0
  491. package/esm2015/public-api.js +249 -0
  492. package/fesm2015/nuxeo-development-framework.js +33522 -0
  493. package/fesm2015/nuxeo-development-framework.js.map +1 -0
  494. package/lib/components/activities-log/activities-log/activities-log.component.d.ts +26 -0
  495. package/lib/components/activities-log/activities-log/activities-log.service.d.ts +9 -0
  496. package/lib/components/activities-log/activities-log.module.d.ts +12 -0
  497. package/lib/components/activity/activity/activity.component.d.ts +13 -0
  498. package/lib/components/activity/activity.module.d.ts +13 -0
  499. package/lib/components/attachment-item/attachment-item/attachment-item.component.d.ts +21 -0
  500. package/lib/components/attachment-item/attachment-item.module.d.ts +13 -0
  501. package/lib/components/attachment-modal/attachment-modal.module.d.ts +12 -0
  502. package/lib/components/attachment-modal/attachments/attachments.component.d.ts +50 -0
  503. package/lib/components/avatar/avatar/avatar.component.d.ts +23 -0
  504. package/lib/components/avatar/avatar.module.d.ts +13 -0
  505. package/lib/components/card/card.component.d.ts +32 -0
  506. package/lib/components/card/card.module.d.ts +12 -0
  507. package/lib/components/charts/chart.const.d.ts +2 -0
  508. package/lib/components/charts/chart.token.d.ts +8 -0
  509. package/lib/components/charts/charts.module.d.ts +9 -0
  510. package/lib/components/charts/components/base-chart.component.d.ts +21 -0
  511. package/lib/components/charts/components/chart.component.d.ts +28 -0
  512. package/lib/components/charts/components/data-chart.component.d.ts +36 -0
  513. package/lib/components/charts/components/index.d.ts +3 -0
  514. package/lib/components/charts/defaults/bar.d.ts +2 -0
  515. package/lib/components/charts/defaults/doughnut.d.ts +2 -0
  516. package/lib/components/charts/defaults/index.d.ts +4 -0
  517. package/lib/components/charts/defaults/line.d.ts +2 -0
  518. package/lib/components/charts/defaults/pie.d.ts +2 -0
  519. package/lib/components/charts/index.d.ts +9 -0
  520. package/lib/components/charts/models/index.d.ts +4 -0
  521. package/lib/components/charts/models/options.d.ts +12 -0
  522. package/lib/components/charts/models/plugins-options.d.ts +18 -0
  523. package/lib/components/charts/models/response.d.ts +5 -0
  524. package/lib/components/charts/models/statistic-request-config.d.ts +30 -0
  525. package/lib/components/charts/plugins/doughnut-center-text.d.ts +2 -0
  526. package/lib/components/charts/plugins/doughnut-empty-state.d.ts +2 -0
  527. package/lib/components/charts/plugins/index.d.ts +3 -0
  528. package/lib/components/charts/plugins/legend-margin.d.ts +2 -0
  529. package/lib/components/charts/services/index.d.ts +1 -0
  530. package/lib/components/charts/services/statistic.service.d.ts +23 -0
  531. package/lib/components/charts/utility/colors.d.ts +11 -0
  532. package/lib/components/charts/utility/common.d.ts +4 -0
  533. package/lib/components/charts/utility/index.d.ts +2 -0
  534. package/lib/components/comments/comments.module.d.ts +27 -0
  535. package/lib/components/comments/components/comment-item/comment-item.component.d.ts +26 -0
  536. package/lib/components/comments/components/comments-dashlet/comments-dashlet.component.d.ts +46 -0
  537. package/lib/components/comments/components/comments-list/comments-list.component.d.ts +28 -0
  538. package/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.d.ts +25 -0
  539. package/lib/components/comments/constants/comment.d.ts +25 -0
  540. package/lib/components/comments/services/comment-api.service.d.ts +16 -0
  541. package/lib/components/confirm-caller/confirm-caller.dialog.d.ts +46 -0
  542. package/lib/components/confirm-caller/confirm-caller.module.d.ts +17 -0
  543. package/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.d.ts +12 -0
  544. package/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.d.ts +12 -0
  545. package/lib/components/confirmation-dialog/confirmation-dialog.module.d.ts +10 -0
  546. package/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.d.ts +34 -0
  547. package/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.d.ts +45 -0
  548. package/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.d.ts +31 -0
  549. package/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.d.ts +18 -0
  550. package/lib/components/correspondence-relation/components/versions/versions.component.d.ts +49 -0
  551. package/lib/components/correspondence-relation/correspondence-relation.module.d.ts +32 -0
  552. package/lib/components/correspondence-relation/services/correspondence-realation.service.d.ts +26 -0
  553. package/lib/components/correspondence-relation/services/viewer-files.service.d.ts +18 -0
  554. package/lib/components/create-entity/create-entity/create-entity.component.d.ts +17 -0
  555. package/lib/components/create-entity/create-entity.module.d.ts +11 -0
  556. package/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.d.ts +43 -0
  557. package/lib/components/cts-tags/cts-tags.module.d.ts +21 -0
  558. package/lib/components/cts-tags/services/tags-api.service.d.ts +17 -0
  559. package/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.d.ts +21 -0
  560. package/lib/components/custom-toastr/custom-toastr.module.d.ts +12 -0
  561. package/lib/components/custom-toastr/interfaces/toast-type.interface.d.ts +1 -0
  562. package/lib/components/custom-toastr/services/custom-toastr.service.d.ts +30 -0
  563. package/lib/components/diagrams/components/base-node.component.d.ts +30 -0
  564. package/lib/components/diagrams/components/circle-node/circle-node.component.d.ts +7 -0
  565. package/lib/components/diagrams/components/connection-label.component.d.ts +19 -0
  566. package/lib/components/diagrams/components/content-node/content-node.component.d.ts +8 -0
  567. package/lib/components/diagrams/components/custom-connection.component.d.ts +13 -0
  568. package/lib/components/diagrams/components/custom-socket.component.d.ts +6 -0
  569. package/lib/components/diagrams/components/gateway-node/gateway-node.component.d.ts +6 -0
  570. package/lib/components/diagrams/components/gateway-ports.component.d.ts +12 -0
  571. package/lib/components/diagrams/components/index.d.ts +15 -0
  572. package/lib/components/diagrams/components/node-icon.component.d.ts +8 -0
  573. package/lib/components/diagrams/components/node-inputs.component.d.ts +12 -0
  574. package/lib/components/diagrams/components/node-outputs.component.d.ts +12 -0
  575. package/lib/components/diagrams/components/node-ports.component.d.ts +13 -0
  576. package/lib/components/diagrams/components/remove-button.component.d.ts +7 -0
  577. package/lib/components/diagrams/components/status-icon.component.d.ts +8 -0
  578. package/lib/components/diagrams/components/template-node/template-node.component.d.ts +17 -0
  579. package/lib/components/diagrams/components/zoom-control.component.d.ts +11 -0
  580. package/lib/components/diagrams/constants/defaults.d.ts +2 -0
  581. package/lib/components/diagrams/constants/direction.d.ts +6 -0
  582. package/lib/components/diagrams/constants/index.d.ts +7 -0
  583. package/lib/components/diagrams/constants/message-type.d.ts +4 -0
  584. package/lib/components/diagrams/constants/node-type.d.ts +7 -0
  585. package/lib/components/diagrams/constants/notify-events.d.ts +3 -0
  586. package/lib/components/diagrams/constants/sizes.d.ts +7 -0
  587. package/lib/components/diagrams/constants/status.d.ts +11 -0
  588. package/lib/components/diagrams/diagrams.module.d.ts +29 -0
  589. package/lib/components/diagrams/directive/diagram.directive.d.ts +27 -0
  590. package/lib/components/diagrams/directive/index.d.ts +1 -0
  591. package/lib/components/diagrams/editor/customize.d.ts +25 -0
  592. package/lib/components/diagrams/editor/editor.d.ts +3 -0
  593. package/lib/components/diagrams/editor/index.d.ts +4 -0
  594. package/lib/components/diagrams/editor/overrides/connection-path.transformers.d.ts +2 -0
  595. package/lib/components/diagrams/editor/overrides/index.d.ts +1 -0
  596. package/lib/components/diagrams/editor/path-plugin.d.ts +4 -0
  597. package/lib/components/diagrams/editor/socket-position-watcher.d.ts +3 -0
  598. package/lib/components/diagrams/index.d.ts +1 -0
  599. package/lib/components/diagrams/models/base-node.model.d.ts +22 -0
  600. package/lib/components/diagrams/models/circle-node.model.d.ts +7 -0
  601. package/lib/components/diagrams/models/connection.model.d.ts +16 -0
  602. package/lib/components/diagrams/models/content-node.model.d.ts +5 -0
  603. package/lib/components/diagrams/models/gate-way.model.d.ts +8 -0
  604. package/lib/components/diagrams/models/index.d.ts +7 -0
  605. package/lib/components/diagrams/models/ports.model.d.ts +11 -0
  606. package/lib/components/diagrams/models/socket.model.d.ts +7 -0
  607. package/lib/components/diagrams/models/template-node.model.d.ts +8 -0
  608. package/lib/components/diagrams/public-api.d.ts +8 -0
  609. package/lib/components/diagrams/services/diagram-plugins.service.d.ts +16 -0
  610. package/lib/components/diagrams/services/diagram.service.d.ts +53 -0
  611. package/lib/components/diagrams/services/index.d.ts +4 -0
  612. package/lib/components/diagrams/services/message.service.d.ts +10 -0
  613. package/lib/components/diagrams/services/workflow.service.d.ts +80 -0
  614. package/lib/components/diagrams/types/common.type.d.ts +9 -0
  615. package/lib/components/diagrams/types/connection-config.type.d.ts +11 -0
  616. package/lib/components/diagrams/types/connection-label.type.d.ts +4 -0
  617. package/lib/components/diagrams/types/customization.type.d.ts +10 -0
  618. package/lib/components/diagrams/types/diagram-config.type.d.ts +42 -0
  619. package/lib/components/diagrams/types/diagram-editor.type.d.ts +26 -0
  620. package/lib/components/diagrams/types/emitter-type.d.ts +5 -0
  621. package/lib/components/diagrams/types/index.d.ts +17 -0
  622. package/lib/components/diagrams/types/layout.type.d.ts +13 -0
  623. package/lib/components/diagrams/types/node-content.d.ts +9 -0
  624. package/lib/components/diagrams/types/node-definition.d.ts +20 -0
  625. package/lib/components/diagrams/types/node-status.type.d.ts +2 -0
  626. package/lib/components/diagrams/types/node.type.d.ts +2 -0
  627. package/lib/components/diagrams/types/notify-event.type.d.ts +2 -0
  628. package/lib/components/diagrams/types/path.type.d.ts +18 -0
  629. package/lib/components/diagrams/types/ports-config.type.d.ts +11 -0
  630. package/lib/components/diagrams/types/schemes.type.d.ts +3 -0
  631. package/lib/components/diagrams/types/socket.type.d.ts +5 -0
  632. package/lib/components/diagrams/utilities/common.d.ts +19 -0
  633. package/lib/components/diagrams/utilities/index.d.ts +4 -0
  634. package/lib/components/diagrams/utilities/random.d.ts +1 -0
  635. package/lib/components/diagrams/utilities/remove.util.d.ts +30 -0
  636. package/lib/components/diagrams/utilities/serialize.d.ts +15 -0
  637. package/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.d.ts +17 -0
  638. package/lib/components/display-suitable-icon/display-suitable-icon/icon.service.d.ts +8 -0
  639. package/lib/components/display-suitable-icon/display-suitable-icon.module.d.ts +8 -0
  640. package/lib/components/documents/components/attachments-list/attachments-list.component.d.ts +55 -0
  641. package/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.d.ts +38 -0
  642. package/lib/components/documents/components/document-list/documents-list.component.d.ts +81 -0
  643. package/lib/components/documents/components/document-scan/document-scan.component.d.ts +112 -0
  644. package/lib/components/documents/components/document-scan/document-scan.service.d.ts +14 -0
  645. package/lib/components/documents/components/document-upload/document-upload.component.d.ts +60 -0
  646. package/lib/components/documents/components/documents/documents.component.d.ts +27 -0
  647. package/lib/components/documents/constants/document-templates.d.ts +33 -0
  648. package/lib/components/documents/constants/documents.d.ts +95 -0
  649. package/lib/components/documents/documents.module.d.ts +33 -0
  650. package/lib/components/documents/services/document-templates.service.d.ts +24 -0
  651. package/lib/components/documents/services/documents.service.d.ts +36 -0
  652. package/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.d.ts +78 -0
  653. package/lib/components/dynamic-chart/dynamic-chart.module.d.ts +15 -0
  654. package/lib/components/dynamic-chart/services/chart-data.service.d.ts +37 -0
  655. package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.d.ts +142 -0
  656. package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.d.ts +14 -0
  657. package/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.d.ts +55 -0
  658. package/lib/components/dynamic-filter/dynamic-filter.module.d.ts +17 -0
  659. package/lib/components/dynamic-form/components/department-form/department-form.component.d.ts +28 -0
  660. package/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.d.ts +27 -0
  661. package/lib/components/dynamic-form/components/dynamic-form/fields.adapter.d.ts +6 -0
  662. package/lib/components/dynamic-form/components/dynamic-form/form-builder.service.d.ts +21 -0
  663. package/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.d.ts +17 -0
  664. package/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.d.ts +57 -0
  665. package/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.d.ts +35 -0
  666. package/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.d.ts +71 -0
  667. package/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.d.ts +52 -0
  668. package/lib/components/dynamic-form/components/dynamic-form-department/constants/department.d.ts +12 -0
  669. package/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.d.ts +85 -0
  670. package/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.d.ts +32 -0
  671. package/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.d.ts +23 -0
  672. package/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.d.ts +30 -0
  673. package/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.d.ts +64 -0
  674. package/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.d.ts +25 -0
  675. package/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.d.ts +15 -0
  676. package/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.d.ts +45 -0
  677. package/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.d.ts +43 -0
  678. package/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.d.ts +65 -0
  679. package/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.d.ts +92 -0
  680. package/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.d.ts +16 -0
  681. package/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.d.ts +80 -0
  682. package/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.d.ts +40 -0
  683. package/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.d.ts +71 -0
  684. package/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.d.ts +94 -0
  685. package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.d.ts +21 -0
  686. package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.d.ts +112 -0
  687. package/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.d.ts +20 -0
  688. package/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.d.ts +79 -0
  689. package/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.d.ts +599 -0
  690. package/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.d.ts +13 -0
  691. package/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.d.ts +2 -0
  692. package/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.d.ts +13 -0
  693. package/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.d.ts +2 -0
  694. package/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.d.ts +16 -0
  695. package/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.formio.d.ts +2 -0
  696. package/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.d.ts +13 -0
  697. package/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.d.ts +2 -0
  698. package/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.d.ts +9 -0
  699. package/lib/components/dynamic-form/dynamic-form.module.d.ts +68 -0
  700. package/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.d.ts +5 -0
  701. package/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.d.ts +5 -0
  702. package/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.d.ts +15 -0
  703. package/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.d.ts +4 -0
  704. package/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.d.ts +12 -0
  705. package/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.d.ts +8 -0
  706. package/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.d.ts +10 -0
  707. package/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.d.ts +5 -0
  708. package/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.d.ts +8 -0
  709. package/lib/components/dynamic-form/interfaces/dynamic-form.interfaces.d.ts +9 -0
  710. package/lib/components/dynamic-form/models/dynamic-form-baseitem.model.d.ts +21 -0
  711. package/lib/components/dynamic-form/models/dynamic-form-boolitem.model.d.ts +11 -0
  712. package/lib/components/dynamic-form/models/dynamic-form-dateitem.model.d.ts +13 -0
  713. package/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.d.ts +9 -0
  714. package/lib/components/dynamic-form/models/dynamic-form-mapitem.model.d.ts +8 -0
  715. package/lib/components/dynamic-form/models/dynamic-form-selectitem.model.d.ts +11 -0
  716. package/lib/components/dynamic-form/models/dynamic-form-textitem.model.d.ts +15 -0
  717. package/lib/components/dynamic-form/models/dynamic-form.models.d.ts +7 -0
  718. package/lib/components/dynamic-form/services/card-item-types.service.d.ts +13 -0
  719. package/lib/components/dynamic-form/services/dynamic-component-mapper.service.d.ts +36 -0
  720. package/lib/components/dynamic-form/services/dynamic-form-update.service.d.ts +25 -0
  721. package/lib/components/dynamic-form/validators/length-validator.d.ts +7 -0
  722. package/lib/components/dynamic-form/validators/regex-validator.d.ts +7 -0
  723. package/lib/components/dynamic-form/validators/required-validator.d.ts +5 -0
  724. package/lib/components/dynamic-form/validators/value-validator.d.ts +7 -0
  725. package/lib/components/dynamic-search/dynamic-search/dynamic-search.component.d.ts +103 -0
  726. package/lib/components/dynamic-search/dynamic-search.module.d.ts +20 -0
  727. package/lib/components/dynamic-table/dynamic-table/dynamic-table.component.d.ts +130 -0
  728. package/lib/components/dynamic-table/dynamic-table.module.d.ts +16 -0
  729. package/lib/components/dynamic-table/services/dynamic-table.service.d.ts +8 -0
  730. package/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.d.ts +13 -0
  731. package/lib/components/dynamic-tabs/dynamic-tabs.module.d.ts +11 -0
  732. package/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.d.ts +13 -0
  733. package/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.d.ts +22 -0
  734. package/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.d.ts +28 -0
  735. package/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.d.ts +16 -0
  736. package/lib/components/dynamic-view/data-viewer/data-viewer.component.d.ts +13 -0
  737. package/lib/components/dynamic-view/date-viewer/date-viewer.component.d.ts +22 -0
  738. package/lib/components/dynamic-view/department-viewer/department-viewer.component.d.ts +30 -0
  739. package/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.d.ts +39 -0
  740. package/lib/components/dynamic-view/dynamic-view.module.d.ts +24 -0
  741. package/lib/components/dynamic-view/dynamic-viewe.service.d.ts +15 -0
  742. package/lib/components/dynamic-view/list-viewer/list-viewer.component.d.ts +20 -0
  743. package/lib/components/file-manger/components/add-to-collection/add-to-collection.component.d.ts +37 -0
  744. package/lib/components/file-manger/components/clipboard/clipboard.component.d.ts +41 -0
  745. package/lib/components/file-manger/components/copy/copy.component.d.ts +40 -0
  746. package/lib/components/file-manger/components/create-directory/create-directory.component.d.ts +29 -0
  747. package/lib/components/file-manger/components/create-modal/create-modal.component.d.ts +104 -0
  748. package/lib/components/file-manger/components/creation-type/creation-type.component.d.ts +13 -0
  749. package/lib/components/file-manger/components/delete/delete.component.d.ts +31 -0
  750. package/lib/components/file-manger/components/folder-modal/folder-modal.component.d.ts +57 -0
  751. package/lib/components/file-manger/components/loan-request/loan-request.component.d.ts +29 -0
  752. package/lib/components/file-manger/components/move/move.component.d.ts +40 -0
  753. package/lib/components/file-manger/components/publish-dialog/publish-dialog.component.d.ts +39 -0
  754. package/lib/components/file-manger/components/rename/rename.component.d.ts +30 -0
  755. package/lib/components/file-manger/components/scan-modal/scan-modal.component.d.ts +96 -0
  756. package/lib/components/file-manger/components/share-dialog/share-dialog.component.d.ts +57 -0
  757. package/lib/components/file-manger/components/sidepanel/sidepanel.component.d.ts +62 -0
  758. package/lib/components/file-manger/components/template-modal/template-modal.component.d.ts +35 -0
  759. package/lib/components/file-manger/components/transfer-doc/transfer-doc.component.d.ts +30 -0
  760. package/lib/components/file-manger/components/update-modal/update-modal.component.d.ts +196 -0
  761. package/lib/components/file-manger/directives/file-grid-infinite-scroll.directive.d.ts +12 -0
  762. package/lib/components/file-manger/file-manager.abstract.d.ts +188 -0
  763. package/lib/components/file-manger/file-manger.module.d.ts +61 -0
  764. package/lib/components/file-manger/models/file-manager-config.model.d.ts +8 -0
  765. package/lib/components/file-manger/models/index.d.ts +3 -0
  766. package/lib/components/file-manger/models/pagination-payload.mode.d.ts +3 -0
  767. package/lib/components/file-manger/models/pagination-response.model.d.ts +30 -0
  768. package/lib/components/filter/filter/filter.component.d.ts +31 -0
  769. package/lib/components/filter/filter.module.d.ts +15 -0
  770. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.d.ts +35 -0
  771. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.d.ts +35 -0
  772. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.d.ts +39 -0
  773. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.d.ts +9 -0
  774. package/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.d.ts +15 -0
  775. package/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.d.ts +15 -0
  776. package/lib/components/hijri-gregorian-datepicker/services/date-helper.service.d.ts +9 -0
  777. package/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.d.ts +11 -0
  778. package/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.d.ts +10 -0
  779. package/lib/components/hijri-gregorian-datepicker/utils/consts.d.ts +4 -0
  780. package/lib/components/latest-activity/components/activity-line/activity-line.component.d.ts +19 -0
  781. package/lib/components/latest-activity/components/latest-activity/latest-activity.component.d.ts +23 -0
  782. package/lib/components/latest-activity/components/single-activity/single-activity.component.d.ts +15 -0
  783. package/lib/components/latest-activity/constants/activitylog.d.ts +83 -0
  784. package/lib/components/latest-activity/latest-activity.module.d.ts +20 -0
  785. package/lib/components/latest-activity/services/activity-log.service.d.ts +12 -0
  786. package/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.d.ts +17 -0
  787. package/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.d.ts +10 -0
  788. package/lib/components/notifications/components/base-list-notfications.component.d.ts +42 -0
  789. package/lib/components/notifications/components/base-notifications.component.d.ts +11 -0
  790. package/lib/components/notifications/components/index.d.ts +6 -0
  791. package/lib/components/notifications/components/notification-item/get-icon.pipe.d.ts +8 -0
  792. package/lib/components/notifications/components/notification-item/notification-item.component.d.ts +24 -0
  793. package/lib/components/notifications/components/notification-source-select/notification-source-select.component.d.ts +15 -0
  794. package/lib/components/notifications/components/notification-status-toggle/notification-status-toggle.component.d.ts +8 -0
  795. package/lib/components/notifications/components/notifications-button/notifications-button.component.d.ts +42 -0
  796. package/lib/components/notifications/components/notifications-date-select/notifications-date-select.component.d.ts +22 -0
  797. package/lib/components/notifications/components/notifications-list/notifications-list.component.d.ts +18 -0
  798. package/lib/components/notifications/components/notifications-list/options.d.ts +2 -0
  799. package/lib/components/notifications/components/notifications-list-actions/notifications-list-actions.component.d.ts +15 -0
  800. package/lib/components/notifications/components/notifications-settings/check-if-subscribed.pipe.d.ts +8 -0
  801. package/lib/components/notifications/components/notifications-settings/notifications-settings.adapter.d.ts +3 -0
  802. package/lib/components/notifications/components/notifications-settings/notifications-settings.component.d.ts +40 -0
  803. package/lib/components/notifications/components/notifications-sidebar/notifications-sidebar-content.d.ts +9 -0
  804. package/lib/components/notifications/components/notifications-sidebar/notifications-sidebar.component.d.ts +43 -0
  805. package/lib/components/notifications/constants/date.d.ts +7 -0
  806. package/lib/components/notifications/constants/index.d.ts +4 -0
  807. package/lib/components/notifications/constants/pagination.d.ts +4 -0
  808. package/lib/components/notifications/constants/panel.d.ts +4 -0
  809. package/lib/components/notifications/constants/status.d.ts +9 -0
  810. package/lib/components/notifications/containers/index.d.ts +2 -0
  811. package/lib/components/notifications/containers/notifications-list-container/notifications-list-container.component.d.ts +27 -0
  812. package/lib/components/notifications/containers/notifications-list-container/options.d.ts +2 -0
  813. package/lib/components/notifications/containers/notifications-settings-container/notifications-settings-container.component.d.ts +22 -0
  814. package/lib/components/notifications/directives/button.directive.d.ts +9 -0
  815. package/lib/components/notifications/directives/index.d.ts +2 -0
  816. package/lib/components/notifications/directives/notification.directive.d.ts +9 -0
  817. package/lib/components/notifications/index.d.ts +1 -0
  818. package/lib/components/notifications/models/common.d.ts +64 -0
  819. package/lib/components/notifications/models/index.d.ts +11 -0
  820. package/lib/components/notifications/models/notification-definition.model.d.ts +17 -0
  821. package/lib/components/notifications/models/notification-message.mode.d.ts +14 -0
  822. package/lib/components/notifications/models/notification-options.d.ts +7 -0
  823. package/lib/components/notifications/models/notification-setting.presenter.d.ts +24 -0
  824. package/lib/components/notifications/models/notification-subscription.model.d.ts +13 -0
  825. package/lib/components/notifications/models/notification.model.d.ts +16 -0
  826. package/lib/components/notifications/models/notifications-list-options.d.ts +38 -0
  827. package/lib/components/notifications/models/paging-response.model.d.ts +12 -0
  828. package/lib/components/notifications/models/params.model.d.ts +6 -0
  829. package/lib/components/notifications/models/vocabularies.d.ts +12 -0
  830. package/lib/components/notifications/notifications.module.d.ts +41 -0
  831. package/lib/components/notifications/public-api.d.ts +11 -0
  832. package/lib/components/notifications/services/index.d.ts +1 -0
  833. package/lib/components/notifications/services/listener.service.d.ts +8 -0
  834. package/lib/components/notifications/services/notifications.service.d.ts +60 -0
  835. package/lib/components/notifications/services/params.service.d.ts +19 -0
  836. package/lib/components/notifications/services/response.service.d.ts +19 -0
  837. package/lib/components/notifications/services/socket.service.d.ts +26 -0
  838. package/lib/components/notifications/utilities/index.d.ts +1 -0
  839. package/lib/components/notifications/utilities/response.adapter.d.ts +3 -0
  840. package/lib/components/pagination/pagination/pagination.component.d.ts +46 -0
  841. package/lib/components/pagination/pagination.module.d.ts +13 -0
  842. package/lib/components/pdf-tron/pdf-tron.module.d.ts +8 -0
  843. package/lib/components/pdf-tron/pdftron/pdftron.component.d.ts +107 -0
  844. package/lib/components/pdf-tron/pdftron/pdftron.service.d.ts +33 -0
  845. package/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.d.ts +46 -0
  846. package/lib/components/permissions/permission.service.d.ts +21 -0
  847. package/lib/components/permissions/permissions/permissions.component.d.ts +50 -0
  848. package/lib/components/permissions/permissions-template/permissions-template.component.d.ts +22 -0
  849. package/lib/components/permissions/permissions.module.d.ts +22 -0
  850. package/lib/components/select/select/select.component.d.ts +43 -0
  851. package/lib/components/select/select.module.d.ts +12 -0
  852. package/lib/components/select-users-by-department/select-users-by-department.module.d.ts +13 -0
  853. package/lib/components/select-users-by-department/select-users-by-departments/department-management.service.d.ts +10 -0
  854. package/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.d.ts +33 -0
  855. package/lib/components/spell-checker-field/spell-checker-field.module.d.ts +10 -0
  856. package/lib/components/spell-checker-field/spell-checker-text-field/spell-checker-text-field.component.d.ts +24 -0
  857. package/lib/components/table/dynamic-column/dynamic-column.component.d.ts +19 -0
  858. package/lib/components/table/dynamic-component.d.ts +20 -0
  859. package/lib/components/table/page-sizes-list/page-sizes-list.component.d.ts +15 -0
  860. package/lib/components/table/table/table.component.d.ts +122 -0
  861. package/lib/components/table/table.module.d.ts +25 -0
  862. package/lib/components/toasts/components/notification-toast/notification-toast.component.d.ts +17 -0
  863. package/lib/components/toasts/index.d.ts +1 -0
  864. package/lib/components/toasts/public-api.d.ts +2 -0
  865. package/lib/components/toasts/toasts.module.d.ts +8 -0
  866. package/lib/components/user/user/user.component.d.ts +13 -0
  867. package/lib/components/user/user.module.d.ts +10 -0
  868. package/lib/components/users-card/users-card.component.d.ts +22 -0
  869. package/lib/components/users-card/users-card.module.d.ts +17 -0
  870. package/lib/components/viewer-log/components/viewer-log/viewer-log.component.d.ts +14 -0
  871. package/lib/components/viewer-log/viewer-log.module.d.ts +10 -0
  872. package/lib/components/vocabulary/interfaces/op-type.interface.d.ts +1 -0
  873. package/lib/components/vocabulary/services/vocabulary-api.service.d.ts +19 -0
  874. package/lib/components/vocabulary/translated-vocabulary-select/translated-vocabulary-select.component.d.ts +81 -0
  875. package/lib/components/vocabulary/vocabulary/vocabulary.component.d.ts +37 -0
  876. package/lib/components/vocabulary/vocabulary.module.d.ts +13 -0
  877. package/lib/configuration/app-config.service.d.ts +14 -0
  878. package/lib/configuration/helpers/app-initializer.d.ts +2 -0
  879. package/lib/core/adapters/adapter.service.d.ts +11 -0
  880. package/lib/core/core.module.d.ts +17 -0
  881. package/lib/core/enums/language.enum.d.ts +4 -0
  882. package/lib/core/env/env-manager.d.ts +53 -0
  883. package/lib/core/env/index.d.ts +1 -0
  884. package/lib/core/models/api-response.model.d.ts +24 -0
  885. package/lib/core/models/automation-response.model.d.ts +24 -0
  886. package/lib/core/models/base-response.models.d.ts +12 -0
  887. package/lib/core/models/component.model.d.ts +6 -0
  888. package/lib/core/models/index.d.ts +4 -0
  889. package/lib/core/services/callApi/call-api.service.d.ts +18 -0
  890. package/lib/core/services/extension/action.extensions.d.ts +31 -0
  891. package/lib/core/services/extension/component-register.service.d.ts +17 -0
  892. package/lib/core/services/extension/extenion-utils.d.ts +14 -0
  893. package/lib/core/services/extension/extension-element.d.ts +5 -0
  894. package/lib/core/services/extension/extension-loader.service.d.ts +28 -0
  895. package/lib/core/services/extension/extension.service.d.ts +70 -0
  896. package/lib/core/services/initialization/initialization.service.d.ts +31 -0
  897. package/lib/core/services/localStorag/local-storag.service.d.ts +41 -0
  898. package/lib/core/services/nuxeo/new-nuxeo-overide.d.ts +14 -0
  899. package/lib/core/services/nuxeo/nuxeo-override.d.ts +8 -0
  900. package/lib/core/services/nuxeo/nuxeo.service.d.ts +37 -0
  901. package/lib/core/services/roles/roles.service.d.ts +12 -0
  902. package/lib/core/services/translation/translate-loader.service.d.ts +26 -0
  903. package/lib/core/services/translation/translation.service.d.ts +74 -0
  904. package/lib/core/services/user/user-preferences.service.d.ts +81 -0
  905. package/lib/core/utilities/moment-date-adapter.d.ts +37 -0
  906. package/lib/core/utilities/utility.service.d.ts +11 -0
  907. package/lib/directive/app-has-role/app-has-role.directive.d.ts +18 -0
  908. package/lib/directive/clickOutSide/click-outside.directive.d.ts +11 -0
  909. package/lib/directive/directive.module.d.ts +17 -0
  910. package/lib/directive/drag-and-drop/drag-and-drop.directive.d.ts +11 -0
  911. package/lib/directive/permissions/evaluators.service.d.ts +37 -0
  912. package/lib/directive/permissions/permissions.directive.d.ts +42 -0
  913. package/lib/directive/rtl/set-dir-rtl.directive.d.ts +13 -0
  914. package/lib/directive/rtl/set-rtl.directive.d.ts +13 -0
  915. package/lib/nuxeo-development-framework.component.d.ts +8 -0
  916. package/lib/nuxeo-development-framework.module.d.ts +10 -0
  917. package/lib/nuxeo-development-framework.service.d.ts +6 -0
  918. package/lib/pipes/file-size.pipe.d.ts +34 -0
  919. package/lib/pipes/hijri-date.pipe.d.ts +32 -0
  920. package/lib/pipes/localized-date.pipe.d.ts +44 -0
  921. package/lib/pipes/multi-value.pipe.d.ts +32 -0
  922. package/lib/pipes/pipes.module.d.ts +18 -0
  923. package/lib/pipes/secure-html.pipe.d.ts +26 -0
  924. package/lib/pipes/secure.pipe.d.ts +29 -0
  925. package/lib/pipes/time-ago.pipe.d.ts +34 -0
  926. package/lib/shared/components/base/base-column.component.d.ts +10 -0
  927. package/lib/shared/components/base/base-dialog.component.d.ts +12 -0
  928. package/lib/shared/components/base/base-selector.component.d.ts +43 -0
  929. package/lib/shared/components/base/base.component.d.ts +34 -0
  930. package/lib/shared/components/base/destroy.subject.d.ts +9 -0
  931. package/lib/shared/components/base/index.d.ts +5 -0
  932. package/lib/shared/components/button/button.component.d.ts +39 -0
  933. package/lib/shared/components/index.d.ts +2 -0
  934. package/lib/shared/components/item-list/item-list.component.d.ts +45 -0
  935. package/lib/shared/components/no-data/no-data.component.d.ts +22 -0
  936. package/lib/shared/components/nuxeo-dialog/confirmation/ndf-confirmation-dialog.component.d.ts +9 -0
  937. package/lib/shared/components/nuxeo-dialog/index.d.ts +5 -0
  938. package/lib/shared/components/nuxeo-dialog/models/confirm-options.model.d.ts +22 -0
  939. package/lib/shared/components/nuxeo-dialog/models/dialog-option.model.d.ts +16 -0
  940. package/lib/shared/components/nuxeo-dialog/nuxeo-dialog.module.d.ts +15 -0
  941. package/lib/shared/components/nuxeo-dialog/nuxeo.dialog.d.ts +23 -0
  942. package/lib/shared/components/nuxeo-dialog/services/nuxeo-dialog.service.d.ts +13 -0
  943. package/lib/shared/components/read-more/read-more.component.d.ts +37 -0
  944. package/lib/shared/components/search-autocomplete/search-autocomplete.component.d.ts +51 -0
  945. package/lib/shared/components/spinner/spinner.component.d.ts +18 -0
  946. package/lib/shared/components/user-card/user-card.component.d.ts +30 -0
  947. package/lib/shared/libraryShared.module.d.ts +27 -0
  948. package/lib/shared/models/index.d.ts +3 -0
  949. package/lib/shared/models/mapper/index.d.ts +1 -0
  950. package/lib/shared/models/mapper/nuxeo-mapper.d.ts +8 -0
  951. package/lib/shared/models/nuxeo-response.model.d.ts +61 -0
  952. package/lib/shared/models/task.model.d.ts +71 -0
  953. package/lib/shared/services/base/base.service.d.ts +29 -0
  954. package/lib/shared/services/base/cache-base.service.d.ts +17 -0
  955. package/lib/shared/services/base/config/default-ttl-config.d.ts +7 -0
  956. package/lib/shared/services/base/config/index.d.ts +1 -0
  957. package/lib/shared/services/base/constants/default-cache-options.d.ts +16 -0
  958. package/lib/shared/services/base/constants/index.d.ts +1 -0
  959. package/lib/shared/services/base/http-base.service.d.ts +17 -0
  960. package/lib/shared/services/base/index.d.ts +2 -0
  961. package/lib/shared/services/base/models/cache-info-model.d.ts +49 -0
  962. package/lib/shared/services/base/models/http-options.model.d.ts +7 -0
  963. package/lib/shared/services/base/models/index.d.ts +5 -0
  964. package/lib/shared/services/base/models/operation-options.model.d.ts +8 -0
  965. package/lib/shared/services/base/models/query-options.model.d.ts +5 -0
  966. package/lib/shared/services/base/models/request-options.model.d.ts +7 -0
  967. package/lib/shared/services/index.d.ts +1 -0
  968. package/lib/shared-services/dialog-mangment.service.d.ts +19 -0
  969. package/lib/shared-services/dynamic-form.service.d.ts +24 -0
  970. package/lib/shared-services/file-manager.adapter.d.ts +48 -0
  971. package/lib/shared-services/file-manager.service.d.ts +102 -0
  972. package/lib/shared-services/global-admin.service.d.ts +11 -0
  973. package/lib/shared-services/global-pdftron.service.d.ts +11 -0
  974. package/lib/shared-services/mainfolder.service.d.ts +32 -0
  975. package/lib/shared-services/publishing-document.service.d.ts +25 -0
  976. package/lib/shared-services/recently-viewed.service.d.ts +17 -0
  977. package/lib/shared-services/shared-docs.service.d.ts +23 -0
  978. package/lib/shared-services/shared-services.module.d.ts +7 -0
  979. package/lib/shared-services/upload-file.service.d.ts +10 -0
  980. package/lib/shared-services/upload-managment.service.d.ts +72 -0
  981. package/lib/shared-services/user.service.d.ts +12 -0
  982. package/nuxeo-development-framework.d.ts +5 -0
  983. package/package.json +82 -0
  984. package/public-api.d.ts +236 -0
@@ -0,0 +1,148 @@
1
+ import { Component, Input } from "@angular/core";
2
+ import { MatDialogConfig } from "@angular/material/dialog";
3
+ import { take } from "rxjs/operators";
4
+ import { ConfirmCallerDialogComponent } from "../../../confirm-caller/confirm-caller.dialog";
5
+ import { CorrespondenceRelationCreateFormComponent } from "../correspondence-relation-create-form/correspondence-relation-create-form.component";
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@angular/material/dialog";
8
+ import * as i2 from "../../services/correspondence-realation.service";
9
+ import * as i3 from "../../../custom-toastr/services/custom-toastr.service";
10
+ import * as i4 from "../../services/viewer-files.service";
11
+ import * as i5 from "../../../documents/services/documents.service";
12
+ import * as i6 from "../../../../core/services/user/user-preferences.service";
13
+ import * as i7 from "../../../../core/services/nuxeo/nuxeo.service";
14
+ import * as i8 from "../correspondence-relation-reply/correspondence-relation-reply.component";
15
+ import * as i9 from "@angular/material/icon";
16
+ import * as i10 from "../correspondence-relation-list/correspondence-relation-list.component";
17
+ import * as i11 from "../../../../directive/permissions/permissions.directive";
18
+ import * as i12 from "@ngx-translate/core";
19
+ export class CorrespondenceRelationComponent {
20
+ constructor(dialog, corrrelationsvc, toastr, viewerFilesService, documentsApi, userPreference, nuxeoService) {
21
+ this.dialog = dialog;
22
+ this.corrrelationsvc = corrrelationsvc;
23
+ this.toastr = toastr;
24
+ this.viewerFilesService = viewerFilesService;
25
+ this.documentsApi = documentsApi;
26
+ this.userPreference = userPreference;
27
+ this.nuxeoService = nuxeoService;
28
+ this.reload = false;
29
+ }
30
+ ngOnInit() {
31
+ this.getallrelated();
32
+ this.corrrelationsvc.getUpdatedRelation.subscribe((res) => {
33
+ this.getallrelated();
34
+ });
35
+ }
36
+ openDialog() {
37
+ let data = {};
38
+ if (this.relations_list)
39
+ data = {
40
+ exist_relations_list: this.relations_list.value,
41
+ correspondance: this.correspondance,
42
+ corr_id: this.corr_id,
43
+ };
44
+ else
45
+ data = { exist_relations_list: [] };
46
+ const dialogConfig = new MatDialogConfig();
47
+ dialogConfig.data = data;
48
+ dialogConfig.direction =
49
+ this.userPreference.locale === "ar" ? "rtl" : "ltr";
50
+ dialogConfig.panelClass = "custom-dialog-container";
51
+ dialogConfig.width = "50%";
52
+ dialogConfig.disableClose = true;
53
+ const dialogRef = this.dialog.open(CorrespondenceRelationCreateFormComponent, dialogConfig);
54
+ dialogRef.afterClosed().subscribe((result) => {
55
+ if (result) {
56
+ this.reload = true;
57
+ // this.corrrelationsvc
58
+ // .create_Named_Relation(this.corr_id, result.relationname, result.docs)
59
+ // .subscribe(
60
+ // (data) => {
61
+ // this.reload = true;
62
+ // this.corrrelationsvc.getUpdatedRelation.next();
63
+ // this.toastr.show(
64
+ // 'success',
65
+ // 'success',
66
+ // 'Realation Successfuly added'
67
+ // );
68
+ // },
69
+ // (err) => {
70
+ // this.toastr.show('error', 'error',
71
+ // err.ret.message ?
72
+ // `errors.${err.ret.code}`
73
+ // : 'genericError');
74
+ // }
75
+ // );
76
+ }
77
+ });
78
+ }
79
+ getallrelated() {
80
+ this.corrrelationsvc
81
+ .get_Correspondence_Relation_WithoutReply(this.corr_id)
82
+ .subscribe((results) => {
83
+ this.relations_list = results;
84
+ });
85
+ }
86
+ handleActions(event) {
87
+ if (event.action === "view") {
88
+ this.view_Corres(event.item);
89
+ }
90
+ else if (event.action === "delete") {
91
+ this.deleteRelation(event.item);
92
+ }
93
+ else if (event.action === "show") {
94
+ this.showCorrespondenceInViewer(event.item.uid);
95
+ }
96
+ }
97
+ view_Corres(relation) {
98
+ let url = window.location.href;
99
+ window.open(url.replace(this.corr_id, relation.uid), "_blank");
100
+ }
101
+ showCorrespondenceInViewer(corres_id) {
102
+ this.documentsApi.getDocument(corres_id).subscribe((file) => {
103
+ this.viewerFilesService.updateViewer.next(file);
104
+ });
105
+ }
106
+ openConfirmDialog(functionToPerform, title, msg) {
107
+ return this.dialog
108
+ .open(ConfirmCallerDialogComponent, {
109
+ width: "400px",
110
+ panelClass: "relation-confirm-dialog",
111
+ data: {
112
+ call: functionToPerform,
113
+ title: "genericConfirm",
114
+ toastrTitle: title,
115
+ toastrMsg: msg,
116
+ },
117
+ })
118
+ .afterClosed()
119
+ .pipe(take(1));
120
+ }
121
+ deleteRelation(relateddoc) {
122
+ let functionToPerform = () => {
123
+ return this.corrrelationsvc.Delete_Named_Relation(this.corr_id, relateddoc.relationId, relateddoc.uid);
124
+ };
125
+ let title = "";
126
+ let msg = "";
127
+ this.openConfirmDialog(functionToPerform, "Success", "correspondence-relation.deleted_success").subscribe((data) => {
128
+ if (data) {
129
+ this.corrrelationsvc.getUpdatedRelation.next();
130
+ }
131
+ });
132
+ }
133
+ }
134
+ CorrespondenceRelationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CorrespondenceRelationComponent, deps: [{ token: i1.MatDialog }, { token: i2.CorrespondenceRelationService }, { token: i3.CustomToastrService }, { token: i4.ViewerFilesService }, { token: i5.DocumentsService }, { token: i6.UserPreferencesService }, { token: i7.NuxeoService }], target: i0.ɵɵFactoryTarget.Component });
135
+ CorrespondenceRelationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: CorrespondenceRelationComponent, selector: "cts-correspondence-relation", inputs: { corr_id: "corr_id", correspondance: "correspondance" }, ngImport: i0, template: "<div class=\"relations-container\">\r\n <div class=\"mb-3 relations-reply\">\r\n <div class=\"subheader\">\r\n <div>{{ \"correspondence-relation.reply_relation\" | translate }}</div>\r\n </div>\r\n <cts-correspondence-relation-reply\r\n [correspondence_id]=\"corr_id\"\r\n (actionclicked)=\"handleActions($event)\"\r\n ></cts-correspondence-relation-reply>\r\n </div>\r\n\r\n <div class=\"mb-2 relations-listing\">\r\n <div class=\"subheader\">\r\n <div>{{ \"correspondence-relation.title\" | translate }}</div>\r\n <div class=\"\" *permission=\"{\r\n name: 'AddRelatedCorrespondence',\r\n entity: correspondance , user: nuxeoService.nuxeoClient.user\r\n }\" (click)=\"openDialog()\"><mat-icon>add</mat-icon></div>\r\n </div>\r\n <cts-correspondence-relation-list\r\n [correspondence_id]=\"corr_id\"\r\n [reload]=\"reload\"\r\n ></cts-correspondence-relation-list>\r\n </div>\r\n\r\n\r\n</div>\r\n", styles: [".bi{margin:0!important}.memo-sorting-wrapper{width:265px;margin:0 10px;height:100%;display:flex}.memo-sorting-wrapper .sorting-direction{width:65px;height:40px;background-color:#465573;color:#fff;font-size:20px;display:flex;justify-content:center;align-items:center;cursor:pointer}.memo-sorting-wrapper .memo-sorting-trigger{width:calc(100% - 65px);height:100%;background-color:transparent;border:1px solid lightgrey;display:flex;justify-content:space-between;align-items:center;padding:0 15px;font-size:14px}.memo-sorting-wrapper .memo-sorting-trigger i{font-size:16px;color:gray}.memo-sorting-menu{width:200px}.my-button{border:1px solid #465573;color:#465573;border-radius:5px;background-color:transparent;font-weight:bold;min-width:80px;height:40px}.my-button.reset{border:none}.my-button:hover{color:#fff;background-color:#465573}.my-button:hover.reset{color:#465573;border:1px solid #465573;background-color:#fff}.app-property-value .app-input-wrapper label{color:#646f85;font-size:13px;margin-bottom:5px}.app-property-value .app-input-wrapper label .text-danger{font-size:16px;line-height:14px;margin:0 5px!important}.app-property-value .app-input-wrapper .form-control{border:1px solid #ccc;border-radius:5px;background-color:#8f98aa1a;height:40px}.app-property-value .app-input-wrapper .form-control:disabled{background-color:#e9ecef!important}.app-property-value .app-input-wrapper .form-control:focus{border:1px solid #1a96c6;box-shadow:0 0 4px #79c3c26b!important}.app-property-value .app-input-wrapper .app-textitem-editable-error .error-containers{list-style:none;padding:0;margin:0;font-size:14px}.app-property-value .app-input-wrapper .app-textitem-editable-error .error-containers .error{margin-top:5px}.autocomplete-container .input-container input:focus,hijri-gregorian-datepicker .form-group .input-group .form-control:focus,.ng-select.ng-select-focused .ng-select-container{border:1px solid #1a96c6!important;box-shadow:0 0 4px #79c3c26b!important}input::placeholder{font-size:12px}.form-control:focus{box-shadow:none!important}.mat-stepper-horizontal{margin-top:-25px}.mat-stepper-horizontal .mat-horizontal-stepper-header-container .mat-step-header.cdk-program-focused{background-color:transparent}.mat-stepper-horizontal .mat-horizontal-stepper-header-container .mat-step-header .mat-step-icon-selected{background-color:transparent;color:#fff;background-image:linear-gradient(to right,#0dbab5,#1a96c6)}@media only screen and (max-width: 576px){.mat-stepper-horizontal .mat-horizontal-stepper-header-container .mat-step-header .mat-step-label .mat-step-text-label{white-space:pre-wrap;overflow:visible}}.mat-stepper-horizontal .mat-horizontal-content-container{overflow:visible}@media only screen and (max-width: 768px){.mat-stepper-horizontal .mat-horizontal-content-container{padding:0 0 24px}}.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:first-child:after,.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:last-child:before{display:none}.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:first-child:before{border-top-width:1px;border-top-style:solid;content:\"\";display:inline-block;height:0;position:absolute;width:calc(50% - 20px);left:0}.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:last-child:after{border-top-width:1px;border-top-style:solid;content:\"\";display:inline-block;height:0;position:absolute;width:calc(50% - 20px);right:0}.form-wrapper{padding:30px 15px;border:1px solid #dde0e2}.form-wrapper .buttons-wrapper{display:flex;justify-content:space-between}.form-wrapper .buttons-wrapper .action-buttons-wrapper{display:flex}.form-wrapper .buttons-wrapper button{background-image:linear-gradient(to right,#0dbab5,#1a96c6);height:40px;color:#fff;border:none;width:125px;margin-top:20px;border-radius:5px}.form-wrapper .buttons-wrapper button:disabled{opacity:.4;cursor:not-allowed}.form-wrapper .buttons-wrapper button:hover{opacity:.7}.form-wrapper .upload-wrapper{display:flex;flex-direction:column;justify-content:flex-end}.form-wrapper .upload-wrapper label{color:#8f98aa;font-size:14px}.form-wrapper .upload-wrapper button{padding:10px;border:1px solid lightgray}.form-wrapper .upload-wrapper button span{margin:0 10px}.renameFileComponent .form-wrapper{padding:30px 15px;border:none!important}.renameFileComponent .form-wrapper .buttons-wrapper{display:flex;justify-content:space-between}.renameFileComponent .form-wrapper .buttons-wrapper .action-buttons-wrapper{display:flex}.renameFileComponent .form-wrapper .buttons-wrapper button{background-image:linear-gradient(to right,#0dbab5,#1a96c6);height:40px;color:#fff;border:none;width:125px;margin-top:20px;border-radius:5px}.renameFileComponent .form-wrapper .buttons-wrapper button:disabled{opacity:.4;cursor:not-allowed}.renameFileComponent .form-wrapper .buttons-wrapper button:hover{opacity:.7}.renameFileComponent .form-wrapper .upload-wrapper{display:flex;flex-direction:column;justify-content:flex-end}.renameFileComponent .form-wrapper .upload-wrapper label{color:#8f98aa;font-size:14px}.renameFileComponent .form-wrapper .upload-wrapper button{padding:10px;border:1px solid lightgray}.renameFileComponent .form-wrapper .upload-wrapper button span{margin:0 10px}.my-dynamic-viewer{display:flex;align-items:center;font-size:12px;min-height:30px}.my-dynamic-viewer .my-label{font-size:12px;font-weight:500;width:150px;word-break:break-word}@media (max-width: 992px){.my-dynamic-viewer .my-label{width:50%}}.my-dynamic-viewer .my-value{width:calc(100% - 150px);word-break:break-word}@media (max-width: 992px){.my-dynamic-viewer .my-value{width:50%}}.my-dynamic-viewer .direction-img{font-size:14px}.my-dynamic-viewer .direction-img .incoming{display:none}.my-dynamic-viewer .direction-img .outgoing{display:none}.my-dynamic-viewer .direction-img .internal{display:none}.my-dynamic-viewer.draft .my-value{color:#596973}.my-dynamic-viewer.inProgress .my-value{color:#3c3cf0}.my-dynamic-viewer.registered .my-value{color:#4f008c}.my-dynamic-viewer.archived .my-value{color:#fbb62c}.my-dynamic-viewer.closed .my-value{color:#00dca5}.my-dynamic-viewer.approved .my-value{color:#06a57e}.my-dynamic-viewer.assigned .my-value{color:#fd6670}.my-dynamic-viewer.sent .my-value{color:#3c3cf0}.my-dynamic-viewer.published .my-value{color:#00dca5}.my-dynamic-viewer.Outgoing .my-value{display:flex}.my-dynamic-viewer.Outgoing .my-value .direction-img .outgoing{color:#fbb62c;margin:1px 5px;display:flex}.my-dynamic-viewer.Outgoing .my-value .text{margin:0 5px}.my-dynamic-viewer.Internal .my-value{display:flex}.my-dynamic-viewer.Internal .my-value .direction-img .internal{color:#3c3cf0;margin:1px 5px;display:flex}.my-dynamic-viewer.Internal .my-value .text{margin:0 5px}.my-dynamic-viewer.Incoming .my-value{display:flex}.my-dynamic-viewer.Incoming .my-value .direction-img .incoming{color:#00dca5;display:flex}.my-dynamic-viewer.Incoming .my-value .text{margin:-3px 5px 0}.my-dynamic-viewer.vertical{display:block}.my-dynamic-viewer.vertical .my-label{width:auto}.my-dynamic-viewer.vertical .my-value{width:auto}.my-dynamic-viewer.with-out-label{width:100%!important}.relations-container .subheader{padding:10px 0 0;display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:bold}.relations-container .subheader mat-icon{font-size:25px;cursor:pointer;color:#465573}.relations-container .relations-title{display:flex;justify-content:space-between;align-items:center}.relations-container .relations-title a{font-size:30px;color:#789}.relations-container .relations-list{border:1px solid #00000026}.relations-container .relations-list .relation-item{display:flex;justify-content:space-between;align-items:center}\n"], components: [{ type: i8.CorrespondenceRelationReplyComponent, selector: "cts-correspondence-relation-reply", inputs: ["correspondence_id"], outputs: ["actionclicked"] }, { type: i9.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i10.CorrespondenceRelationListComponent, selector: "cts-correspondence-relation-list", inputs: ["correspondence_id", "reload"] }], directives: [{ type: i11.PermissionsDirective, selector: "[permission]", inputs: ["permission"] }], pipes: { "translate": i12.TranslatePipe } });
136
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CorrespondenceRelationComponent, decorators: [{
137
+ type: Component,
138
+ args: [{
139
+ selector: "cts-correspondence-relation",
140
+ templateUrl: "./correspondence-relation.component.html",
141
+ styleUrls: ["./correspondence-relation.component.scss"],
142
+ }]
143
+ }], ctorParameters: function () { return [{ type: i1.MatDialog }, { type: i2.CorrespondenceRelationService }, { type: i3.CustomToastrService }, { type: i4.ViewerFilesService }, { type: i5.DocumentsService }, { type: i6.UserPreferencesService }, { type: i7.NuxeoService }]; }, propDecorators: { corr_id: [{
144
+ type: Input
145
+ }], correspondance: [{
146
+ type: Input
147
+ }] } });
148
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29ycmVzcG9uZGVuY2UtcmVsYXRpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9jb3JyZXNwb25kZW5jZS1yZWxhdGlvbi9jb21wb25lbnRzL2NvcnJlc3BvbmRlbmNlLXJlbGF0aW9uL2NvcnJlc3BvbmRlbmNlLXJlbGF0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2pl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gICBkaWFsb2dDb25maWcud2lkdGggPSBcIjUwJVwiO1xyXG4gICAgZGlhbG9nQ29uZmlnLmRpc2FibGVDbG9zZSA9IHRydWU7XHJcbiAgICBjb25zdCBkaWFsb2dSZWYgPSB0aGlzLmRpYWxvZy5vcGVuKFxyXG4gICAgICBDb3JyZXNwb25kZW5jZVJlbGF0aW9uQ3JlYXRlRm9ybUNvbXBvbmVudCxcclxuICAgICAgZGlhbG9nQ29uZmlnXHJcbiAgICApO1xyXG5cclxuICAgIGRpYWxvZ1JlZi5hZnRlckNsb3NlZCgpLnN1YnNjcmliZSgocmVzdWx0KSA9PiB7XHJcbiAgICAgIGlmIChyZXN1bHQpIHtcclxuICAgICAgICB0aGlzLnJlbG9hZCA9IHRydWU7XHJcbiAgICAgICAgLy8gdGhpcy5jb3JycmVsYXRpb25zdmNcclxuICAgICAgICAvLyAgIC5jcmVhdGVfTmFtZWRfUmVsYXRpb24odGhpcy5jb3JyX2lkLCByZXN1bHQucmVsYXRpb25uYW1lLCByZXN1bHQuZG9jcylcclxuICAgICAgICAvLyAgIC5zdWJzY3JpYmUoXHJcbiAgICAgICAgLy8gICAgIChkYXRhKSA9PiB7XHJcbiAgICAgICAgLy8gICAgICAgdGhpcy5yZWxvYWQgPSB0cnVlO1xyXG4gICAgICAgIC8vICAgICAgIHRoaXMuY29ycnJlbGF0aW9uc3ZjLmdldFVwZGF0ZWRSZWxhdGlvbi5uZXh0KCk7XHJcbiAgICAgICAgLy8gICAgICAgdGhpcy50b2FzdHIuc2hvdyhcclxuICAgICAgICAvLyAgICAgICAgICdzdWNjZXNzJyxcclxuICAgICAgICAvLyAgICAgICAgICdzdWNjZXNzJyxcclxuICAgICAgICAvLyAgICAgICAgICdSZWFsYXRpb24gU3VjY2Vzc2Z1bHkgYWRkZWQnXHJcbiAgICAgICAgLy8gICAgICAgKTtcclxuICAgICAgICAvLyAgICAgfSxcclxuICAgICAgICAvLyAgICAgKGVycikgPT4ge1xyXG4gICAgICAgIC8vICA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nMoJGV2ZW50KVwiXHJcbiAgICA+PC9jdHMtY29ycmVzcG9uZGVuY2UtcmVsYXRpb24tcmVwbHk+XHJcbiAgPC9kaXY+XHJcblxyXG4gIDxkaXYgY2xhc3M9XCJtYi0yIHJlbGF0aW9ucy1saXN0aW5nXCI+XHJcbiAgICA8ZGl2IGNsYXNzPVwic3ViaGVhZGVyXCI+XHJcbiAgICAgIDxkaXY+e3sgXCJjb3JyZXNwb25kZW5jZS1yZWxhdGlvbi50aXRsZVwiIHwgdHJhbnNsYXRlIH19PC9kaXY+XHJcbiAgICAgIDxkaXYgY2xhc3M9XCJcIiAqcGVybWlzc2lvbj1cIntcclxuICAgICAgICBuYW1lOiAnQWRkUmVsYXRlZENvcnJlc3BvbmRlbmNlJyxcclxuICAgICAgICBlbnRpdHk6IGNvcnJlc3BvbmRhbmNlICwgdXNlcjogbnV4ZW9TZXJ2aWNlLm51eGVvQ2xpZW50LnVzZXJcclxuICAgICAgfVwiIChjbGljayk9XCJvcGVuRGlhbG9nKClcIj48bWF0LWljb24+YWRkPC9tYXQtaWNvbj48L2Rpdj5cclxuICAgIDwvZGl2PlxyXG4gICAgPGN0cy1jb3JyZXNwb25kZW5jZS1yZWxhdGlvbi1saXN0XHJcbiAgICAgIFtjb3JyZXNwb25kZW5jZV9pZF09XCJjb3JyX2lkXCJcclxuICAgICAgW3JlbG9hZF09XCJyZWxvYWRcIlxyXG4gICAgPjwvY3RzLWNvcnJlc3BvbmRlbmNlLXJlbGF0aW9uLWxpc3Q+XHJcbiAgPC9kaXY+XHJcblxyXG5cclxuPC9kaXY+XHJcbiJdfQ==
@@ -0,0 +1,150 @@
1
+ import { Component, Inject, ViewChild, ViewEncapsulation, } from "@angular/core";
2
+ import { Validators } from "@angular/forms";
3
+ import { MAT_DIALOG_DATA } from "@angular/material/dialog";
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/forms";
6
+ import * as i2 from "../../services/correspondence-realation.service";
7
+ import * as i3 from "../../../custom-toastr/services/custom-toastr.service";
8
+ import * as i4 from "@angular/material/dialog";
9
+ import * as i5 from "../../../dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component";
10
+ import * as i6 from "angular-ng-autocomplete";
11
+ import * as i7 from "@angular/material/chips";
12
+ import * as i8 from "@angular/material/icon";
13
+ import * as i9 from "../../../../shared/components/button/button.component";
14
+ import * as i10 from "../../../../directive/rtl/set-dir-rtl.directive";
15
+ import * as i11 from "@angular/common";
16
+ import * as i12 from "@ngx-translate/core";
17
+ export class CorrespondenceRelationCreateFormComponent {
18
+ constructor(_formBuilder, corressvc, toastr, dialogRef, data) {
19
+ this._formBuilder = _formBuilder;
20
+ this.corressvc = corressvc;
21
+ this.toastr = toastr;
22
+ this.dialogRef = dialogRef;
23
+ this.data = data;
24
+ this.visible = true;
25
+ this.selectable = true;
26
+ this.removable = true;
27
+ this.saving = false;
28
+ this.related_corr = [];
29
+ this.exist = false;
30
+ this.isLoading = false;
31
+ this.documentList = [];
32
+ this.exist_relations_list = [];
33
+ /**ng-Autocomplete related functions */
34
+ this.alwaysopened = false;
35
+ this.disableFilter = (items) => items;
36
+ }
37
+ /**dialog actions */
38
+ onSaveClick() {
39
+ this.saving = true;
40
+ this.corressvc
41
+ .create_Named_Relation(this.data.corr_id, this.createform.value.relationname, this.related_corr.map((corre) => corre.id))
42
+ .subscribe((data) => {
43
+ if (data) {
44
+ this.corressvc.getUpdatedRelation.next();
45
+ this.toastr.show("success", "success", "RELATION_ADDED");
46
+ this.saving = false;
47
+ this.dialogRef.close(true);
48
+ }
49
+ }, (err) => {
50
+ this.saving = false;
51
+ this.toastr.show("error", "error", err.ret.message ? `errors.${err.ret.code}` : "genericError");
52
+ });
53
+ // this.dialogRef.close({
54
+ // docs: this.related_corr.map((corre) => corre.id),
55
+ // relationname: this.createform.value.relationname,
56
+ // });
57
+ }
58
+ onCloseoClick() {
59
+ this.dialogRef.close();
60
+ }
61
+ ngOnInit() {
62
+ this.exist_relations_list = this.data.exist_relations_list;
63
+ this.correspondanceId = this.data.correspondance.uid;
64
+ console.log("related", this.data);
65
+ this.dialogRef.updateSize("50%", "85%");
66
+ this.createform = this._formBuilder.group({
67
+ relationname: ["", Validators.required],
68
+ });
69
+ }
70
+ on_remove_relation_Chip(relation) {
71
+ this.related_corr.splice(this.related_corr.indexOf(relation), 1);
72
+ }
73
+ clearSerachInput() {
74
+ this.documentList = [];
75
+ if (this.auto)
76
+ this.auto.query = "";
77
+ }
78
+ is_relation_exist(relation) {
79
+ if (this.exist_relations_list.length == 0)
80
+ return false;
81
+ let exist_relation = this.exist_relations_list.filter((exist_relation) => exist_relation.relationId === this.createform.value.relationname &&
82
+ exist_relation.uid === relation.id);
83
+ this.exist = exist_relation.length > 0;
84
+ return this.exist;
85
+ }
86
+ is_corresp_added(corresp) {
87
+ let exist_corresp = this.related_corr.filter((exist_corresp) => {
88
+ return exist_corresp.id === corresp.id;
89
+ });
90
+ return exist_corresp.length > 0;
91
+ }
92
+ selectItem(item) {
93
+ this.auto.query = this.auto.toHighlight;
94
+ if (this.is_relation_exist(item))
95
+ return;
96
+ else if (this.is_corresp_added(item))
97
+ return;
98
+ else {
99
+ this.related_corr.push(item);
100
+ }
101
+ }
102
+ keep_Autocomplete_Results_Open() {
103
+ if (this.alwaysopened) {
104
+ this.auto.filteredList = this.documentList;
105
+ this.auto.isOpen = true;
106
+ this.auto.isFocused = true;
107
+ }
108
+ }
109
+ onSearchInputChange(val) {
110
+ if ((val === null || val === void 0 ? void 0 : val.length) == 0) {
111
+ return;
112
+ }
113
+ this.corressvc.search(val, "", "relationFile").subscribe((data) => {
114
+ console.log("documentList", data);
115
+ this.documentList = data.filter((correspondance) => {
116
+ return this.correspondanceId != correspondance.id;
117
+ });
118
+ this.isLoading = false;
119
+ this.alwaysopened = this.documentList.length > 0;
120
+ return this.documentList;
121
+ });
122
+ }
123
+ inputCleared() {
124
+ this.documentList = [];
125
+ this.alwaysopened = false;
126
+ }
127
+ reset() {
128
+ this.related_corr = [];
129
+ this.clearSerachInput();
130
+ this.exist = false;
131
+ }
132
+ }
133
+ CorrespondenceRelationCreateFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CorrespondenceRelationCreateFormComponent, deps: [{ token: i1.FormBuilder }, { token: i2.CorrespondenceRelationService }, { token: i3.CustomToastrService }, { token: i4.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
134
+ CorrespondenceRelationCreateFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: CorrespondenceRelationCreateFormComponent, selector: "cts-correspondence-relation-create-form", viewQueries: [{ propertyName: "auto", first: true, predicate: ["auto"], descendants: true }], ngImport: i0, template: "<div\r\n class=\"correspondence-relation-container\"\r\n SetDirRtl\r\n style=\"height: 80%; width: 100%\"\r\n>\r\n <div class=\"correspondence-relation-title\">\r\n {{ \"correspondence-relation.add\" | translate }}\r\n </div>\r\n <!-- <mat-divider></mat-divider> -->\r\n <div mat-dialog-content [formGroup]=\"createform\">\r\n <div class=\"vocabulary-list\">\r\n <app-dynamic-form-vocabulary-item\r\n [label]=\"'correspondence-relation.relation-type'\"\r\n [bindLabel]=\"'label'\"\r\n [bindValue]=\"'id'\"\r\n placeholder=\"{{ 'VOCABULARY.SELECT_ITEM' | translate }}\"\r\n [multiple]=\"false\"\r\n [searchable]=\"false\"\r\n [closeOnSelect]=\"true\"\r\n [hideSelectedItems]=\"false\"\r\n [vocabularyType]=\"'VOC_CorrespondenceRelationsNames'\"\r\n formControlName=\"relationname\"\r\n (onSelecting)=\"reset()\"\r\n >\r\n </app-dynamic-form-vocabulary-item>\r\n </div>\r\n\r\n <div class=\"search-container\" *ngIf=\"createform.value.relationname\">\r\n <ng-autocomplete\r\n #auto\r\n [data]=\"documentList\"\r\n [searchKeyword]=\"'filter'\"\r\n (selected)=\"selectItem($event)\"\r\n (inputChanged)=\"onSearchInputChange($event)\"\r\n [customFilter]=\"disableFilter\"\r\n (closed)=\"keep_Autocomplete_Results_Open()\"\r\n [itemTemplate]=\"itemTemplate\"\r\n [notFoundTemplate]=\"notFoundTemplate\"\r\n [placeholder]=\"'correspondence-relation.searchby' | translate\"\r\n [debounceTime]=\"1000\"\r\n [isLoading]=\"isLoading\"\r\n (inputCleared)=\"inputCleared()\"\r\n >\r\n </ng-autocomplete>\r\n\r\n <ng-template #itemTemplate let-item>\r\n <div class=\"item\">\r\n <span>{{ item.title }}</span>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template #notFoundTemplate>\r\n <div>{{ \"correspondence-relation.notfound\" | translate }}</div>\r\n </ng-template>\r\n\r\n <div class=\"chip-list\" *ngIf=\"related_corr.length > 0\">\r\n <mat-chip-list #chipList aria-label=\"corr selection\">\r\n <mat-chip\r\n *ngFor=\"let corr of related_corr\"\r\n [selectable]=\"selectable\"\r\n [removable]=\"removable\"\r\n (removed)=\"on_remove_relation_Chip(corr)\"\r\n >\r\n {{ corr.title }}\r\n <mat-icon matChipRemove *ngIf=\"removable\">cancel</mat-icon>\r\n </mat-chip>\r\n </mat-chip-list>\r\n </div>\r\n <div class=\"exist-relation\" *ngIf=\"exist\">\r\n <span> {{ \"correspondence-relation.exist\" | translate }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"button-group d-flex flex-row-reverse\">\r\n <cts-button\r\n [theme]=\"'danger'\"\r\n size=\"'regular'\"\r\n [loading]=\"saving\"\r\n class=\"voc-form-close\"\r\n mat-dialog-close\r\n >\r\n {{ \"BUTTONS.CLOSE\" | translate }}\r\n </cts-button>\r\n <cts-button\r\n (onClick)=\"onSaveClick()\"\r\n [theme]=\"'primary'\"\r\n size=\"'regular'\"\r\n [disabled]=\"\r\n !this.createform.controls.relationname.valid || related_corr.length == 0\r\n \"\r\n >\r\n {{ \"correspondence-relation.save\" | translate }}\r\n </cts-button>\r\n </div>\r\n</div>\r\n", styles: [".bi{margin:0!important}.memo-sorting-wrapper{width:265px;margin:0 10px;height:100%;display:flex}.memo-sorting-wrapper .sorting-direction{width:65px;height:40px;background-color:#465573;color:#fff;font-size:20px;display:flex;justify-content:center;align-items:center;cursor:pointer}.memo-sorting-wrapper .memo-sorting-trigger{width:calc(100% - 65px);height:100%;background-color:transparent;border:1px solid lightgrey;display:flex;justify-content:space-between;align-items:center;padding:0 15px;font-size:14px}.memo-sorting-wrapper .memo-sorting-trigger i{font-size:16px;color:gray}.memo-sorting-menu{width:200px}.my-button{border:1px solid #465573;color:#465573;border-radius:5px;background-color:transparent;font-weight:bold;min-width:80px;height:40px}.my-button.reset{border:none}.my-button:hover{color:#fff;background-color:#465573}.my-button:hover.reset{color:#465573;border:1px solid #465573;background-color:#fff}.app-property-value .app-input-wrapper label{color:#646f85;font-size:13px;margin-bottom:5px}.app-property-value .app-input-wrapper label .text-danger{font-size:16px;line-height:14px;margin:0 5px!important}.app-property-value .app-input-wrapper .form-control{border:1px solid #ccc;border-radius:5px;background-color:#8f98aa1a;height:40px}.app-property-value .app-input-wrapper .form-control:disabled{background-color:#e9ecef!important}.app-property-value .app-input-wrapper .form-control:focus{border:1px solid #1a96c6;box-shadow:0 0 4px #79c3c26b!important}.app-property-value .app-input-wrapper .app-textitem-editable-error .error-containers{list-style:none;padding:0;margin:0;font-size:14px}.app-property-value .app-input-wrapper .app-textitem-editable-error .error-containers .error{margin-top:5px}.autocomplete-container .input-container input:focus,hijri-gregorian-datepicker .form-group .input-group .form-control:focus,.ng-select.ng-select-focused .ng-select-container{border:1px solid #1a96c6!important;box-shadow:0 0 4px #79c3c26b!important}input::placeholder{font-size:12px}.form-control:focus{box-shadow:none!important}.mat-stepper-horizontal{margin-top:-25px}.mat-stepper-horizontal .mat-horizontal-stepper-header-container .mat-step-header.cdk-program-focused{background-color:transparent}.mat-stepper-horizontal .mat-horizontal-stepper-header-container .mat-step-header .mat-step-icon-selected{background-color:transparent;color:#fff;background-image:linear-gradient(to right,#0dbab5,#1a96c6)}@media only screen and (max-width: 576px){.mat-stepper-horizontal .mat-horizontal-stepper-header-container .mat-step-header .mat-step-label .mat-step-text-label{white-space:pre-wrap;overflow:visible}}.mat-stepper-horizontal .mat-horizontal-content-container{overflow:visible}@media only screen and (max-width: 768px){.mat-stepper-horizontal .mat-horizontal-content-container{padding:0 0 24px}}.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:first-child:after,.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:last-child:before{display:none}.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:first-child:before{border-top-width:1px;border-top-style:solid;content:\"\";display:inline-block;height:0;position:absolute;width:calc(50% - 20px);left:0}.mat-stepper-horizontal.rtl .mat-horizontal-stepper-header:last-child:after{border-top-width:1px;border-top-style:solid;content:\"\";display:inline-block;height:0;position:absolute;width:calc(50% - 20px);right:0}.form-wrapper{padding:30px 15px;border:1px solid #dde0e2}.form-wrapper .buttons-wrapper{display:flex;justify-content:space-between}.form-wrapper .buttons-wrapper .action-buttons-wrapper{display:flex}.form-wrapper .buttons-wrapper button{background-image:linear-gradient(to right,#0dbab5,#1a96c6);height:40px;color:#fff;border:none;width:125px;margin-top:20px;border-radius:5px}.form-wrapper .buttons-wrapper button:disabled{opacity:.4;cursor:not-allowed}.form-wrapper .buttons-wrapper button:hover{opacity:.7}.form-wrapper .upload-wrapper{display:flex;flex-direction:column;justify-content:flex-end}.form-wrapper .upload-wrapper label{color:#8f98aa;font-size:14px}.form-wrapper .upload-wrapper button{padding:10px;border:1px solid lightgray}.form-wrapper .upload-wrapper button span{margin:0 10px}.renameFileComponent .form-wrapper{padding:30px 15px;border:none!important}.renameFileComponent .form-wrapper .buttons-wrapper{display:flex;justify-content:space-between}.renameFileComponent .form-wrapper .buttons-wrapper .action-buttons-wrapper{display:flex}.renameFileComponent .form-wrapper .buttons-wrapper button{background-image:linear-gradient(to right,#0dbab5,#1a96c6);height:40px;color:#fff;border:none;width:125px;margin-top:20px;border-radius:5px}.renameFileComponent .form-wrapper .buttons-wrapper button:disabled{opacity:.4;cursor:not-allowed}.renameFileComponent .form-wrapper .buttons-wrapper button:hover{opacity:.7}.renameFileComponent .form-wrapper .upload-wrapper{display:flex;flex-direction:column;justify-content:flex-end}.renameFileComponent .form-wrapper .upload-wrapper label{color:#8f98aa;font-size:14px}.renameFileComponent .form-wrapper .upload-wrapper button{padding:10px;border:1px solid lightgray}.renameFileComponent .form-wrapper .upload-wrapper button span{margin:0 10px}.my-dynamic-viewer{display:flex;align-items:center;font-size:12px;min-height:30px}.my-dynamic-viewer .my-label{font-size:12px;font-weight:500;width:150px;word-break:break-word}@media (max-width: 992px){.my-dynamic-viewer .my-label{width:50%}}.my-dynamic-viewer .my-value{width:calc(100% - 150px);word-break:break-word}@media (max-width: 992px){.my-dynamic-viewer .my-value{width:50%}}.my-dynamic-viewer .direction-img{font-size:14px}.my-dynamic-viewer .direction-img .incoming{display:none}.my-dynamic-viewer .direction-img .outgoing{display:none}.my-dynamic-viewer .direction-img .internal{display:none}.my-dynamic-viewer.draft .my-value{color:#596973}.my-dynamic-viewer.inProgress .my-value{color:#3c3cf0}.my-dynamic-viewer.registered .my-value{color:#4f008c}.my-dynamic-viewer.archived .my-value{color:#fbb62c}.my-dynamic-viewer.closed .my-value{color:#00dca5}.my-dynamic-viewer.approved .my-value{color:#06a57e}.my-dynamic-viewer.assigned .my-value{color:#fd6670}.my-dynamic-viewer.sent .my-value{color:#3c3cf0}.my-dynamic-viewer.published .my-value{color:#00dca5}.my-dynamic-viewer.Outgoing .my-value{display:flex}.my-dynamic-viewer.Outgoing .my-value .direction-img .outgoing{color:#fbb62c;margin:1px 5px;display:flex}.my-dynamic-viewer.Outgoing .my-value .text{margin:0 5px}.my-dynamic-viewer.Internal .my-value{display:flex}.my-dynamic-viewer.Internal .my-value .direction-img .internal{color:#3c3cf0;margin:1px 5px;display:flex}.my-dynamic-viewer.Internal .my-value .text{margin:0 5px}.my-dynamic-viewer.Incoming .my-value{display:flex}.my-dynamic-viewer.Incoming .my-value .direction-img .incoming{color:#00dca5;display:flex}.my-dynamic-viewer.Incoming .my-value .text{margin:-3px 5px 0}.my-dynamic-viewer.vertical{display:block}.my-dynamic-viewer.vertical .my-label{width:auto}.my-dynamic-viewer.vertical .my-value{width:auto}.my-dynamic-viewer.with-out-label{width:100%!important}.correspondence-relation-container{padding:20px}.correspondence-relation-container .correspondence-relation-title{margin-bottom:8px;font-size:20px;color:#465573}.correspondence-relation-container .mat-dialog-content{height:100%;width:100%}.correspondence-relation-container .button-group{margin-top:12px;grid-column-gap:6px!important;column-gap:6px!important}.correspondence-relation-container .button-group cts-button{width:16%}@media (max-width: 992px){.correspondence-relation-container .button-group cts-button{width:20%}}@media only screen and (max-width: 768px){.correspondence-relation-container .button-group cts-button{width:28%}}.correspondence-relation-container .item{margin:1px;padding:8px 10px;font-size:.75rem}.correspondence-relation-container .dialog-actions button{background-image:linear-gradient(to right,#0dbab5,#1a96c6);height:40px;color:#fff;border:none;width:70px;border-radius:3px}.correspondence-relation-container .dialog-actions button:disabled{opacity:.4;cursor:not-allowed}.correspondence-relation-container .dialog-actions button:hover{opacity:.7}.correspondence-relation-container .autocomplete-container .suggestions-container ul{max-height:150px!important}.correspondence-relation-container .autocomplete-container .suggestions-container{height:150px!important;margin-top:10px;max-height:150px!important;border:1px lightgray solid!important;box-shadow:none!important}.correspondence-relation-container .search-container{position:relative}.correspondence-relation-container .chip-list{max-height:150px;border:1px lightgray solid;overflow:scroll;padding:10px;margin-bottom:10px;top:215px;position:absolute;width:100%}.correspondence-relation-container .chip-list .mat-standard-chip{border-radius:5px!important}.correspondence-relation-container .chip-list .mat-chip.mat-standard-chip{background-color:#8f98aa1a!important;height:auto}.correspondence-relation-container .autocomplete-container{box-shadow:none!important}.correspondence-relation-container .autocomplete-container .input-container input{background-color:#8f98aa1a!important;padding:10px!important}.correspondence-relation-container .exist-relation{background-color:#f8d7da!important;color:#842029!important;border-color:#f5c2c7!important;position:absolute;width:100%;top:300px}.correspondence-relation-container .autocomplete-container .suggestions-container .complete-selected,.correspondence-relation-container .autocomplete-container .suggestions-container ul li:hover{background-color:#8f98aa1a!important}.correspondence-relation-container .vocabulary-list{margin-bottom:10px}.correspondence-relation-container .vocabulary-list .mat-error{display:none!important}.correspondence-relation-container .mat-dialog-content{margin:3px 0 0!important;padding:0!important}[dir=rtl] .input-container input{direction:rtl}[dir=rtl] .x{left:10px;right:auto!important}\n"], components: [{ type: i5.DynamicFormVocabularyItemComponent, selector: "app-dynamic-form-vocabulary-item", inputs: ["bindValue", "bindLabel", "placeholder", "multiple", "searchable", "closeOnSelect", "hideSelectedItems", "disabled", "vocabularyType", "label", "cacheable", "shwoAllValues"], outputs: ["onSelecting"] }, { type: i6.AutocompleteComponent, selector: "ng-autocomplete", inputs: ["data", "searchKeyword", "placeholder", "heading", "initialValue", "historyIdentifier", "historyHeading", "historyListMaxNumber", "notFoundText", "isLoading", "debounceTime", "disabled", "minQueryLength", "focusFirst", "customFilter", "selectedValueRender", "itemTemplate", "notFoundTemplate"], outputs: ["selected", "inputChanged", "inputFocused", "inputCleared", "opened", "closed", "scrolledToEnd"] }, { type: i7.MatChipList, selector: "mat-chip-list", inputs: ["aria-orientation", "multiple", "compareWith", "value", "required", "placeholder", "disabled", "selectable", "tabIndex", "errorStateMatcher"], outputs: ["change", "valueChange"], exportAs: ["matChipList"] }, { type: i8.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i9.ButtonComponent, selector: "cts-button", inputs: ["disabled", "loading", "size", "theme", "spinnerTheming"], outputs: ["onClick"] }], directives: [{ type: i10.SetDirRtlDirective, selector: "[SetDirRtl]" }, { type: i4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i1.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i11.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7.MatChip, selector: "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", inputs: ["color", "disableRipple", "tabIndex", "selected", "value", "selectable", "disabled", "removable"], outputs: ["selectionChange", "destroyed", "removed"], exportAs: ["matChip"] }, { type: i7.MatChipRemove, selector: "[matChipRemove]" }, { type: i4.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["type", "mat-dialog-close", "aria-label", "matDialogClose"], exportAs: ["matDialogClose"] }], pipes: { "translate": i12.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
135
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CorrespondenceRelationCreateFormComponent, decorators: [{
136
+ type: Component,
137
+ args: [{
138
+ selector: "cts-correspondence-relation-create-form",
139
+ templateUrl: "./correspondence-relation-create-form.component.html",
140
+ styleUrls: ["./correspondence-relation-create-form.component.scss"],
141
+ encapsulation: ViewEncapsulation.None,
142
+ }]
143
+ }], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.CorrespondenceRelationService }, { type: i3.CustomToastrService }, { type: i4.MatDialogRef }, { type: undefined, decorators: [{
144
+ type: Inject,
145
+ args: [MAT_DIALOG_DATA]
146
+ }] }]; }, propDecorators: { auto: [{
147
+ type: ViewChild,
148
+ args: ["auto"]
149
+ }] } });
150
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29ycmVzcG9uZGVuY2UtcmVsYXRpb24tY3JlYXRlLWZvcm0uY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YWN0aW9ucyAqL1xyXG4gIG9uU2F2ZUNsaWNrKCkge1xyXG4gICAgdGhpcy5zYXZpbmcgPSB0cnVlO1xyXG4gICAgdGhpcy5jb3JyZXNzdmNcclxuICAgICAgLmNyZWF0ZV9OYW1lZF9SZWxhdGlvbihcclxuICAgICAgICB0aGlzLmRhdGEuY29ycl9pZCxcclxuICAgICAgICB0aGlzLmNyZWF0ZWZvcm0udmFsdWUucmVsYXRpb25uYW1lLFxyXG4gICAgICAgIHRoaXMucmVsYXRlZF9jb3JyLm1hcCgoY29ycmUpID0+IGNvcnJlLmlkKVxyXG4gICAgICApXHJcbiAgICAgIC5zdWJzY3JpYmUoXHJcbiAgICAgICAgKGRhdGEpID0+IHtcclxuICAgICAgICAgIGlmIChkYXRhKSB7XHJcbiAgICAgICAgICAgIHRoaXMuY29ycmVzc3ZjLmdldFVwZGF0ZWRSZWxhdGlvbi5uZXh0KCk7XHJcbiAgICAgICAgICAgIHRoaXMudG9hc3RyLnNob3coXCJzdWNjZXNzXCIsIFwic3VjY2Vzc1wiLCBcIlJFTEFUSU9OX0FEREVEXCIpO1xyXG4gICAgICAgICAgICB0aGlzLnNhdmluZyA9IGZhbHNlO1xyXG4gICAgICAgICAgICB0aGlzLmRpYWxvZ1JlZi5jbG9zZSh0cnVlKTtcclxuICAgICAgICAgIH1cclxuICAgICAgICB9LFxyXG4gICAgICAgIChlcnIpID0+IHtcclxuICAgICAgICAgIHRoaXMuc2F2aW5nID0gZmFsc2U7XHJcbiAgICAgICAgICB0aGlzLnRvYXN0ci5zaG93KFxyXG4gICAgICAgICAgICBcImVycm9yXCIsXHJcbiAgICAgICAgICAgIFwiZXJyb3JcIixcclxuICAgICAgICAgICAgZXJyLnJldC5tZXNzYWdlID8gYGVycm9ycy4ke2Vyci5yZXQuY29kZX1gIDogXCJnZW5lcmljRXJyb3JcIlxyXG4gICAgICAgICAgKTtcclxuICAgICAgICB9XHJcbiAgICAgICk7XHJcbiAgICAvLyB0aGlzLmRpYWx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IFt0aGVtZV09XCInZGFuZ2VyJ1wiXHJcbiAgICAgIHNpemU9XCIncmVndWxhcidcIlxyXG4gICAgICBbbG9hZGluZ109XCJzYXZpbmdcIlxyXG4gICAgICBjbGFzcz1cInZvYy1mb3JtLWNsb3NlXCJcclxuICAgICAgbWF0LWRpYWxvZy1jbG9zZVxyXG4gICAgPlxyXG4gICAgICB7eyBcIkJVVFRPTlMuQ0xPU0VcIiB8IHRyYW5zbGF0ZSB9fVxyXG4gICAgPC9jdHMtYnV0dG9uPlxyXG4gICAgPGN0cy1idXR0b25cclxuICAgICAgKG9uQ2xpY2spPVwib25TYXZlQ2xpY2soKVwiXHJcbiAgICAgIFt0aGVtZV09XCIncHJpbWFyeSdcIlxyXG4gICAgICBzaXplPVwiJ3JlZ3VsYXInXCJcclxuICAgICAgW2Rpc2FibGVkXT1cIlxyXG4gICAgICAgICF0aGlzLmNyZWF0ZWZvcm0uY29udHJvbHMucmVsYXRpb25uYW1lLnZhbGlkIHx8IHJlbGF0ZWRfY29yci5sZW5ndGggPT0gMFxyXG4gICAgICBcIlxyXG4gICAgPlxyXG4gICAgICB7eyBcImNvcnJlc3BvbmRlbmNlLXJlbGF0aW9uLnNhdmVcIiB8IHRyYW5zbGF0ZSB9fVxyXG4gICAgPC9jdHMtYnV0dG9uPlxyXG4gIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
@@ -0,0 +1,111 @@
1
+ import { Component, Input, ViewEncapsulation } from '@angular/core';
2
+ import { take } from 'rxjs/operators';
3
+ import { ConfirmCallerDialogComponent } from '../../../confirm-caller/confirm-caller.dialog';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "../../services/correspondence-realation.service";
6
+ import * as i2 from "@angular/material/dialog";
7
+ import * as i3 from "../../services/viewer-files.service";
8
+ import * as i4 from "../../../documents/services/documents.service";
9
+ import * as i5 from "../../../../core/adapters/adapter.service";
10
+ import * as i6 from "@angular/material/expansion";
11
+ import * as i7 from "@angular/material/list";
12
+ import * as i8 from "../../../../shared/components/item-list/item-list.component";
13
+ import * as i9 from "@angular/common";
14
+ import * as i10 from "@ngx-translate/core";
15
+ export class CorrespondenceRelationListComponent {
16
+ constructor(relationsvc, dialog, viewerFilesService, documentsApi, adapter) {
17
+ this.relationsvc = relationsvc;
18
+ this.dialog = dialog;
19
+ this.viewerFilesService = viewerFilesService;
20
+ this.documentsApi = documentsApi;
21
+ this.adapter = adapter;
22
+ this.reload = false;
23
+ this.relateddoc = [];
24
+ this.menu_actions = [
25
+ { title: 'correspondence-relation.view_corr', name: 'view' },
26
+ { title: 'correspondence-relation.delete', name: 'delete' }
27
+ ];
28
+ }
29
+ ngOnInit() {
30
+ this.loadData();
31
+ this.relationsvc.getUpdatedRelation.subscribe((res) => {
32
+ this.loadData();
33
+ });
34
+ }
35
+ loadData() {
36
+ this.relationsvc
37
+ .get_Correspondence_Relation_WithoutReply(this.correspondence_id)
38
+ .subscribe((result) => {
39
+ let resultarray = result.value;
40
+ let resultsgrouped = resultarray.reduce((r, a) => {
41
+ r[a.relationId] = [...(r[a.relationId] || []), a];
42
+ return r;
43
+ }, {});
44
+ this.relateddoc = [];
45
+ for (let group of Object.entries(resultsgrouped)) {
46
+ this.relateddoc.push(group);
47
+ }
48
+ });
49
+ }
50
+ onDeleteClick(relateddoc) {
51
+ let functionToPerform = () => {
52
+ return this.relationsvc.Delete_Named_Relation(this.correspondence_id, relateddoc.relationId, relateddoc.uid);
53
+ };
54
+ let title = '';
55
+ let msg = '';
56
+ this.openDialog(functionToPerform, 'Success', 'correspondence-relation.deleted_success').subscribe((data) => {
57
+ if (data) {
58
+ this.relationsvc.getUpdatedRelation.next();
59
+ }
60
+ });
61
+ }
62
+ openDialog(functionToPerform, title, msg) {
63
+ return this.dialog
64
+ .open(ConfirmCallerDialogComponent, {
65
+ width: '400px',
66
+ panelClass: 'relation-confirm-dialog',
67
+ data: {
68
+ call: functionToPerform,
69
+ title: 'genericConfirm',
70
+ toastrTitle: title,
71
+ toastrMsg: msg
72
+ }
73
+ })
74
+ .afterClosed()
75
+ .pipe(take(1));
76
+ }
77
+ view_Corres(relation) {
78
+ let url = window.location.href;
79
+ window.open(url.replace(this.correspondence_id, relation.uid), '_blank');
80
+ }
81
+ showCorrespondenceInViewer(relation) {
82
+ this.documentsApi.getDocument(relation.uid).subscribe((file) => {
83
+ let adaptedFile = this.adapter.adaptIn(Object.assign({}, file), this.relationsvc.incomingConstant['fields']);
84
+ this.viewerFilesService.updateViewer.next(adaptedFile);
85
+ });
86
+ }
87
+ handleMenuItemClicked(event) {
88
+ if (event.action === 'view') {
89
+ this.view_Corres(event.item);
90
+ }
91
+ else if (event.action === 'delete') {
92
+ this.onDeleteClick(event.item);
93
+ }
94
+ }
95
+ }
96
+ CorrespondenceRelationListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CorrespondenceRelationListComponent, deps: [{ token: i1.CorrespondenceRelationService }, { token: i2.MatDialog }, { token: i3.ViewerFilesService }, { token: i4.DocumentsService }, { token: i5.AdapterService }], target: i0.ɵɵFactoryTarget.Component });
97
+ CorrespondenceRelationListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: CorrespondenceRelationListComponent, selector: "cts-correspondence-relation-list", inputs: { correspondence_id: "correspondence_id", reload: "reload" }, ngImport: i0, template: "<div class=\"relations-list\" *ngIf=\"relateddoc.length > 0\">\r\n <ng-container>\r\n <div *ngFor=\"let group of relateddoc; first as isFirst\">\r\n <mat-accordion class=\"example-headers-align\" multi>\r\n <mat-expansion-panel [expanded]=\"isFirst\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n {{\r\n \"vocabulary.VOC_CorrespondenceRelationsNames.\" + group[0]\r\n | translate\r\n }}\r\n </mat-panel-title>\r\n </mat-expansion-panel-header>\r\n <ng-template matExpansionPanelContent>\r\n <mat-list>\r\n <div class=\"mat-list-items\" *ngFor=\"let item of group[1]\">\r\n <cts-item-list\r\n [item]=\"item\"\r\n [title]=\"item.title\"\r\n [iconname]=\"'link'\"\r\n [actions]=\"menu_actions\"\r\n (actionclicked)=\"handleMenuItemClicked($event)\"\r\n (itemClicked)=\"showCorrespondenceInViewer(item)\"\r\n [moreclasses]=\"'link-relation'\"\r\n ></cts-item-list>\r\n </div>\r\n </mat-list>\r\n </ng-template>\r\n </mat-expansion-panel>\r\n </mat-accordion>\r\n </div>\r\n </ng-container>\r\n</div>\r\n<div class=\"nocontent\" *ngIf=\"relateddoc.length === 0\">\r\n <p>{{ \"correspondence-relation.nocontent\" | 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: i6.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { type: i6.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight"] }, { type: i7.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { type: i8.ItemListComponent, selector: "cts-item-list", inputs: ["item", "iconname", "title", "actions", "isselected", "moreclasses"], outputs: ["itemClicked", "actionclicked"] }], directives: [{ type: i9.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i6.MatAccordion, selector: "mat-accordion", inputs: ["multi", "displayMode", "togglePosition", "hideToggle"], exportAs: ["matAccordion"] }, { type: i6.MatExpansionPanelTitle, selector: "mat-panel-title" }, { type: i6.MatExpansionPanelContent, selector: "ng-template[matExpansionPanelContent]" }], pipes: { "translate": i10.TranslatePipe }, encapsulation: i0.ViewEncapsulation.None });
98
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CorrespondenceRelationListComponent, decorators: [{
99
+ type: Component,
100
+ args: [{
101
+ selector: 'cts-correspondence-relation-list',
102
+ templateUrl: './correspondence-relation-list.component.html',
103
+ styleUrls: ['./correspondence-relation-list.component.scss'],
104
+ encapsulation: ViewEncapsulation.None
105
+ }]
106
+ }], ctorParameters: function () { return [{ type: i1.CorrespondenceRelationService }, { type: i2.MatDialog }, { type: i3.ViewerFilesService }, { type: i4.DocumentsService }, { type: i5.AdapterService }]; }, propDecorators: { correspondence_id: [{
107
+ type: Input
108
+ }], reload: [{
109
+ type: Input
110
+ }] } });
111
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29ycmVzcG9uZGVuY2UtcmVsYXRpb24tbGlzdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL2NvcnJlc3BvbmRlbmNlLXJlbGF0aW9uL2NvbXBvbmVudHMvY29ycmVzcG9uZGVuY2UtcmVsYXRpb24tbGlzdC9jb3JyZXNwb25kZW5jZS1yZWxhdGlvbi1saXN0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL251eGVvLWRldmVsb3BtZW50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