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,71 @@
1
+ import { Injectable } from '@angular/core';
2
+ import _ from 'lodash';
3
+ import { iif, of, throwError } from 'rxjs';
4
+ import { catchError, map, retry, tap } from 'rxjs/operators';
5
+ import { BaseService } from '../../../shared/services';
6
+ import * as i0 from "@angular/core";
7
+ export class StatisticService extends BaseService {
8
+ constructor() {
9
+ super(...arguments);
10
+ this._cache = new Map();
11
+ }
12
+ prepareConfig(data) {
13
+ this.translatePrefix = data === null || data === void 0 ? void 0 : data.translatePrefix;
14
+ this.bindValue = data === null || data === void 0 ? void 0 : data.bindValue;
15
+ }
16
+ getStatistic({ pageProvider, headers, params, ignoreCache }) {
17
+ const key = this._generateKey({ pageProvider, headers, params });
18
+ const _getDataFromRemote$ = this.query(pageProvider, params, headers).pipe(tap((data) => {
19
+ this._cache.set(key, data);
20
+ }));
21
+ return iif(() => this._cache.has(key) && !ignoreCache, of(this._cache.get(key)), _getDataFromRemote$);
22
+ }
23
+ prepareStatistic(config, params = {}) {
24
+ var _a;
25
+ const hasOnQueryMethod = (config === null || config === void 0 ? void 0 : config.onQuery) && _.isFunction(config.onQuery);
26
+ return this.getStatistic({
27
+ params: hasOnQueryMethod ? config === null || config === void 0 ? void 0 : config.onQuery(params) : params,
28
+ pageProvider: config.pageProvider,
29
+ headers: config === null || config === void 0 ? void 0 : config.headers,
30
+ ignoreCache: config === null || config === void 0 ? void 0 : config.ignoreCache,
31
+ }).pipe(retry((_a = config === null || config === void 0 ? void 0 : config.retryCount) !== null && _a !== void 0 ? _a : 2), catchError((error) => {
32
+ if (config === null || config === void 0 ? void 0 : config.onError) {
33
+ config === null || config === void 0 ? void 0 : config.onError(error);
34
+ }
35
+ return throwError(() => error);
36
+ }), map((res) => _.get(res, config.propertyPath)), map((rawData) => {
37
+ if (config === null || config === void 0 ? void 0 : config.transformData) {
38
+ return config === null || config === void 0 ? void 0 : config.transformData(rawData);
39
+ }
40
+ return rawData.map((item) => {
41
+ return {
42
+ key: this._getLabel(item, config),
43
+ docCount: this._getValue(item, config),
44
+ };
45
+ });
46
+ }));
47
+ }
48
+ _generateKey({ pageProvider = '', headers = {}, params = {}, }) {
49
+ const stringifySorted = (obj) => JSON.stringify(obj, Object.keys(obj).sort());
50
+ const rawKey = `${pageProvider}_${stringifySorted(headers)}_${stringifySorted(params)}`;
51
+ return btoa(encodeURIComponent(rawKey));
52
+ }
53
+ _getLabel(item, config) {
54
+ const translate = (key) => this.translateService.instant(`${this.translatePrefix}.${key}`);
55
+ const label = (config === null || config === void 0 ? void 0 : config.bindLabel) ? _.get(item, config.bindLabel) : null;
56
+ return label || translate(item.key);
57
+ }
58
+ _getValue(item, config) {
59
+ const bindValue = (config === null || config === void 0 ? void 0 : config.bindValue) || this.bindValue;
60
+ return bindValue ? _.get(item, bindValue) : item.docCount;
61
+ }
62
+ }
63
+ StatisticService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: StatisticService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
64
+ StatisticService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: StatisticService, providedIn: 'root' });
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: StatisticService, decorators: [{
66
+ type: Injectable,
67
+ args: [{
68
+ providedIn: 'root',
69
+ }]
70
+ }] });
71
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdGlzdGljLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL2NoYXJ0cy9zZXJ2aWNlcy9zdGF0aXN0aWMuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTNDLE9BQU8sQ0FBQyxNQUFNLFFBQVEsQ0FBQztBQUN2QixPQUFPLEVBQUUsR0FBRyxFQUFjLEVBQUUsRUFBRSxVQUFVLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDdkQsT0FBTyxFQUFFLFVBQVUsRUFBRSxHQUFHLEVBQUUsS0FBSyxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRTdELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQzs7QUFXdkQsTUFBTSxPQUFPLGdCQUFpQixTQUFRLFdBQVc7SUFIakQ7O1FBSVUsV0FBTSxHQUFHLElBQUksR0FBRyxFQUFnQyxDQUFDO0tBMEYxRDtJQXJGQyxhQUFhLENBQUMsSUFBb0Q7UUFDaEUsSUFBSSxDQUFDLGVBQWUsR0FBRyxJQUFJLGFBQUosSUFBSS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wYXJhbXM6IGhhc09uUXVlcnlNZXRob2QgPyBjb25maWc/Lm9uUXVlcnkocGFyYW1zKSA6IHBhcmFtcyxcclxuICAgICAgcGFnZVByb3ZpZGVyOiBjb25maWcucGFnZVByb3ZpZGVyLFxyXG4gICAgICBoZWFkZXJzOiBjb25maWc/LmhlYWRlcnMsXHJcbiAgICAgIGlnbm9yZUNhY2hlOiBjb25maWc/Lmlnbm9yZUNhY2hlLFxyXG4gICAgfSkucGlwZShcclxuICAgICAgcmV0cnkoY29uZmlnPy5yZXRyeUNvdW50ID8/IDIpLFxyXG4gICAgICBjYXRjaEVycm9yKChlcnJvcjogRXJyb3IpID0+IHtcclxuICAgICAgICBpZiAoY29uZmlnPy5vbkVycm9yKSB7XHJcbiAgICAgICAgICBjb25maWc/Lm9uRXJyb3IoZXJyb3IpO1xyXG4gICAgICAgIH1cclxuICAgICAgICByZXR1cm4gdGhyb3dFcnJvcigoKSA9PiBlcnJvcik7XHJcbiAgICAgIH0pLFxyXG4gICAgICBtYXAoKHJlcykgPT4gXy5nZXQocmVzLCBjb25maWcucHJvcGVydHlQYXRoKSBhcyBTdGF0aXN0aWNCdWNrZXRbXSksXHJcbiAgICAgIG1hcCgocmF3RGF0YSkgPT4ge1xyXG4gICAgICAgIGlmIChjb25maWc/LnRyYW5zZm9ybURhdGEpIHtcclxuICAgICAgICAgIHJldHVybiBjb25maWc/LnRyYW5zZm9ybURhdGEocmF3RGF0YSk7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIHJldHVybiByYXdEYXRhLm1hcCgoaXRlbSkgPT4ge1xyXG4gICAgICAgICAgcmV0dXJuIHtcclxuICAgICAgICAgICAga2V5OiB0aGlzLl9nZXRMYWJlbChpdGVtLCBjb25maWcpLFxyXG4gICAgICAgICAgICBkb2NDb3VudDogdGhpcy5fZ2V0VmFsdWUoaXRlbSwgY29uZmlnKSxcclxuICAgICAgICAgIH07XHJcbiAgICAgICAgfSk7XHJcbiAgICAgIH0pXHJcbiAgICApO1x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c6IFN0YXRpc3RpY1JlcXVlc3RDb25maWcpOiBhbnkge1xyXG4gICAgY29uc3QgYmluZFZhbHVlID0gY29uZmlnPy5iaW5kVmFsdWUgfHwgdGhpcy5iaW5kVmFsdWU7XHJcbiAgICByZXR1cm4gYmluZFZhbHVlID8gXy5nZXQoaXRlbSwgYmluZFZhbHVlKSA6IGl0ZW0uZG9jQ291bnQ7XHJcbiAgfVxyXG59XHJcbiJdfQ==
@@ -0,0 +1,79 @@
1
+ import colorLib from '@kurkle/color';
2
+ export function transparentize(value, opacity) {
3
+ var alpha = opacity === undefined ? 0.5 : 1 - opacity;
4
+ return colorLib(value).alpha(alpha).rgbString();
5
+ }
6
+ export function colorToHex(color) {
7
+ // Helper function to convert a single component to hex
8
+ function componentToHex(c) {
9
+ const hex = c.toString(16);
10
+ return hex.length === 1 ? '0' + hex : hex;
11
+ }
12
+ // Helper function to validate and parse a color component
13
+ function parseComponent(value, maxValue) {
14
+ value = parseFloat(value);
15
+ return isNaN(value) ? 0 : Math.min(maxValue, Math.max(0, value));
16
+ }
17
+ if (typeof color === 'string') {
18
+ // If the input is a string, attempt to parse it as a CSS color
19
+ const tempDiv = document.createElement('div');
20
+ tempDiv.style.color = color;
21
+ document.body.appendChild(tempDiv);
22
+ const computedColor = window.getComputedStyle(tempDiv).color;
23
+ document.body.removeChild(tempDiv);
24
+ color = computedColor;
25
+ }
26
+ if (color.startsWith('#')) {
27
+ // Hexadecimal color
28
+ return color.toUpperCase();
29
+ }
30
+ else if (color.startsWith('rgb') || color.startsWith('hsl')) {
31
+ // RGB, RGBA, HSL, HSLA color
32
+ const rgba = color.match(/(0?\.?\d{1,3})%?\b/g).map((component, index) => {
33
+ return index < 3
34
+ ? Math.round(parseComponent(component, 255))
35
+ : parseFloat(component);
36
+ });
37
+ return `#${componentToHex(rgba[0])}${componentToHex(rgba[1])}${componentToHex(rgba[2])}`;
38
+ }
39
+ // Unsupported color format, return input
40
+ return color;
41
+ }
42
+ // Function to convert hex to RGB
43
+ export function hexToRgb(hex) {
44
+ let r = parseInt(hex.slice(1, 3), 16);
45
+ let g = parseInt(hex.slice(3, 5), 16);
46
+ let b = parseInt(hex.slice(5, 7), 16);
47
+ return { r, g, b };
48
+ }
49
+ // Function to convert RGB to hex
50
+ export function rgbToHex(r, g, b) {
51
+ return `#${((1 << 24) + (r << 16) + (g << 8) + b)
52
+ .toString(16)
53
+ .slice(1)
54
+ .toUpperCase()}`;
55
+ }
56
+ // Function to create a tint (lighten the color)
57
+ export function createTint(color, amount) {
58
+ const { r, g, b } = hexToRgb(color);
59
+ return rgbToHex(Math.min(255, r + amount), Math.min(255, g + amount), Math.min(255, b + amount));
60
+ }
61
+ // Function to create a shade (darken the color)
62
+ export function createShade(color, amount) {
63
+ const { r, g, b } = hexToRgb(color);
64
+ return rgbToHex(Math.max(0, r - amount), Math.max(0, g - amount), Math.max(0, b - amount));
65
+ }
66
+ // Function to create multiple tints or shades
67
+ export function createColorVariants(color, length, type = 'tint', amount = 43) {
68
+ let variants = [];
69
+ for (let i = 1; i <= length; i++) {
70
+ if (type === 'tint') {
71
+ variants.push(createTint(color, i * amount)); // Adjust the step size (here it's 40)
72
+ }
73
+ else {
74
+ variants.push(createShade(color, i * amount)); // Adjust the step size (here it's 20)
75
+ }
76
+ }
77
+ return variants;
78
+ }
79
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3JzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9jaGFydHMvdXRpbGl0eS9jb2xvcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxRQUFRLE1BQU0sZUFBZSxDQUFDO0FBRXJDLE1BQU0sVUFBVSxjQUFjLENBQUMsS0FBYSxFQUFFL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3JWYXJpYW50cyhcclxuXHRjb2xvcjogc3RyaW5nLFxyXG5cdGxlbmd0aDogbnVtYmVyLFxyXG5cdHR5cGU6ICd0aW50JyB8ICdzaGFkZScgPSAndGludCcsXHJcblx0YW1vdW50ID0gNDNcclxuKTogc3RyaW5nW10ge1xyXG5cdGxldCB2YXJpYW50czogc3RyaW5nW10gPSBbXTtcclxuXHRmb3IgKGxldCBpID0gMTsgaSA8PSBsZW5ndGg7IGkrKykge1xyXG5cdFx0aWYgKHR5cGUgPT09ICd0aW50Jykge1xyXG5cdFx0XHR2YXJpYW50cy5wdXNoKGNyZWF0ZVRpbnQoY29sb3IsIGkgKiBhbW91bnQpKTsgLy8gQWRqdXN0IHRoZSBzdGVwIHNpemUgKGhlcmUgaXQncyA0MClcclxuXHRcdH0gZWxzZSB7XHJcblx0XHRcdHZhcmlhbnRzLnB1c2goY3JlYXRlU2hhZGUoY29sb3IsIGkgKiBhbW91bnQpKTsgLy8gQWRqdXN0IHRoZSBzdGVwIHNpemUgKGhlcmUgaXQncyAyMClcclxuXHRcdH1cclxuXHR9XHJcblx0cmV0dXJuIHZhcmlhbnRzO1xyXG59XHJcbiJdfQ==
@@ -0,0 +1,7 @@
1
+ export function flatArray(data) {
2
+ return data.reduce((acc, curr) => acc.concat(curr), []);
3
+ }
4
+ export function isObject(obj) {
5
+ return obj && typeof obj === 'object';
6
+ }
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9jaGFydHMvdXRpbGl0eS9jb21tb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0EsTUFBTSxVQUFVLFNBQVMsQ0FBc0IsSUFBVztJQUN6RCxPQUFPLElBQUksQ0FBQyxNQUFNLENBQUMsQ0FBQyxHQUFHLEVBQUUsSUFBSSxFQUFFLEVBQUUsQ0FBQyxHQUFHLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxFQUFFLEVBQUUsQ0FBQyxDQUFDO0FBQ3pELENBQUM7QUFFRCxNQUFNLFVBQVUsUUFBUSxDQUN2QixHQUFRO0lBRVIsT0FBTyxHQUFHLElBQUksT0FBTyxHQUFHLEtBQUssUUFBUSxDQUFDO0FBQ3ZDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDaGFydERhdGFzZXQsIENoYXJ0VHlwZSB9IGZyb20gJ2NoYXJ0LmpzJztcclxuaW1wb3J0IHsgU3RhdGlzdGljQnVja2V0IH0gZnJvbSAnLi4vbW9kZWxzJztcclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBmbGF0QXJyYXk8VCA9IFN0YXRpc3RpY0J1Y2tldD4oZGF0YTogVFtdW10pOiBUW10ge1xyXG5cdHJldHVybiBkYXRhLnJlZHVjZSgoYWNjLCBjdXJyKSA9PiBhY2MuY29uY2F0KGN1cnIpLCBbXSk7XHJcbn1cclxuXHJcbmV4cG9ydCBmdW5jdGlvbiBpc09iamVjdDxUIGV4dGVuZHMgQ2hhcnRUeXBlPihcclxuXHRvYmo6IGFueVxyXG4pOiBvYmogaXMgUGFydGlhbDxDaGFydERhdGFzZXQ8VD4+IHtcclxuXHRyZXR1cm4gb2JqICYmIHR5cGVvZiBvYmogPT09ICdvYmplY3QnO1xyXG59XHJcbiJdfQ==
@@ -0,0 +1,3 @@
1
+ export * from './colors';
2
+ export * from './common';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL2NoYXJ0cy91dGlsaXR5L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsVUFBVSxDQUFDO0FBQ3pCLGNBQWMsVUFBVSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb2xvcnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2NvbW1vbic7XHJcbiJdfQ==
@@ -0,0 +1,86 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { NgModule } from '@angular/core';
3
+ import { FormsModule } from '@angular/forms';
4
+ import { MatIconModule } from '@angular/material/icon';
5
+ import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
6
+ import { MatTooltipModule } from '@angular/material/tooltip';
7
+ import { TranslateModule } from '@ngx-translate/core';
8
+ import { InfiniteScrollModule } from 'ngx-infinite-scroll';
9
+ import { DirectiveModule } from '../../directive/directive.module';
10
+ import { PipesModule } from '../../pipes/pipes.module';
11
+ import { LibrarySharedModule } from '../../shared/libraryShared.module';
12
+ import { CardModule } from '../card/card.module';
13
+ import { CommentItemComponent } from './components/comment-item/comment-item.component';
14
+ import { CommentsDashletComponent } from './components/comments-dashlet/comments-dashlet.component';
15
+ import { CommentsListComponent } from './components/comments-list/comments-list.component';
16
+ import { EditDeleteModalComponent } from './components/edit-delete-modal/edit-delete-modal.component';
17
+ import { NuxeoDialogModule } from '../../shared/components/nuxeo-dialog/nuxeo-dialog.module';
18
+ import * as i0 from "@angular/core";
19
+ /**
20
+ * @title
21
+ * Comments Module
22
+ *
23
+ */
24
+ export class CommentsModule {
25
+ }
26
+ CommentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CommentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
27
+ CommentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CommentsModule, declarations: [CommentsDashletComponent,
28
+ CommentsListComponent,
29
+ CommentItemComponent,
30
+ EditDeleteModalComponent], imports: [CommonModule,
31
+ LibrarySharedModule,
32
+ InfiniteScrollModule,
33
+ FormsModule,
34
+ CardModule,
35
+ PipesModule,
36
+ TranslateModule,
37
+ MatIconModule,
38
+ MatProgressSpinnerModule,
39
+ MatTooltipModule,
40
+ DirectiveModule,
41
+ MatTooltipModule,
42
+ NuxeoDialogModule], exports: [CommentsDashletComponent] });
43
+ CommentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CommentsModule, providers: [], imports: [[
44
+ CommonModule,
45
+ LibrarySharedModule,
46
+ InfiniteScrollModule,
47
+ FormsModule,
48
+ CardModule,
49
+ PipesModule,
50
+ TranslateModule,
51
+ MatIconModule,
52
+ MatProgressSpinnerModule,
53
+ MatTooltipModule,
54
+ DirectiveModule,
55
+ MatTooltipModule,
56
+ NuxeoDialogModule
57
+ ]] });
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CommentsModule, decorators: [{
59
+ type: NgModule,
60
+ args: [{
61
+ declarations: [
62
+ CommentsDashletComponent,
63
+ CommentsListComponent,
64
+ CommentItemComponent,
65
+ EditDeleteModalComponent
66
+ ],
67
+ imports: [
68
+ CommonModule,
69
+ LibrarySharedModule,
70
+ InfiniteScrollModule,
71
+ FormsModule,
72
+ CardModule,
73
+ PipesModule,
74
+ TranslateModule,
75
+ MatIconModule,
76
+ MatProgressSpinnerModule,
77
+ MatTooltipModule,
78
+ DirectiveModule,
79
+ MatTooltipModule,
80
+ NuxeoDialogModule
81
+ ],
82
+ exports: [CommentsDashletComponent],
83
+ providers: []
84
+ }]
85
+ }] });
86
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudHMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiO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Nb2RhbENvbXBvbmVudFxyXG5cdF0sXHJcblx0aW1wb3J0czogW1xyXG5cdFx0Q29tbW9uTW9kdWxlLFxyXG5cdFx0TGlicmFyeVNoYXJlZE1vZHVsZSxcclxuXHRcdEluZmluaXRlU2Nyb2xsTW9kdWxlLFxyXG5cdFx0Rm9ybXNNb2R1bGUsXHJcblx0XHRDYXJkTW9kdWxlLFxyXG5cdFx0UGlwZXNNb2R1bGUsXHJcblx0XHRUcmFuc2xhdGVNb2R1bGUsXHJcblx0XHRNYXRJY29uTW9kdWxlLFxyXG5cdFx0TWF0UHJvZ3Jlc3NTcGlubmVyTW9kdWxlLFxyXG5cdFx0TWF0VG9vbHRpcE1vZHVsZSxcclxuXHRcdERpcmVjdGl2ZU1vZHVsZSxcclxuXHRcdE1hdFRvb2x0aXBNb2R1bGUsXHJcblx0XHROdXhlb0RpYWxvZ01vZHVsZVxyXG5cdF0sXHJcblx0ZXhwb3J0czogW0NvbW1lbnRzRGFzaGxldENvbXBvbmVudF0sXHJcblx0cHJvdmlkZXJzOiBbXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgQ29tbWVudHNNb2R1bGUge31cclxuIl19
@@ -0,0 +1,94 @@
1
+ import { Component, Input, Output, EventEmitter } from '@angular/core';
2
+ import { EditDeleteModalComponent } from '../edit-delete-modal/edit-delete-modal.component';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "../../../../core/services/translation/translation.service";
5
+ import * as i2 from "@angular/material/dialog";
6
+ import * as i3 from "../../../../shared/components/nuxeo-dialog/services/nuxeo-dialog.service";
7
+ import * as i4 from "../../../../shared/components/user-card/user-card.component";
8
+ import * as i5 from "../../../../shared/components/read-more/read-more.component";
9
+ import * as i6 from "../../../../directive/rtl/set-rtl.directive";
10
+ import * as i7 from "@angular/common";
11
+ import * as i8 from "../../../../directive/permissions/permissions.directive";
12
+ import * as i9 from "@angular/material/tooltip";
13
+ import * as i10 from "@ngx-translate/core";
14
+ import * as i11 from "../../../../pipes/localized-date.pipe";
15
+ import * as i12 from "../../../../pipes/time-ago.pipe";
16
+ /**
17
+ * @ignore
18
+ */
19
+ export class CommentItemComponent {
20
+ constructor(translationSrvice, dialog, nuxeoDialogService) {
21
+ this.translationSrvice = translationSrvice;
22
+ this.dialog = dialog;
23
+ this.nuxeoDialogService = nuxeoDialogService;
24
+ this.loaderType = 'scroll';
25
+ this.showCommentActions = true;
26
+ this.lang = 'en';
27
+ this.refreshCommentList = new EventEmitter();
28
+ }
29
+ ngOnInit() {
30
+ console.log('comment comment', this.comment);
31
+ let date = new Date(this.comment.creationDate);
32
+ date.setSeconds(date.getSeconds() - 5);
33
+ this.comment.creationDate = date.toISOString();
34
+ this.comment.Commenter.fullName =
35
+ this.comment.Commenter.properties.firstName +
36
+ ' ' +
37
+ this.comment.Commenter.properties.lastName;
38
+ this.langSubscription = this.translationSrvice.isArabic.subscribe((res) => {
39
+ this.lang = res ? 'ar' : 'en';
40
+ });
41
+ }
42
+ executeFunction(type) {
43
+ if (type === 'edit') {
44
+ this.dialogRef = this.nuxeoDialogService.open({
45
+ component: EditDeleteModalComponent,
46
+ width: '500px',
47
+ height: '220px',
48
+ panelClass: 'watcher-dialog-container',
49
+ data: {
50
+ type: 'edit',
51
+ comment: Object.assign({}, this.comment)
52
+ }
53
+ //disableClose: true,
54
+ });
55
+ }
56
+ else if (type === 'delete') {
57
+ this.dialogRef = this.nuxeoDialogService.open({
58
+ component: EditDeleteModalComponent,
59
+ width: '500px',
60
+ height: '150px',
61
+ panelClass: 'watcher-dialog-container',
62
+ data: {
63
+ type: 'delete',
64
+ comment: Object.assign({}, this.comment)
65
+ }
66
+ //disableClose: true,
67
+ });
68
+ }
69
+ this.dialogRef.afterClosed().subscribe((res) => {
70
+ if (res) {
71
+ this.refreshCommentList.emit();
72
+ }
73
+ });
74
+ }
75
+ }
76
+ CommentItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CommentItemComponent, deps: [{ token: i1.TranslationService }, { token: i2.MatDialog }, { token: i3.NuxeoDialogService }], target: i0.ɵɵFactoryTarget.Component });
77
+ CommentItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: CommentItemComponent, selector: "app-comment-item", inputs: { comment: "comment", loaderType: "loaderType", showCommentActions: "showCommentActions" }, outputs: { refreshCommentList: "refreshCommentList" }, ngImport: i0, template: "<div class=\"comment-item\" SetRtl>\r\n\r\n <div class=\"comment-controls\" *ngIf=\"showCommentActions\">\r\n <span class=\"bi bi-pencil contril-icon\" \r\n *permission=\"{name: 'updateComment', entity: comment}\"\r\n matTooltip=\"{{ 'BUTTONS.EDIT' | translate }}\"\r\n (click)=\"executeFunction('edit')\"\r\n ></span>\r\n\r\n <span class=\"bi bi-trash contril-icon\" \r\n *permission=\"{name: 'deleteComment', entity: comment}\"\r\n matTooltip=\"{{ 'BUTTONS.Delete' | translate }}\"\r\n (click)=\"executeFunction('delete')\"\r\n ></span>\r\n </div>\r\n\r\n <app-user-card [user]=\"comment.Commenter\" [diameter]=\"12\">\r\n <div class=\"lineOne\">\r\n {{lang === 'en' ? (comment.Commenter.fullName) : (comment.Commenter.fullNameAr ? comment.Commenter.fullNameAr : comment.Commenter.fullName)}}\r\n </div>\r\n <div class=\"lineOnePart2\">\r\n <span class=\"date\" matTooltip='{{ comment?.creationDate | localizedDate:\r\n \"fullDate\"}}' matTooltipClass=\"tdf-tooltip\" TooltipPosition='below'>\r\n <span class=\"date-sperator px-1\">|</span>{{ comment?.creationDate | timeAgo : lang }}</span>\r\n </div>\r\n <div class=\"lineTwo\">\r\n <app-read-more class=\"comment-text\" [text]=\"comment?.text\" [wordCount]=\"loaderType === 'scroll' ? 20 : 60\">\r\n </app-read-more>\r\n </div>\r\n </app-user-card>\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}.comment-item{border:1px solid #d9dce2;padding:8px 4px;display:flex;position:relative}.comment-item:hover{background:#f5f6f8}.comment-item .comment-controls{position:absolute;right:5px}.comment-item .comment-controls .contril-icon{padding:0 5px;cursor:pointer}.date{color:#3c3cf0}.comment-text{color:#8f98aa}.comment-avatar{align-items:top;padding:0 4px;display:flex}.comment-avatar .avatar{width:40px;height:40px;display:block}.rtl .comment-controls{left:5px;right:auto}\n"], components: [{ type: i4.UserCardComponent, selector: "app-user-card", inputs: ["user", "diameter"] }, { type: i5.ReadMoreComponent, selector: "app-read-more", inputs: ["text", "charCount", "wordCount", "lineBreaks"] }], directives: [{ type: i6.SetRtlDirective, selector: "[SetRtl]" }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.PermissionsDirective, selector: "[permission]", inputs: ["permission"] }, { type: i9.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltipPosition", "matTooltipDisabled", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], pipes: { "translate": i10.TranslatePipe, "localizedDate": i11.LocalizedDatePipe, "timeAgo": i12.TimeAgoPipe } });
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CommentItemComponent, decorators: [{
79
+ type: Component,
80
+ args: [{
81
+ selector: 'app-comment-item',
82
+ templateUrl: './comment-item.component.html',
83
+ styleUrls: ['./comment-item.component.scss']
84
+ }]
85
+ }], ctorParameters: function () { return [{ type: i1.TranslationService }, { type: i2.MatDialog }, { type: i3.NuxeoDialogService }]; }, propDecorators: { comment: [{
86
+ type: Input
87
+ }], loaderType: [{
88
+ type: Input
89
+ }], showCommentActions: [{
90
+ type: Input
91
+ }], refreshCommentList: [{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IGNsYXNzPVwibGluZVR3b1wiPlxyXG4gICAgICA8YXBwLXJlYWQtbW9yZSBjbGFzcz1cImNvbW1lbnQtdGV4dFwiIFt0ZXh0XT1cImNvbW1lbnQ/LnRleHRcIiBbd29yZENvdW50XT1cImxvYWRlclR5cGUgPT09ICdzY3JvbGwnID8gMjAgOiA2MFwiPlxyXG4gICAgICA8L2FwcC1yZWFkLW1vcmU+XHJcbiAgICA8L2Rpdj5cclxuICA8L2FwcC11c2VyLWNhcmQ+XHJcbjwvZGl2PlxyXG4iXX0=
@@ -0,0 +1,81 @@
1
+ import { Component, Input, ViewChild } from '@angular/core';
2
+ import { CommentsListComponent } from '../comments-list/comments-list.component';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@ngx-translate/core";
5
+ import * as i2 from "../../services/comment-api.service";
6
+ import * as i3 from "../../../../core/services/nuxeo/nuxeo.service";
7
+ import * as i4 from "../../../../shared/components/button/button.component";
8
+ import * as i5 from "../comments-list/comments-list.component";
9
+ import * as i6 from "@angular/common";
10
+ import * as i7 from "../../../../directive/permissions/permissions.directive";
11
+ import * as i8 from "@angular/forms";
12
+ /**
13
+ * A component to display and add comments on a nuxeo document
14
+ *
15
+ * ![Screenshot-1](../screenshots/comments.png)
16
+ * @title
17
+ * Comments dashlet
18
+ * @example
19
+ *
20
+ * <app-comments-dashlet
21
+ * [row]="false"
22
+ * [entityId]="file.uid"
23
+ * [showaddcomment]="true"
24
+ * ></app-comments-dashlet>
25
+ */
26
+ export class CommentsDashletComponent {
27
+ constructor(translateService, commentApiService, nuxeoService) {
28
+ this.translateService = translateService;
29
+ this.commentApiService = commentApiService;
30
+ this.nuxeoService = nuxeoService;
31
+ this.row = true;
32
+ /** disable/enable add comment section */
33
+ this.showaddcomment = true;
34
+ this.showCommentActions = true;
35
+ this.comments = [];
36
+ this.throttle = 0;
37
+ this.distance = 2;
38
+ this.saving = false;
39
+ }
40
+ ngOnInit() {
41
+ }
42
+ onPost() {
43
+ this.saving = true;
44
+ let data = {
45
+ author: this.nuxeoService.nuxeoClient.user.id,
46
+ text: this.comment,
47
+ };
48
+ this.commentApiService.createComment(data, this.entityId).subscribe((res) => {
49
+ this.comment = '';
50
+ this.saving = false;
51
+ this.commentsList.p = 0;
52
+ this.commentsList.getComments(0, true);
53
+ }, (error) => {
54
+ this.saving = false;
55
+ });
56
+ }
57
+ }
58
+ CommentsDashletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CommentsDashletComponent, deps: [{ token: i1.TranslateService }, { token: i2.CommentApiService }, { token: i3.NuxeoService }], target: i0.ɵɵFactoryTarget.Component });
59
+ CommentsDashletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: CommentsDashletComponent, selector: "app-comments-dashlet", inputs: { entityId: "entityId", correspondence: "correspondence", row: "row", showaddcomment: "showaddcomment", showCommentActions: "showCommentActions" }, viewQueries: [{ propertyName: "commentsList", first: true, predicate: CommentsListComponent, descendants: true }], ngImport: i0, template: "<div class=\"comments-container\">\r\n <div class=\"comments-title\">\r\n {{ \"comment.comment\" | translate }} ({{ commentsList?.totalRecords }})\r\n </div>\r\n <div class=\"body\">\r\n <div class=\"comments-list-container\">\r\n <div class=\"adding-comment-section\" *ngIf=\"showaddcomment\">\r\n <div class=\"comment-box\" *permission=\"{\r\n name: 'comments',\r\n entity: correspondence , user: nuxeoService.nuxeoClient.user\r\n }\">\r\n <div class=\"comment-input\">\r\n <textarea\r\n class=\"comment-area\"\r\n name=\"description\"\r\n id=\"description\"\r\n type=\"text\"\r\n rows=\"3\"\r\n required\r\n matTextareaAutosize\r\n matAutosizeMinRows=\"5\"\r\n matAutosizeMaxRows=\"10\"\r\n [(ngModel)]=\"comment\"\r\n [placeholder]=\"'comment.placeHolder' | translate\"\r\n #commentText=\"ngModel\"\r\n ></textarea>\r\n </div>\r\n <div class=\"add-container\">\r\n <div class=\"button-wrapper\">\r\n <cts-button\r\n [disabled]=\"!((comment?.trim())?.length)\"\r\n [loading]=\"saving\"\r\n [theme]=\"'green'\"\r\n [size]=\"'regular'\"\r\n (click)=\"onPost()\"\r\n >\r\n {{ \"comment.add\" | translate }}\r\n </cts-button>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"comment-list\"\r\n [ngClass]=\"{ 'fix-height col-6': row, 'col-12': !row }\"\r\n >\r\n <app-comments-list\r\n [loaderType]=\"row ? 'scroll' : 'button'\"\r\n [pageSize]=\"row ? 4 : 9\"\r\n [entityId]=\"entityId\"\r\n [showCommentActions]=\"showCommentActions\"\r\n >\r\n </app-comments-list>\r\n </div>\r\n </div>\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}.comments-container{padding:16px}.comments-container .comments-title{font-size:16px;font-weight:500;padding:12px;border-bottom:1px solid #d9dce2}.comments-container .comments-list-container .comment-box{display:flex;flex-direction:column}.comments-container .comments-list-container .comment-box .comment-input{padding:8px 15px 0}.comments-container .comments-list-container .comment-box .comment-area{border-radius:5px;padding:8px;width:100%;color:#465573;outline:none;border:1px solid #d9dce2;background-color:#8f98aa1a;resize:none}.comments-container .comments-list-container .comment-box .add-container{margin-inline-start:15px;display:flex;justify-content:flex-start;border-bottom:1px solid #d9dce2;padding-bottom:15px;padding-inline-end:15px}.comments-container .comments-list-container .comment-box .extra-actions-container{display:flex;justify-content:space-between!important;flex-wrap:wrap}.comments-container .comments-list-container .comment-box .extra-actions-container .button-wrapper{margin-bottom:10px}.comments-container .comments-list-container .comment-box .extra-actions-container .extra-actions{display:flex}.comments-container .comments-list-container .comment-box .extra-actions-container .submission-button{width:auto!important;padding:0 10px;min-width:80px}.comments-container .comments-list-container .comment-box .button-wrapper{align-items:flex-end;width:18%}.comments-container .comments-list-container .comment-list{margin-top:8px}.comments-container .comments-list-container .comment-list .fix-height{height:200px}.comments-container .revers-sections{display:flex;flex-direction:column-reverse}\n"], components: [{ type: i4.ButtonComponent, selector: "cts-button", inputs: ["disabled", "loading", "size", "theme", "spinnerTheming"], outputs: ["onClick"] }, { type: i5.CommentsListComponent, selector: "app-comments-list", inputs: ["entityId", "pageSize", "loaderType", "showCommentActions"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.PermissionsDirective, selector: "[permission]", inputs: ["permission"] }, { type: i8.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i8.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "translate": i1.TranslatePipe } });
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CommentsDashletComponent, decorators: [{
61
+ type: Component,
62
+ args: [{
63
+ selector: 'app-comments-dashlet',
64
+ templateUrl: './comments-dashlet.component.html',
65
+ styleUrls: ['./comments-dashlet.component.scss'],
66
+ }]
67
+ }], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: i2.CommentApiService }, { type: i3.NuxeoService }]; }, propDecorators: { entityId: [{
68
+ type: Input
69
+ }], correspondence: [{
70
+ type: Input
71
+ }], row: [{
72
+ type: Input
73
+ }], showaddcomment: [{
74
+ type: Input
75
+ }], showCommentActions: [{
76
+ type: Input
77
+ }], commentsList: [{
78
+ type: ViewChild,
79
+ args: [CommentsListComponent, { static: false }]
80
+ }] } });
81
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudHMtZGFzaGxldC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL2NvbW1lbnRzL2NvbXBvbmVudHMvY29tbWVudHMtZGFzaGxldC9jb21tZW50cy1kYXNobGV0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL251eGVvLWRldmVsb3BtZW50LWZyYW1ld29yay9zcmMvbGliL2NvbXBvbmVudHMvY29tbWVudHMvY29tcG9uZW50cy9jb21tZW50cy1kYXNobGV0L2NvbW1lbnRzLWRhc2hsZXQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQVUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBSXBFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDBDQUEwQyxDQUFDOzs7Ozs7Ozs7O0FBRWpGOzs7Ozs7Ozs7Ozs7O0dBYUc7QUFNSCxNQUFNLE9BQU8sd0JBQXdCO0lBd0JuQyxZQUNVLGdCQUFrQyxFQUNsQyxpQkFBb0MsRUFDckMsWUFBMEI7UUFGekIscUJBQWdCLEdBQWhCLGdCQUFnQixDQUFrQjtRQUNsQyxzQkFBaUIsR0FBakIsaUJBQWlCLENBQW1CO1FBQ3JDLGlCQUFZLEdBQVosWUFBWS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wiXHJcbiAgICAgICAgICAgICAgcm93cz1cIjNcIlxyXG4gICAgICAgICAgICAgIHJlcXVpcmVkXHJcbiAgICAgICAgICAgICAgbWF0VGV4dGFyZWFBdXRvc2l6ZVxyXG4gICAgICAgICAgICAgIG1hdEF1dG9zaXplTWluUm93cz1cIjVcIlxyXG4gICAgICAgICAgICAgIG1hdEF1dG9zaXplTWF4Um93cz1cIjEwXCJcclxuICAgICAgICAgICAgICBbKG5nTW9kZWwpXT1cImNvbW1lbnRcIlxyXG4gICAgICAgICAgICAgIFtwbGFjZWhvbGRlcl09XCInY29tbWVudC5wbGFjZUhvbGRlcicgfCB0cmFuc2xhdGVcIlxyXG4gICAgICAgICAgICAgICNjb21tZW50VGV4dD1cIm5nTW9kZWxcIlxyXG4gICAgICAgICAgICA+PC90ZXh0YXJlYT5cclxuICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgPGRpdiBjbGFzcz1cImFkZC1jb250YWluZXJcIj5cclxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImJ1dHRvbi13cmFwcGVyXCI+XHJcbiAgICAgICAgICAgICAgPGN0cy1idXR0b25cclxuICAgICAgICAgICAgICAgIFtkaXNhYmxlZF09XCIhKChjb21tZW50Py50cmltKCkpPy5sZW5ndGgpXCJcclxuICAgICAgICAgICAgICAgIFtsb2FkaW5nXT1cInNhdmluZ1wiXHJcbiAgICAgICAgICAgICAgICBbdGhlbWVdPVwiJ2dyZWVuJ1wiXHJcbiAgICAgICAgICAgICAgICBbc2l6ZV09XCIncmVndWxhcidcIlxyXG4gICAgICAgICAgICAgICAgKGNsaWNrKT1cIm9uUG9zdCgpXCJcclxuICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICB7eyBcImNvbW1lbnQuYWRkXCIgfCB0cmFuc2xhdGUgfX1cclxuICAgICAgICAgICAgICA8L2N0cy1idXR0b24+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG5cclxuICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgICA8L2Rpdj5cclxuICAgICAgPGRpdlxyXG4gICAgICAgIGNsYXNzPVwiY29tbWVudC1saXN0XCJcclxuICAgICAgICBbbmdDbGFzc109XCJ7ICdmaXgtaGVpZ2h0IGNvbC02Jzogcm93LCAnY29sLTEyJzogIXJvdyB9XCJcclxuICAgICAgPlxyXG4gICAgICAgIDxhcHAtY29tbWVudHMtbGlzdFxyXG4gICAgICAgICAgW2xvYWRlclR5cGVdPVwicm93ID8gJ3Njcm9sbCcgOiAnYnV0dG9uJ1wiXHJcbiAgICAgICAgICBbcGFnZVNpemVdPVwicm93ID8gNCA6IDlcIlxyXG4gICAgICAgICAgW2VudGl0eUlkXT1cImVudGl0eUlkXCJcclxuICAgICAgICAgIFtzaG93Q29tbWVudEFjdGlvbnNdPVwic2hvd0NvbW1lbnRBY3Rpb25zXCJcclxuICAgICAgICA+XHJcbiAgICAgICAgPC9hcHAtY29tbWVudHMtbGlzdD5cclxuICAgICAgPC9kaXY+XHJcbiAgICA8L2Rpdj5cclxuICA8L2Rpdj5cclxuPC9kaXY+XHJcbiJdfQ==