nuxeo-development-framework 3.7.8 → 3.7.9-dms-mep

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 (1239) hide show
  1. package/karma.conf.js +44 -0
  2. package/ng-package.json +7 -0
  3. package/package.json +64 -71
  4. package/src/lib/Core/adapters/adapter.service.ts +46 -0
  5. package/src/lib/Core/core.module.ts +65 -0
  6. package/src/lib/Core/enums/language.enum.ts +4 -0
  7. package/src/lib/Core/models/component.model.ts +11 -0
  8. package/src/lib/Core/services/callApi/call-api.service.ts +31 -0
  9. package/src/lib/Core/services/extension/action.extensions.ts +35 -0
  10. package/src/lib/Core/services/extension/component-register.service.ts +25 -0
  11. package/src/lib/Core/services/extension/extenion-utils.ts +142 -0
  12. package/src/lib/Core/services/extension/extension-element.ts +6 -0
  13. package/src/lib/Core/services/extension/extension-loader.service.ts +160 -0
  14. package/src/lib/Core/services/extension/extension.service.ts +137 -0
  15. package/src/lib/Core/services/initialization/initialization.service.ts +137 -0
  16. package/src/lib/Core/services/localStorag/local-storag.service.ts +125 -0
  17. package/src/lib/Core/services/nuxeo/new-nuxeo-overide.ts +157 -0
  18. package/src/lib/Core/services/nuxeo/nuxeo-override.ts +86 -0
  19. package/src/lib/Core/services/nuxeo/nuxeo.service.ts +160 -0
  20. package/src/lib/Core/services/roles/roles.service.spec.ts +16 -0
  21. package/src/lib/Core/services/roles/roles.service.ts +135 -0
  22. package/src/lib/Core/services/translation/translate-loader.service.ts +173 -0
  23. package/src/lib/Core/services/translation/translation.service.ts +221 -0
  24. package/src/lib/Core/services/user/user-preferences.service.ts +172 -0
  25. package/src/lib/Core/utilities/moment-date-adapter.ts +203 -0
  26. package/src/lib/Core/utilities/moment-dates-format.ts +18 -0
  27. package/src/lib/Core/utilities/utility.service.ts +83 -0
  28. package/src/lib/assets/scss/ej2/material.css +1 -0
  29. package/src/lib/assets/scss/mixins.scss +38 -0
  30. package/src/lib/assets/scss/myApp.scss +487 -0
  31. package/src/lib/assets/scss/variables.scss +62 -0
  32. package/src/lib/components/activities-log/activities-log/activities-log.component.html +20 -0
  33. package/src/lib/components/activities-log/activities-log/activities-log.component.scss +15 -0
  34. package/src/lib/components/activities-log/activities-log/activities-log.component.spec.ts +25 -0
  35. package/src/lib/components/activities-log/activities-log/activities-log.component.ts +177 -0
  36. package/src/lib/components/activities-log/activities-log/activities-log.service.ts +30 -0
  37. package/src/lib/components/activities-log/activities-log.module.ts +23 -0
  38. package/src/lib/components/activity/activity/activity.component.html +28 -0
  39. package/src/lib/components/activity/activity/activity.component.scss +33 -0
  40. package/src/lib/components/activity/activity/activity.component.spec.ts +25 -0
  41. package/src/lib/components/activity/activity/activity.component.ts +23 -0
  42. package/src/lib/components/activity/activity.module.ts +24 -0
  43. package/src/lib/components/attachment-item/attachment-item/attachment-item.component.html +36 -0
  44. package/src/lib/components/attachment-item/attachment-item/attachment-item.component.scss +21 -0
  45. package/src/lib/components/attachment-item/attachment-item/attachment-item.component.spec.ts +25 -0
  46. package/src/lib/components/attachment-item/attachment-item/attachment-item.component.ts +35 -0
  47. package/src/lib/components/attachment-item/attachment-item.module.ts +26 -0
  48. package/src/lib/components/attachment-modal/attachment-modal.module.ts +24 -0
  49. package/src/lib/components/attachment-modal/attachments/attachments.component.html +41 -0
  50. package/src/lib/components/attachment-modal/attachments/attachments.component.scss +5 -0
  51. package/src/lib/components/attachment-modal/attachments/attachments.component.spec.ts +25 -0
  52. package/src/lib/components/attachment-modal/attachments/attachments.component.ts +161 -0
  53. package/src/lib/components/avatar/avatar/avatar.component.html +13 -0
  54. package/src/lib/components/avatar/avatar/avatar.component.scss +32 -0
  55. package/src/lib/components/avatar/avatar/avatar.component.spec.ts +25 -0
  56. package/src/lib/components/avatar/avatar/avatar.component.ts +50 -0
  57. package/src/lib/components/avatar/avatar.module.ts +21 -0
  58. package/src/lib/components/card/card.component.html +35 -0
  59. package/src/lib/components/card/card.component.scss +81 -0
  60. package/src/lib/components/card/card.component.spec.ts +25 -0
  61. package/src/lib/components/card/card.component.ts +38 -0
  62. package/src/lib/components/card/card.module.ts +15 -0
  63. package/src/lib/components/comments/comments.module.ts +48 -0
  64. package/src/lib/components/comments/components/comment-item/comment-item.component.html +32 -0
  65. package/src/lib/components/comments/components/comment-item/comment-item.component.scss +41 -0
  66. package/src/lib/components/comments/components/comment-item/comment-item.component.ts +70 -0
  67. package/src/lib/components/comments/components/comments-dashlet/comments-dashlet.component.html +58 -0
  68. package/src/lib/components/comments/components/comments-dashlet/comments-dashlet.component.scss +69 -0
  69. package/src/lib/components/comments/components/comments-dashlet/comments-dashlet.component.ts +80 -0
  70. package/src/lib/components/comments/components/comments-list/comments-list.component.html +43 -0
  71. package/src/lib/components/comments/components/comments-list/comments-list.component.scss +103 -0
  72. package/src/lib/components/comments/components/comments-list/comments-list.component.ts +62 -0
  73. package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.html +22 -0
  74. package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.scss +48 -0
  75. package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.spec.ts +25 -0
  76. package/src/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.ts +56 -0
  77. package/src/lib/components/comments/constants/comment.ts +25 -0
  78. package/src/lib/components/comments/services/comment-api.service.ts +85 -0
  79. package/src/lib/components/confirm-caller/confirm-caller.dialog.html +29 -0
  80. package/src/lib/components/confirm-caller/confirm-caller.dialog.scss +38 -0
  81. package/src/lib/components/confirm-caller/confirm-caller.dialog.ts +68 -0
  82. package/src/lib/components/confirm-caller/confirm-caller.module.ts +20 -0
  83. package/src/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.html +13 -0
  84. package/src/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.scss +0 -0
  85. package/src/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.spec.ts +25 -0
  86. package/src/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.ts +18 -0
  87. package/src/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.html +24 -0
  88. package/src/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.scss +0 -0
  89. package/src/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.spec.ts +25 -0
  90. package/src/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.ts +19 -0
  91. package/src/lib/components/confirmation-dialog/confirmation-dialog.module.ts +18 -0
  92. package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.html +27 -0
  93. package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.scss +34 -0
  94. package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.spec.ts +25 -0
  95. package/src/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.ts +151 -0
  96. package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.html +93 -0
  97. package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.scss +124 -0
  98. package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.spec.ts +25 -0
  99. package/src/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.ts +159 -0
  100. package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.html +33 -0
  101. package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.scss +42 -0
  102. package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.spec.ts +25 -0
  103. package/src/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.ts +111 -0
  104. package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.html +20 -0
  105. package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.scss +9 -0
  106. package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.spec.ts +25 -0
  107. package/src/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.ts +65 -0
  108. package/src/lib/components/correspondence-relation/components/versions/versions.component.html +80 -0
  109. package/src/lib/components/correspondence-relation/components/versions/versions.component.scss +0 -0
  110. package/src/lib/components/correspondence-relation/components/versions/versions.component.ts +91 -0
  111. package/src/lib/components/correspondence-relation/correspondence-relation.module.ts +59 -0
  112. package/src/lib/components/correspondence-relation/services/correspondence-realation.service.ts +196 -0
  113. package/src/lib/components/correspondence-relation/services/viewer-files.service.ts +54 -0
  114. package/src/lib/components/create-entity/create-entity/create-entity.component.html +18 -0
  115. package/src/lib/components/create-entity/create-entity/create-entity.component.scss +90 -0
  116. package/src/lib/components/create-entity/create-entity/create-entity.component.spec.ts +25 -0
  117. package/src/lib/components/create-entity/create-entity/create-entity.component.ts +57 -0
  118. package/src/lib/components/create-entity/create-entity.module.ts +22 -0
  119. package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.html +60 -0
  120. package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.scss +43 -0
  121. package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.spec.ts +25 -0
  122. package/src/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.ts +166 -0
  123. package/src/lib/components/cts-tags/cts-tags.module.ts +35 -0
  124. package/src/lib/components/cts-tags/services/tags-api.service.ts +106 -0
  125. package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.html +43 -0
  126. package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.scss +91 -0
  127. package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.spec.ts +25 -0
  128. package/src/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.ts +86 -0
  129. package/src/lib/components/custom-toastr/custom-toastr.module.ts +19 -0
  130. package/src/lib/components/custom-toastr/interfaces/toast-type.interface.ts +1 -0
  131. package/src/lib/components/custom-toastr/services/custom-toastr.service.ts +56 -0
  132. package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.html +37 -0
  133. package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.scss +73 -0
  134. package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.spec.ts +25 -0
  135. package/src/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.ts +34 -0
  136. package/src/lib/components/display-suitable-icon/display-suitable-icon/icon.service.ts +107 -0
  137. package/src/lib/components/display-suitable-icon/display-suitable-icon.module.ts +16 -0
  138. package/src/lib/components/documents/components/attachments-list/attachments-list.component.html +92 -0
  139. package/src/lib/components/documents/components/attachments-list/attachments-list.component.scss +65 -0
  140. package/src/lib/components/documents/components/attachments-list/attachments-list.component.spec.ts +25 -0
  141. package/src/lib/components/documents/components/attachments-list/attachments-list.component.ts +162 -0
  142. package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.html +36 -0
  143. package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.scss +44 -0
  144. package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.spec.ts +25 -0
  145. package/src/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.ts +77 -0
  146. package/src/lib/components/documents/components/document-list/documents-list.component.html +34 -0
  147. package/src/lib/components/documents/components/document-list/documents-list.component.scss +41 -0
  148. package/src/lib/components/documents/components/document-list/documents-list.component.ts +244 -0
  149. package/src/lib/components/documents/components/document-scan/document-scan.component.html +176 -0
  150. package/src/lib/components/documents/components/document-scan/document-scan.component.scss +725 -0
  151. package/src/lib/components/documents/components/document-scan/document-scan.component.ts +1156 -0
  152. package/src/lib/components/documents/components/document-scan/document-scan.service.ts +26 -0
  153. package/src/lib/components/documents/components/document-upload/document-upload.component.html +19 -0
  154. package/src/lib/components/documents/components/document-upload/document-upload.component.scss +49 -0
  155. package/src/lib/components/documents/components/document-upload/document-upload.component.ts +184 -0
  156. package/src/lib/components/documents/components/documents/documents.component.html +16 -0
  157. package/src/lib/components/documents/components/documents/documents.component.scss +0 -0
  158. package/src/lib/components/documents/components/documents/documents.component.ts +49 -0
  159. package/src/lib/components/documents/constants/document-templates.ts +32 -0
  160. package/src/lib/components/documents/constants/documents.ts +85 -0
  161. package/src/lib/components/documents/documents.module.ts +69 -0
  162. package/src/lib/components/documents/services/document-templates.service.ts +155 -0
  163. package/src/lib/components/documents/services/documents.service.ts +354 -0
  164. package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.html +26 -0
  165. package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.scss +35 -0
  166. package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.spec.ts +25 -0
  167. package/src/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.ts +509 -0
  168. package/src/lib/components/dynamic-chart/dynamic-chart.module.ts +22 -0
  169. package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.html +4 -0
  170. package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.scss +14 -0
  171. package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.spec.ts +25 -0
  172. package/src/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.ts +178 -0
  173. package/src/lib/components/dynamic-chart/new-chart-box.ts +0 -0
  174. package/src/lib/components/dynamic-chart/services/chart-data.service.ts +613 -0
  175. package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.html +66 -0
  176. package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.scss +0 -0
  177. package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.spec.ts +25 -0
  178. package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.ts +194 -0
  179. package/src/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.ts +27 -0
  180. package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.html +122 -0
  181. package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.scss +103 -0
  182. package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.spec.ts +25 -0
  183. package/src/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.ts +124 -0
  184. package/src/lib/components/dynamic-filter/dynamic-filter.module.ts +19 -0
  185. package/src/lib/components/dynamic-filter/services/dynamic-filter.service.ts +14 -0
  186. package/src/lib/components/dynamic-form/components/department-form/department-form.component.html +100 -0
  187. package/src/lib/components/dynamic-form/components/department-form/department-form.component.scss +38 -0
  188. package/src/lib/components/dynamic-form/components/department-form/department-form.component.spec.ts +25 -0
  189. package/src/lib/components/dynamic-form/components/department-form/department-form.component.ts +132 -0
  190. package/src/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.html +3 -0
  191. package/src/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.scss +51 -0
  192. package/src/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.ts +109 -0
  193. package/src/lib/components/dynamic-form/components/dynamic-form/fields.adapter.ts +123 -0
  194. package/src/lib/components/dynamic-form/components/dynamic-form/form-builder.service.ts +120 -0
  195. package/src/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.html +14 -0
  196. package/src/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.scss +2 -0
  197. package/src/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.ts +34 -0
  198. package/src/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.html +15 -0
  199. package/src/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.scss +73 -0
  200. package/src/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.ts +161 -0
  201. package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.html +10 -0
  202. package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.scss +13 -0
  203. package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.spec.ts +25 -0
  204. package/src/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.ts +72 -0
  205. package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.html +67 -0
  206. package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.scss +105 -0
  207. package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.ts +221 -0
  208. package/src/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.ts +94 -0
  209. package/src/lib/components/dynamic-form/components/dynamic-form-department/constants/department.ts +12 -0
  210. package/src/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.html +40 -0
  211. package/src/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.scss +11 -0
  212. package/src/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.ts +236 -0
  213. package/src/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.ts +293 -0
  214. package/src/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.ts +129 -0
  215. package/src/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.html +1 -0
  216. package/src/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.scss +0 -0
  217. package/src/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.ts +92 -0
  218. package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.html +29 -0
  219. package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.scss +54 -0
  220. package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.spec.ts +25 -0
  221. package/src/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.ts +152 -0
  222. package/src/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.ts +105 -0
  223. package/src/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.html +31 -0
  224. package/src/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.scss +5 -0
  225. package/src/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.ts +32 -0
  226. package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.html +56 -0
  227. package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.scss +24 -0
  228. package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.spec.ts +25 -0
  229. package/src/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.ts +110 -0
  230. package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.html +36 -0
  231. package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.scss +100 -0
  232. package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.spec.ts +25 -0
  233. package/src/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.ts +125 -0
  234. package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.html +83 -0
  235. package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.scss +136 -0
  236. package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.spec.ts +25 -0
  237. package/src/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.ts +199 -0
  238. package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.html +99 -0
  239. package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.scss +177 -0
  240. package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.spec.ts +25 -0
  241. package/src/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.ts +353 -0
  242. package/src/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.ts +75 -0
  243. package/src/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.html +92 -0
  244. package/src/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.scss +132 -0
  245. package/src/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.ts +194 -0
  246. package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.html +13 -0
  247. package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.scss +19 -0
  248. package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.spec.ts +25 -0
  249. package/src/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.ts +85 -0
  250. package/src/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.html +27 -0
  251. package/src/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.scss +147 -0
  252. package/src/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.ts +213 -0
  253. package/src/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.html +69 -0
  254. package/src/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.scss +208 -0
  255. package/src/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.ts +343 -0
  256. package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.ts +73 -0
  257. package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.ts +364 -0
  258. package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dynamic-form-treeview-select.component.html +246 -0
  259. package/src/lib/components/dynamic-form/components/dynamic-form-treeview-select/dynamic-form-treeview-select.component.scss +257 -0
  260. package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.html +28 -0
  261. package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.scss +32 -0
  262. package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.spec.ts +25 -0
  263. package/src/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.ts +45 -0
  264. package/src/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.html +35 -0
  265. package/src/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.scss +0 -0
  266. package/src/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.spec.ts +25 -0
  267. package/src/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.ts +175 -0
  268. package/src/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.ts +780 -0
  269. package/src/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.html +2 -0
  270. package/src/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.scss +0 -0
  271. package/src/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.ts +33 -0
  272. package/src/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.ts +22 -0
  273. package/src/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.html +1 -0
  274. package/src/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.scss +0 -0
  275. package/src/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.ts +32 -0
  276. package/src/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.ts +20 -0
  277. package/src/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.css +0 -0
  278. package/src/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.html +17 -0
  279. package/src/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.ts +65 -0
  280. package/src/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.formio.ts +34 -0
  281. package/src/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.html +10 -0
  282. package/src/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.scss +0 -0
  283. package/src/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.ts +28 -0
  284. package/src/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.ts +34 -0
  285. package/src/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.ts +10 -0
  286. package/src/lib/components/dynamic-form/dynamic-form.module.scss +13 -0
  287. package/src/lib/components/dynamic-form/dynamic-form.module.ts +195 -0
  288. package/src/lib/components/dynamic-form/interfaces/aspect-oriented-config.interface.ts +3 -0
  289. package/src/lib/components/dynamic-form/interfaces/content-metadata-config.interface.ts +16 -0
  290. package/src/lib/components/dynamic-form/interfaces/content-metadata.interfaces.ts +26 -0
  291. package/src/lib/components/dynamic-form/interfaces/dynamic-form-arrayitem-properties.interface.ts +5 -0
  292. package/src/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.ts +6 -0
  293. package/src/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.ts +6 -0
  294. package/src/lib/components/dynamic-form/interfaces/dynamic-form-group.interface.ts +6 -0
  295. package/src/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.ts +16 -0
  296. package/src/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.ts +4 -0
  297. package/src/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.ts +12 -0
  298. package/src/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.ts +11 -0
  299. package/src/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.ts +13 -0
  300. package/src/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.ts +6 -0
  301. package/src/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.ts +9 -0
  302. package/src/lib/components/dynamic-form/interfaces/indifferent-config.interface.ts +1 -0
  303. package/src/lib/components/dynamic-form/interfaces/layout-oriented-config.interface.ts +17 -0
  304. package/src/lib/components/dynamic-form/interfaces/organised-property-group.interface.ts +7 -0
  305. package/src/lib/components/dynamic-form/interfaces/preset-config.interface.ts +8 -0
  306. package/src/lib/components/dynamic-form/interfaces/property-group.interface.ts +14 -0
  307. package/src/lib/components/dynamic-form/interfaces/property.interface.ts +12 -0
  308. package/src/lib/components/dynamic-form/models/dynamic-form-arrayitem.model.ts +26 -0
  309. package/src/lib/components/dynamic-form/models/dynamic-form-baseitem.model.ts +96 -0
  310. package/src/lib/components/dynamic-form/models/dynamic-form-boolitem.model.ts +27 -0
  311. package/src/lib/components/dynamic-form/models/dynamic-form-dateitem.model.ts +39 -0
  312. package/src/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.ts +18 -0
  313. package/src/lib/components/dynamic-form/models/dynamic-form-keyvaluepairs.model.ts +19 -0
  314. package/src/lib/components/dynamic-form/models/dynamic-form-mapitem.model.ts +17 -0
  315. package/src/lib/components/dynamic-form/models/dynamic-form-selectitem.model.ts +30 -0
  316. package/src/lib/components/dynamic-form/models/dynamic-form-textitem.model.ts +47 -0
  317. package/src/lib/components/dynamic-form/services/card-item-types.service.ts +55 -0
  318. package/src/lib/components/dynamic-form/services/dynamic-component-mapper.service.ts +86 -0
  319. package/src/lib/components/dynamic-form/services/dynamic-form-update.service.ts +105 -0
  320. package/src/lib/components/dynamic-form/services/property-groups-translator.service.ts +159 -0
  321. package/src/lib/components/dynamic-form/services/vocabulary-api.service.ts +32 -0
  322. package/src/lib/components/dynamic-form/validators/date-validator.ts +18 -0
  323. package/src/lib/components/dynamic-form/validators/length-validator.ts +18 -0
  324. package/src/lib/components/dynamic-form/validators/regex-validator.ts +16 -0
  325. package/src/lib/components/dynamic-form/validators/required-validator.ts +7 -0
  326. package/src/lib/components/dynamic-form/validators/value-validator.ts +18 -0
  327. package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.html +219 -0
  328. package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.scss +195 -0
  329. package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.spec.ts +25 -0
  330. package/src/lib/components/dynamic-search/dynamic-search/dynamic-search.component.ts +331 -0
  331. package/src/lib/components/dynamic-search/dynamic-search.module.ts +33 -0
  332. package/src/lib/components/dynamic-table/constants/documents.ts +72 -0
  333. package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.html +49 -0
  334. package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.scss +33 -0
  335. package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.spec.ts +25 -0
  336. package/src/lib/components/dynamic-table/dynamic-table/dynamic-table.component.ts +244 -0
  337. package/src/lib/components/dynamic-table/dynamic-table.module.ts +27 -0
  338. package/src/lib/components/dynamic-table/services/dynamic-table.service.spec.ts +16 -0
  339. package/src/lib/components/dynamic-table/services/dynamic-table.service.ts +10 -0
  340. package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.html +11 -0
  341. package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.scss +63 -0
  342. package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.spec.ts +25 -0
  343. package/src/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.ts +25 -0
  344. package/src/lib/components/dynamic-tabs/dynamic-tabs.module.ts +20 -0
  345. package/src/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.html +4 -0
  346. package/src/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.scss +0 -0
  347. package/src/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.spec.ts +25 -0
  348. package/src/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.ts +19 -0
  349. package/src/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.html +3 -0
  350. package/src/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.scss +0 -0
  351. package/src/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.spec.ts +25 -0
  352. package/src/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.ts +55 -0
  353. package/src/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.html +3 -0
  354. package/src/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.scss +0 -0
  355. package/src/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.spec.ts +25 -0
  356. package/src/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.ts +65 -0
  357. package/src/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.html +14 -0
  358. package/src/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.scss +0 -0
  359. package/src/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.spec.ts +25 -0
  360. package/src/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.ts +28 -0
  361. package/src/lib/components/dynamic-view/data-viewer/data-viewer.component.html +15 -0
  362. package/src/lib/components/dynamic-view/data-viewer/data-viewer.component.scss +0 -0
  363. package/src/lib/components/dynamic-view/data-viewer/data-viewer.component.spec.ts +25 -0
  364. package/src/lib/components/dynamic-view/data-viewer/data-viewer.component.ts +19 -0
  365. package/src/lib/components/dynamic-view/date-viewer/date-viewer.component.html +5 -0
  366. package/src/lib/components/dynamic-view/date-viewer/date-viewer.component.scss +0 -0
  367. package/src/lib/components/dynamic-view/date-viewer/date-viewer.component.spec.ts +25 -0
  368. package/src/lib/components/dynamic-view/date-viewer/date-viewer.component.ts +38 -0
  369. package/src/lib/components/dynamic-view/department-viewer/department-viewer.component.html +14 -0
  370. package/src/lib/components/dynamic-view/department-viewer/department-viewer.component.scss +0 -0
  371. package/src/lib/components/dynamic-view/department-viewer/department-viewer.component.spec.ts +25 -0
  372. package/src/lib/components/dynamic-view/department-viewer/department-viewer.component.ts +84 -0
  373. package/src/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.html +4 -0
  374. package/src/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.scss +0 -0
  375. package/src/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.spec.ts +25 -0
  376. package/src/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.ts +54 -0
  377. package/src/lib/components/dynamic-view/dynamic-view.module.ts +45 -0
  378. package/src/lib/components/dynamic-view/dynamic-viewe.service.ts +58 -0
  379. package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.html +24 -0
  380. package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.scss +55 -0
  381. package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.spec.ts +25 -0
  382. package/src/lib/components/dynamic-view/list-viewer/list-viewer.component.ts +27 -0
  383. package/src/lib/components/file-manger/components/add-to-collection/add-to-collection.component.html +34 -0
  384. package/src/lib/components/file-manger/components/add-to-collection/add-to-collection.component.scss +0 -0
  385. package/src/lib/components/file-manger/components/add-to-collection/add-to-collection.component.spec.ts +25 -0
  386. package/src/lib/components/file-manger/components/add-to-collection/add-to-collection.component.ts +139 -0
  387. package/src/lib/components/file-manger/components/clipboard/clipboard.component.html +88 -0
  388. package/src/lib/components/file-manger/components/clipboard/clipboard.component.scss +17 -0
  389. package/src/lib/components/file-manger/components/clipboard/clipboard.component.spec.ts +25 -0
  390. package/src/lib/components/file-manger/components/clipboard/clipboard.component.ts +279 -0
  391. package/src/lib/components/file-manger/components/copy/copy.component.html +24 -0
  392. package/src/lib/components/file-manger/components/copy/copy.component.scss +0 -0
  393. package/src/lib/components/file-manger/components/copy/copy.component.spec.ts +25 -0
  394. package/src/lib/components/file-manger/components/copy/copy.component.ts +129 -0
  395. package/src/lib/components/file-manger/components/create-directory/create-directory.component.html +32 -0
  396. package/src/lib/components/file-manger/components/create-directory/create-directory.component.scss +0 -0
  397. package/src/lib/components/file-manger/components/create-directory/create-directory.component.spec.ts +25 -0
  398. package/src/lib/components/file-manger/components/create-directory/create-directory.component.ts +85 -0
  399. package/src/lib/components/file-manger/components/create-modal/create-modal.component.html +139 -0
  400. package/src/lib/components/file-manger/components/create-modal/create-modal.component.scss +30 -0
  401. package/src/lib/components/file-manger/components/create-modal/create-modal.component.spec.ts +25 -0
  402. package/src/lib/components/file-manger/components/create-modal/create-modal.component.ts +589 -0
  403. package/src/lib/components/file-manger/components/creation-type/creation-type.component.html +39 -0
  404. package/src/lib/components/file-manger/components/creation-type/creation-type.component.scss +0 -0
  405. package/src/lib/components/file-manger/components/creation-type/creation-type.component.spec.ts +25 -0
  406. package/src/lib/components/file-manger/components/creation-type/creation-type.component.ts +19 -0
  407. package/src/lib/components/file-manger/components/delete/delete.component.html +25 -0
  408. package/src/lib/components/file-manger/components/delete/delete.component.scss +0 -0
  409. package/src/lib/components/file-manger/components/delete/delete.component.spec.ts +25 -0
  410. package/src/lib/components/file-manger/components/delete/delete.component.ts +80 -0
  411. package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.html +87 -0
  412. package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.scss +17 -0
  413. package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.spec.ts +25 -0
  414. package/src/lib/components/file-manger/components/folder-modal/folder-modal.component.ts +124 -0
  415. package/src/lib/components/file-manger/components/loan-request/loan-request.component.html +31 -0
  416. package/src/lib/components/file-manger/components/loan-request/loan-request.component.scss +0 -0
  417. package/src/lib/components/file-manger/components/loan-request/loan-request.component.spec.ts +25 -0
  418. package/src/lib/components/file-manger/components/loan-request/loan-request.component.ts +72 -0
  419. package/src/lib/components/file-manger/components/move/move.component.html +24 -0
  420. package/src/lib/components/file-manger/components/move/move.component.scss +0 -0
  421. package/src/lib/components/file-manger/components/move/move.component.spec.ts +25 -0
  422. package/src/lib/components/file-manger/components/move/move.component.ts +114 -0
  423. package/src/lib/components/file-manger/components/publish-dialog/publish-dialog.component.html +85 -0
  424. package/src/lib/components/file-manger/components/publish-dialog/publish-dialog.component.scss +0 -0
  425. package/src/lib/components/file-manger/components/publish-dialog/publish-dialog.component.spec.ts +25 -0
  426. package/src/lib/components/file-manger/components/publish-dialog/publish-dialog.component.ts +164 -0
  427. package/src/lib/components/file-manger/components/rename/rename.component.html +28 -0
  428. package/src/lib/components/file-manger/components/rename/rename.component.scss +0 -0
  429. package/src/lib/components/file-manger/components/rename/rename.component.spec.ts +25 -0
  430. package/src/lib/components/file-manger/components/rename/rename.component.ts +82 -0
  431. package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.html +336 -0
  432. package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.scss +9 -0
  433. package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.spec.ts +25 -0
  434. package/src/lib/components/file-manger/components/scan-modal/scan-modal.component.ts +337 -0
  435. package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.html +159 -0
  436. package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.scss +38 -0
  437. package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.spec.ts +25 -0
  438. package/src/lib/components/file-manger/components/share-dialog/share-dialog.component.ts +288 -0
  439. package/src/lib/components/file-manger/components/sidepanel/sidepanel.component.html +350 -0
  440. package/src/lib/components/file-manger/components/sidepanel/sidepanel.component.scss +0 -0
  441. package/src/lib/components/file-manger/components/sidepanel/sidepanel.component.spec.ts +25 -0
  442. package/src/lib/components/file-manger/components/sidepanel/sidepanel.component.ts +247 -0
  443. package/src/lib/components/file-manger/components/template-modal/template-modal.component.html +213 -0
  444. package/src/lib/components/file-manger/components/template-modal/template-modal.component.scss +3 -0
  445. package/src/lib/components/file-manger/components/template-modal/template-modal.component.spec.ts +25 -0
  446. package/src/lib/components/file-manger/components/template-modal/template-modal.component.ts +55 -0
  447. package/src/lib/components/file-manger/components/transfer-doc/transfer-doc.component.html +26 -0
  448. package/src/lib/components/file-manger/components/transfer-doc/transfer-doc.component.scss +0 -0
  449. package/src/lib/components/file-manger/components/transfer-doc/transfer-doc.component.spec.ts +25 -0
  450. package/src/lib/components/file-manger/components/transfer-doc/transfer-doc.component.ts +74 -0
  451. package/src/lib/components/file-manger/components/update-modal/update-modal.component.html +103 -0
  452. package/src/lib/components/file-manger/components/update-modal/update-modal.component.scss +7 -0
  453. package/src/lib/components/file-manger/components/update-modal/update-modal.component.spec.ts +25 -0
  454. package/src/lib/components/file-manger/components/update-modal/update-modal.component.ts +371 -0
  455. package/src/lib/components/file-manger/file-manager.abstract.ts +1351 -0
  456. package/src/lib/components/file-manger/file-manger.module.ts +154 -0
  457. package/src/lib/components/filter/filter/filter.component.html +79 -0
  458. package/src/lib/components/filter/filter/filter.component.md +68 -0
  459. package/src/lib/components/filter/filter/filter.component.scss +50 -0
  460. package/src/lib/components/filter/filter/filter.component.spec.ts +25 -0
  461. package/src/lib/components/filter/filter/filter.component.ts +81 -0
  462. package/src/lib/components/filter/filter.module.ts +27 -0
  463. package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-date-picker.component.scss +67 -0
  464. package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.html +47 -0
  465. package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.ts +99 -0
  466. package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-date-picker.component.scss +67 -0
  467. package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.html +47 -0
  468. package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.ts +102 -0
  469. package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.html +29 -0
  470. package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.ts +152 -0
  471. package/src/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.ts +23 -0
  472. package/src/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.ts +35 -0
  473. package/src/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.ts +94 -0
  474. package/src/lib/components/hijri-gregorian-datepicker/services/date-helper.service.ts +28 -0
  475. package/src/lib/components/hijri-gregorian-datepicker/services/ngx-hijri-gregorian-datepicker.service.ts +9 -0
  476. package/src/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.ts +35 -0
  477. package/src/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.ts +26 -0
  478. package/src/lib/components/hijri-gregorian-datepicker/utils/consts.ts +4 -0
  479. package/src/lib/components/latest-activity/components/activity-line/activity-line.component.html +27 -0
  480. package/src/lib/components/latest-activity/components/activity-line/activity-line.component.scss +13 -0
  481. package/src/lib/components/latest-activity/components/activity-line/activity-line.component.spec.ts +25 -0
  482. package/src/lib/components/latest-activity/components/activity-line/activity-line.component.ts +73 -0
  483. package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.html +36 -0
  484. package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.scss +12 -0
  485. package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.spec.ts +25 -0
  486. package/src/lib/components/latest-activity/components/latest-activity/latest-activity.component.ts +82 -0
  487. package/src/lib/components/latest-activity/components/single-activity/single-activity.component.html +40 -0
  488. package/src/lib/components/latest-activity/components/single-activity/single-activity.component.scss +160 -0
  489. package/src/lib/components/latest-activity/components/single-activity/single-activity.component.spec.ts +25 -0
  490. package/src/lib/components/latest-activity/components/single-activity/single-activity.component.ts +24 -0
  491. package/src/lib/components/latest-activity/constants/activitylog.ts +80 -0
  492. package/src/lib/components/latest-activity/latest-activity.module.ts +33 -0
  493. package/src/lib/components/latest-activity/services/activity-log.service.ts +41 -0
  494. package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.html +36 -0
  495. package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.scss +32 -0
  496. package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.spec.ts +25 -0
  497. package/src/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.ts +45 -0
  498. package/src/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.ts +18 -0
  499. package/src/lib/components/notifications/components/notification-item/notification-item.component.html +46 -0
  500. package/src/lib/components/notifications/components/notification-item/notification-item.component.scss +60 -0
  501. package/src/lib/components/notifications/components/notification-item/notification-item.component.ts +146 -0
  502. package/src/lib/components/notifications/components/notification-options/notification-options.component.html +7 -0
  503. package/src/lib/components/notifications/components/notification-options/notification-options.component.scss +7 -0
  504. package/src/lib/components/notifications/components/notification-options/notification-options.component.ts +16 -0
  505. package/src/lib/components/notifications/components/notification-toast/notification-toast.component.html +66 -0
  506. package/src/lib/components/notifications/components/notification-toast/notification-toast.component.scss +62 -0
  507. package/src/lib/components/notifications/components/notification-toast/notification-toast.component.spec.ts +25 -0
  508. package/src/lib/components/notifications/components/notification-toast/notification-toast.component.ts +55 -0
  509. package/src/lib/components/notifications/components/notifications-button/notifications-button.component.html +11 -0
  510. package/src/lib/components/notifications/components/notifications-button/notifications-button.component.scss +90 -0
  511. package/src/lib/components/notifications/components/notifications-button/notifications-button.component.ts +192 -0
  512. package/src/lib/components/notifications/components/notifications-list/notifications-list.component.html +58 -0
  513. package/src/lib/components/notifications/components/notifications-list/notifications-list.component.scss +108 -0
  514. package/src/lib/components/notifications/components/notifications-list/notifications-list.component.ts +161 -0
  515. package/src/lib/components/notifications/interceptors/token.interceptor.ts +37 -0
  516. package/src/lib/components/notifications/notifications.module.ts +67 -0
  517. package/src/lib/components/notifications/notifications.service.ts +316 -0
  518. package/src/lib/components/pagination/pagination/pagination.component.html +33 -0
  519. package/src/lib/components/pagination/pagination/pagination.component.scss +46 -0
  520. package/src/lib/components/pagination/pagination/pagination.component.spec.ts +25 -0
  521. package/src/lib/components/pagination/pagination/pagination.component.ts +132 -0
  522. package/src/lib/components/pagination/pagination.module.ts +21 -0
  523. package/src/lib/components/pdf-tron/pdf-tron.module.ts +16 -0
  524. package/src/lib/components/pdf-tron/pdftron/pdftron.component.html +1 -0
  525. package/src/lib/components/pdf-tron/pdftron/pdftron.component.scss +0 -0
  526. package/src/lib/components/pdf-tron/pdftron/pdftron.component.spec.ts +25 -0
  527. package/src/lib/components/pdf-tron/pdftron/pdftron.component.ts +797 -0
  528. package/src/lib/components/pdf-tron/pdftron/pdftron.service.ts +236 -0
  529. package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.html +139 -0
  530. package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.scss +159 -0
  531. package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.spec.ts +25 -0
  532. package/src/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.ts +199 -0
  533. package/src/lib/components/permissions/permission.service.ts +151 -0
  534. package/src/lib/components/permissions/permissions/permissions.component.html +129 -0
  535. package/src/lib/components/permissions/permissions/permissions.component.scss +0 -0
  536. package/src/lib/components/permissions/permissions/permissions.component.spec.ts +25 -0
  537. package/src/lib/components/permissions/permissions/permissions.component.ts +230 -0
  538. package/src/lib/components/permissions/permissions-template/permissions-template.component.html +54 -0
  539. package/src/lib/components/permissions/permissions-template/permissions-template.component.scss +7 -0
  540. package/src/lib/components/permissions/permissions-template/permissions-template.component.spec.ts +25 -0
  541. package/src/lib/components/permissions/permissions-template/permissions-template.component.ts +104 -0
  542. package/src/lib/components/permissions/permissions.module.ts +39 -0
  543. package/src/lib/components/select/select/select.component.html +64 -0
  544. package/src/lib/components/select/select/select.component.scss +144 -0
  545. package/src/lib/components/select/select/select.component.spec.ts +25 -0
  546. package/src/lib/components/select/select/select.component.ts +116 -0
  547. package/src/lib/components/select/select.module.ts +23 -0
  548. package/src/lib/components/select-users-by-department/select-users-by-department.module.ts +27 -0
  549. package/src/lib/components/select-users-by-department/select-users-by-departments/department-management.service.ts +27 -0
  550. package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.html +88 -0
  551. package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.scss +15 -0
  552. package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.spec.ts +25 -0
  553. package/src/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.ts +105 -0
  554. package/src/lib/components/table/dynamic-column/dynamic-column.component.ts +79 -0
  555. package/src/lib/components/table/table/table.component.html +414 -0
  556. package/src/lib/components/table/table/table.component.scss +648 -0
  557. package/src/lib/components/table/table/table.component.spec.ts +25 -0
  558. package/src/lib/components/table/table/table.component.ts +204 -0
  559. package/src/lib/components/table/table.module.ts +37 -0
  560. package/src/lib/components/user/user/user.component.html +15 -0
  561. package/src/lib/components/user/user/user.component.scss +0 -0
  562. package/src/lib/components/user/user/user.component.spec.ts +25 -0
  563. package/src/lib/components/user/user/user.component.ts +19 -0
  564. package/src/lib/components/user/user.module.ts +18 -0
  565. package/src/lib/components/users-card/users-card.component.html +20 -0
  566. package/src/lib/components/users-card/users-card.component.scss +16 -0
  567. package/src/lib/components/users-card/users-card.component.ts +30 -0
  568. package/src/lib/components/users-card/users-card.module.ts +19 -0
  569. package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.html +9 -0
  570. package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.scss +12 -0
  571. package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.spec.ts +25 -0
  572. package/src/lib/components/viewer-log/components/viewer-log/viewer-log.component.ts +25 -0
  573. package/src/lib/components/viewer-log/viewer-log.module.ts +12 -0
  574. package/src/lib/components/vocabulary/interfaces/op-type.interface.ts +4 -0
  575. package/src/lib/components/vocabulary/services/vocabulary-api.service.ts +55 -0
  576. package/src/lib/components/vocabulary/translated-vocabulary-select/translated-vocabulary-select.component.html +23 -0
  577. package/src/lib/components/vocabulary/translated-vocabulary-select/translated-vocabulary-select.component.scss +10 -0
  578. package/src/lib/components/vocabulary/translated-vocabulary-select/translated-vocabulary-select.component.ts +213 -0
  579. package/src/lib/components/vocabulary/vocabulary/vocabulary.component.html +12 -0
  580. package/src/lib/components/vocabulary/vocabulary/vocabulary.component.scss +0 -0
  581. package/src/lib/components/vocabulary/vocabulary/vocabulary.component.spec.ts +25 -0
  582. package/src/lib/components/vocabulary/vocabulary/vocabulary.component.ts +80 -0
  583. package/src/lib/components/vocabulary/vocabulary.module.ts +25 -0
  584. package/src/lib/configuration/app-config.service.ts +26 -0
  585. package/src/lib/configuration/configuration.module.ts +12 -0
  586. package/src/lib/configuration/helpers/app-initializer.ts +5 -0
  587. package/src/lib/directive/app-has-role/app-has-role.directive.ts +62 -0
  588. package/src/lib/directive/clickOutSide/click-outside.directive.ts +20 -0
  589. package/src/lib/directive/directive.module.ts +36 -0
  590. package/src/lib/directive/drag-and-drop/drag-and-drop.directive.ts +37 -0
  591. package/src/lib/directive/permissions/evaluators.service.ts +148 -0
  592. package/src/lib/directive/permissions/permissions.directive.ts +74 -0
  593. package/src/lib/directive/rtl/set-dir-rtl.directive.ts +25 -0
  594. package/src/lib/directive/rtl/set-rtl.directive.ts +26 -0
  595. package/src/lib/nuxeo-development-framework.component.ts +20 -0
  596. package/src/lib/nuxeo-development-framework.module.ts +31 -0
  597. package/src/lib/nuxeo-development-framework.service.ts +9 -0
  598. package/src/lib/pipes/file-size.pipe.ts +61 -0
  599. package/src/lib/pipes/hijri-date.pipe.ts +40 -0
  600. package/src/lib/pipes/localized-date.pipe.ts +80 -0
  601. package/src/lib/pipes/multi-value.pipe.ts +39 -0
  602. package/src/lib/pipes/pipes.module.ts +20 -0
  603. package/src/lib/pipes/secure-html.pipe.ts +27 -0
  604. package/src/lib/pipes/secure.pipe.ts +37 -0
  605. package/src/lib/pipes/time-ago.pipe.ts +68 -0
  606. package/src/lib/shared/components/button/button.component.html +13 -0
  607. package/src/lib/shared/components/button/button.component.scss +102 -0
  608. package/src/lib/shared/components/button/button.component.spec.ts +25 -0
  609. package/src/lib/shared/components/button/button.component.ts +89 -0
  610. package/src/lib/shared/components/item-list/item-list.component.html +38 -0
  611. package/src/lib/shared/components/item-list/item-list.component.scss +65 -0
  612. package/src/lib/shared/components/item-list/item-list.component.spec.ts +25 -0
  613. package/src/lib/shared/components/item-list/item-list.component.ts +69 -0
  614. package/src/lib/shared/components/no-data/no-data.component.html +6 -0
  615. package/src/lib/shared/components/no-data/no-data.component.scss +16 -0
  616. package/src/lib/shared/components/no-data/no-data.component.spec.ts +25 -0
  617. package/src/lib/shared/components/no-data/no-data.component.ts +28 -0
  618. package/src/lib/shared/components/read-more/read-more.component.ts +86 -0
  619. package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.html +24 -0
  620. package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.scss +50 -0
  621. package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.spec.ts +25 -0
  622. package/src/lib/shared/components/search-autocomplete/search-autocomplete.component.ts +153 -0
  623. package/src/lib/shared/components/spinner/spinner.component.html +10 -0
  624. package/src/lib/shared/components/spinner/spinner.component.scss +11 -0
  625. package/src/lib/shared/components/spinner/spinner.component.spec.ts +25 -0
  626. package/src/lib/shared/components/spinner/spinner.component.ts +25 -0
  627. package/src/lib/shared/components/user-card/user-card.component.html +21 -0
  628. package/src/lib/shared/components/user-card/user-card.component.scss +42 -0
  629. package/src/lib/shared/components/user-card/user-card.component.spec.ts +25 -0
  630. package/src/lib/shared/components/user-card/user-card.component.ts +42 -0
  631. package/src/lib/shared/libraryShared.module.ts +47 -0
  632. package/src/lib/shared-services/dialog-mangment.service.ts +62 -0
  633. package/src/lib/shared-services/dynamic-form.service.ts +252 -0
  634. package/src/lib/shared-services/file-manager.adapter.ts +69 -0
  635. package/src/lib/shared-services/file-manager.service.ts +1078 -0
  636. package/src/lib/shared-services/global-admin.service.spec.ts +16 -0
  637. package/src/lib/shared-services/global-admin.service.ts +16 -0
  638. package/src/lib/shared-services/global-pdftron.service.ts +50 -0
  639. package/src/lib/shared-services/mainfolder.service.ts +227 -0
  640. package/src/lib/shared-services/publishing-document.service.ts +242 -0
  641. package/src/lib/shared-services/recently-viewed.service.ts +55 -0
  642. package/src/lib/shared-services/shared-docs.service.ts +173 -0
  643. package/src/lib/shared-services/shared-services.module.ts +12 -0
  644. package/src/lib/shared-services/upload-file.service.ts +26 -0
  645. package/src/lib/shared-services/upload-managment.service.ts +148 -0
  646. package/src/lib/shared-services/user.service.ts +59 -0
  647. package/src/public-api.ts +278 -0
  648. package/src/test.ts +26 -0
  649. package/tsconfig.doc.json +4 -0
  650. package/tsconfig.lib.json +21 -0
  651. package/tsconfig.lib.prod.json +10 -0
  652. package/tsconfig.spec.json +17 -0
  653. package/tslint.json +17 -0
  654. package/bundles/nuxeo-development-framework.umd.js +0 -30640
  655. package/bundles/nuxeo-development-framework.umd.js.map +0 -1
  656. package/esm2015/lib/Core/adapters/adapter.service.js +0 -50
  657. package/esm2015/lib/Core/core.module.js +0 -107
  658. package/esm2015/lib/Core/enums/language.enum.js +0 -6
  659. package/esm2015/lib/Core/models/component.model.js +0 -8
  660. package/esm2015/lib/Core/services/callApi/call-api.service.js +0 -33
  661. package/esm2015/lib/Core/services/extension/action.extensions.js +0 -9
  662. package/esm2015/lib/Core/services/extension/component-register.service.js +0 -25
  663. package/esm2015/lib/Core/services/extension/extenion-utils.js +0 -115
  664. package/esm2015/lib/Core/services/extension/extension-element.js +0 -2
  665. package/esm2015/lib/Core/services/extension/extension-loader.service.js +0 -127
  666. package/esm2015/lib/Core/services/extension/extension.service.js +0 -120
  667. package/esm2015/lib/Core/services/initialization/initialization.service.js +0 -138
  668. package/esm2015/lib/Core/services/localStorag/local-storag.service.js +0 -123
  669. package/esm2015/lib/Core/services/nuxeo/new-nuxeo-overide.js +0 -146
  670. package/esm2015/lib/Core/services/nuxeo/nuxeo-override.js +0 -82
  671. package/esm2015/lib/Core/services/nuxeo/nuxeo.service.js +0 -155
  672. package/esm2015/lib/Core/services/roles/roles.service.js +0 -130
  673. package/esm2015/lib/Core/services/translation/translate-loader.service.js +0 -150
  674. package/esm2015/lib/Core/services/translation/translation.service.js +0 -174
  675. package/esm2015/lib/Core/services/user/user-preferences.service.js +0 -153
  676. package/esm2015/lib/Core/utilities/moment-date-adapter.js +0 -178
  677. package/esm2015/lib/Core/utilities/utility.service.js +0 -81
  678. package/esm2015/lib/components/activities-log/activities-log/activities-log.component.js +0 -188
  679. package/esm2015/lib/components/activities-log/activities-log/activities-log.service.js +0 -35
  680. package/esm2015/lib/components/activities-log/activities-log.module.js +0 -41
  681. package/esm2015/lib/components/activity/activity/activity.component.js +0 -28
  682. package/esm2015/lib/components/activity/activity.module.js +0 -37
  683. package/esm2015/lib/components/attachment-item/attachment-item/attachment-item.component.js +0 -54
  684. package/esm2015/lib/components/attachment-item/attachment-item.module.js +0 -44
  685. package/esm2015/lib/components/attachment-modal/attachment-modal.module.js +0 -40
  686. package/esm2015/lib/components/attachment-modal/attachments/attachments.component.js +0 -157
  687. package/esm2015/lib/components/avatar/avatar/avatar.component.js +0 -55
  688. package/esm2015/lib/components/avatar/avatar.module.js +0 -32
  689. package/esm2015/lib/components/card/card.component.js +0 -48
  690. package/esm2015/lib/components/card/card.module.js +0 -23
  691. package/esm2015/lib/components/comments/comments.module.js +0 -82
  692. package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +0 -86
  693. package/esm2015/lib/components/comments/components/comments-dashlet/comments-dashlet.component.js +0 -81
  694. package/esm2015/lib/components/comments/components/comments-list/comments-list.component.js +0 -74
  695. package/esm2015/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.js +0 -63
  696. package/esm2015/lib/components/comments/constants/comment.js +0 -25
  697. package/esm2015/lib/components/comments/services/comment-api.service.js +0 -71
  698. package/esm2015/lib/components/confirm-caller/confirm-caller.dialog.js +0 -77
  699. package/esm2015/lib/components/confirm-caller/confirm-caller.module.js +0 -28
  700. package/esm2015/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.js +0 -29
  701. package/esm2015/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.js +0 -30
  702. package/esm2015/lib/components/confirmation-dialog/confirmation-dialog.module.js +0 -30
  703. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.js +0 -147
  704. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.js +0 -152
  705. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.js +0 -110
  706. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.js +0 -69
  707. package/esm2015/lib/components/correspondence-relation/components/versions/versions.component.js +0 -95
  708. package/esm2015/lib/components/correspondence-relation/correspondence-relation.module.js +0 -111
  709. package/esm2015/lib/components/correspondence-relation/services/correspondence-realation.service.js +0 -157
  710. package/esm2015/lib/components/correspondence-relation/services/viewer-files.service.js +0 -54
  711. package/esm2015/lib/components/create-entity/create-entity/create-entity.component.js +0 -69
  712. package/esm2015/lib/components/create-entity/create-entity.module.js +0 -36
  713. package/esm2015/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.js +0 -180
  714. package/esm2015/lib/components/cts-tags/cts-tags.module.js +0 -65
  715. package/esm2015/lib/components/cts-tags/services/tags-api.service.js +0 -86
  716. package/esm2015/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.js +0 -66
  717. package/esm2015/lib/components/custom-toastr/custom-toastr.module.js +0 -36
  718. package/esm2015/lib/components/custom-toastr/interfaces/toast-type.interface.js +0 -2
  719. package/esm2015/lib/components/custom-toastr/services/custom-toastr.service.js +0 -41
  720. package/esm2015/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.js +0 -44
  721. package/esm2015/lib/components/display-suitable-icon/display-suitable-icon/icon.service.js +0 -140
  722. package/esm2015/lib/components/display-suitable-icon/display-suitable-icon.module.js +0 -24
  723. package/esm2015/lib/components/documents/components/attachments-list/attachments-list.component.js +0 -156
  724. package/esm2015/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.js +0 -76
  725. package/esm2015/lib/components/documents/components/document-list/documents-list.component.js +0 -252
  726. package/esm2015/lib/components/documents/components/document-scan/document-scan.component.js +0 -974
  727. package/esm2015/lib/components/documents/components/document-scan/document-scan.service.js +0 -30
  728. package/esm2015/lib/components/documents/components/document-upload/document-upload.component.js +0 -175
  729. package/esm2015/lib/components/documents/components/documents/documents.component.js +0 -63
  730. package/esm2015/lib/components/documents/constants/document-templates.js +0 -32
  731. package/esm2015/lib/components/documents/constants/documents.js +0 -86
  732. package/esm2015/lib/components/documents/documents.module.js +0 -123
  733. package/esm2015/lib/components/documents/services/document-templates.service.js +0 -115
  734. package/esm2015/lib/components/documents/services/documents.service.js +0 -223
  735. package/esm2015/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.js +0 -477
  736. package/esm2015/lib/components/dynamic-chart/dynamic-chart.module.js +0 -34
  737. package/esm2015/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.js +0 -164
  738. package/esm2015/lib/components/dynamic-chart/services/chart-data.service.js +0 -552
  739. package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.js +0 -188
  740. package/esm2015/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.js +0 -43
  741. package/esm2015/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.js +0 -137
  742. package/esm2015/lib/components/dynamic-filter/dynamic-filter.module.js +0 -27
  743. package/esm2015/lib/components/dynamic-form/components/department-form/department-form.component.js +0 -130
  744. package/esm2015/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.js +0 -105
  745. package/esm2015/lib/components/dynamic-form/components/dynamic-form/fields.adapter.js +0 -127
  746. package/esm2015/lib/components/dynamic-form/components/dynamic-form/form-builder.service.js +0 -107
  747. package/esm2015/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.js +0 -35
  748. package/esm2015/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.js +0 -165
  749. package/esm2015/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.js +0 -71
  750. package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.js +0 -213
  751. package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.js +0 -78
  752. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/constants/department.js +0 -13
  753. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.js +0 -217
  754. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.js +0 -230
  755. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.js +0 -96
  756. package/esm2015/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.js +0 -85
  757. package/esm2015/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.js +0 -139
  758. package/esm2015/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.js +0 -81
  759. package/esm2015/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.js +0 -36
  760. package/esm2015/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.js +0 -106
  761. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.js +0 -104
  762. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.js +0 -207
  763. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.js +0 -326
  764. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.js +0 -64
  765. package/esm2015/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.js +0 -191
  766. package/esm2015/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.js +0 -81
  767. package/esm2015/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.js +0 -180
  768. package/esm2015/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.js +0 -316
  769. package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.js +0 -68
  770. package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.js +0 -328
  771. package/esm2015/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.js +0 -54
  772. package/esm2015/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.js +0 -178
  773. package/esm2015/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.js +0 -768
  774. package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.js +0 -35
  775. package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.js +0 -17
  776. package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.js +0 -34
  777. package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.js +0 -17
  778. package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.js +0 -74
  779. package/esm2015/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.formio.js +0 -30
  780. package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.js +0 -32
  781. package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.js +0 -30
  782. package/esm2015/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.js +0 -17
  783. package/esm2015/lib/components/dynamic-form/dynamic-form.module.js +0 -303
  784. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.js +0 -2
  785. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.js +0 -2
  786. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.js +0 -2
  787. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.js +0 -2
  788. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.js +0 -2
  789. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.js +0 -2
  790. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.js +0 -2
  791. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.js +0 -2
  792. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.js +0 -2
  793. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form.interfaces.js +0 -10
  794. package/esm2015/lib/components/dynamic-form/models/dynamic-form-baseitem.model.js +0 -63
  795. package/esm2015/lib/components/dynamic-form/models/dynamic-form-boolitem.model.js +0 -20
  796. package/esm2015/lib/components/dynamic-form/models/dynamic-form-dateitem.model.js +0 -24
  797. package/esm2015/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.js +0 -12
  798. package/esm2015/lib/components/dynamic-form/models/dynamic-form-mapitem.model.js +0 -16
  799. package/esm2015/lib/components/dynamic-form/models/dynamic-form-selectitem.model.js +0 -17
  800. package/esm2015/lib/components/dynamic-form/models/dynamic-form-textitem.model.js +0 -32
  801. package/esm2015/lib/components/dynamic-form/models/dynamic-form.models.js +0 -8
  802. package/esm2015/lib/components/dynamic-form/services/card-item-types.service.js +0 -46
  803. package/esm2015/lib/components/dynamic-form/services/dynamic-component-mapper.service.js +0 -60
  804. package/esm2015/lib/components/dynamic-form/services/dynamic-form-update.service.js +0 -83
  805. package/esm2015/lib/components/dynamic-form/validators/length-validator.js +0 -15
  806. package/esm2015/lib/components/dynamic-form/validators/regex-validator.js +0 -15
  807. package/esm2015/lib/components/dynamic-form/validators/required-validator.js +0 -9
  808. package/esm2015/lib/components/dynamic-form/validators/value-validator.js +0 -15
  809. package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +0 -339
  810. package/esm2015/lib/components/dynamic-search/dynamic-search.module.js +0 -61
  811. package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +0 -249
  812. package/esm2015/lib/components/dynamic-table/dynamic-table.module.js +0 -44
  813. package/esm2015/lib/components/dynamic-table/services/dynamic-table.service.js +0 -16
  814. package/esm2015/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.js +0 -39
  815. package/esm2015/lib/components/dynamic-tabs/dynamic-tabs.module.js +0 -34
  816. package/esm2015/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.js +0 -37
  817. package/esm2015/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.js +0 -59
  818. package/esm2015/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.js +0 -68
  819. package/esm2015/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.js +0 -33
  820. package/esm2015/lib/components/dynamic-view/data-viewer/data-viewer.component.js +0 -34
  821. package/esm2015/lib/components/dynamic-view/date-viewer/date-viewer.component.js +0 -56
  822. package/esm2015/lib/components/dynamic-view/department-viewer/department-viewer.component.js +0 -90
  823. package/esm2015/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.js +0 -72
  824. package/esm2015/lib/components/dynamic-view/dynamic-view.module.js +0 -70
  825. package/esm2015/lib/components/dynamic-view/dynamic-viewe.service.js +0 -62
  826. package/esm2015/lib/components/dynamic-view/list-viewer/list-viewer.component.js +0 -40
  827. package/esm2015/lib/components/file-manger/components/add-to-collection/add-to-collection.component.js +0 -132
  828. package/esm2015/lib/components/file-manger/components/clipboard/clipboard.component.js +0 -264
  829. package/esm2015/lib/components/file-manger/components/copy/copy.component.js +0 -121
  830. package/esm2015/lib/components/file-manger/components/create-directory/create-directory.component.js +0 -91
  831. package/esm2015/lib/components/file-manger/components/create-modal/create-modal.component.js +0 -488
  832. package/esm2015/lib/components/file-manger/components/creation-type/creation-type.component.js +0 -26
  833. package/esm2015/lib/components/file-manger/components/delete/delete.component.js +0 -74
  834. package/esm2015/lib/components/file-manger/components/folder-modal/folder-modal.component.js +0 -129
  835. package/esm2015/lib/components/file-manger/components/loan-request/loan-request.component.js +0 -80
  836. package/esm2015/lib/components/file-manger/components/move/move.component.js +0 -110
  837. package/esm2015/lib/components/file-manger/components/publish-dialog/publish-dialog.component.js +0 -152
  838. package/esm2015/lib/components/file-manger/components/rename/rename.component.js +0 -86
  839. package/esm2015/lib/components/file-manger/components/scan-modal/scan-modal.component.js +0 -314
  840. package/esm2015/lib/components/file-manger/components/share-dialog/share-dialog.component.js +0 -294
  841. package/esm2015/lib/components/file-manger/components/sidepanel/sidepanel.component.js +0 -257
  842. package/esm2015/lib/components/file-manger/components/template-modal/template-modal.component.js +0 -64
  843. package/esm2015/lib/components/file-manger/components/transfer-doc/transfer-doc.component.js +0 -71
  844. package/esm2015/lib/components/file-manger/components/update-modal/update-modal.component.js +0 -366
  845. package/esm2015/lib/components/file-manger/file-manager.abstract.js +0 -1040
  846. package/esm2015/lib/components/file-manger/file-manger.module.js +0 -295
  847. package/esm2015/lib/components/filter/filter/filter.component.js +0 -102
  848. package/esm2015/lib/components/filter/filter.module.js +0 -45
  849. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.js +0 -123
  850. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.js +0 -126
  851. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.js +0 -165
  852. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.js +0 -32
  853. package/esm2015/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.js +0 -58
  854. package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.js +0 -71
  855. package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-helper.service.js +0 -30
  856. package/esm2015/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.js +0 -43
  857. package/esm2015/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.js +0 -26
  858. package/esm2015/lib/components/hijri-gregorian-datepicker/utils/consts.js +0 -5
  859. package/esm2015/lib/components/latest-activity/components/activity-line/activity-line.component.js +0 -75
  860. package/esm2015/lib/components/latest-activity/components/latest-activity/latest-activity.component.js +0 -73
  861. package/esm2015/lib/components/latest-activity/components/single-activity/single-activity.component.js +0 -34
  862. package/esm2015/lib/components/latest-activity/constants/activitylog.js +0 -80
  863. package/esm2015/lib/components/latest-activity/latest-activity.module.js +0 -57
  864. package/esm2015/lib/components/latest-activity/services/activity-log.service.js +0 -33
  865. package/esm2015/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.js +0 -51
  866. package/esm2015/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.js +0 -30
  867. package/esm2015/lib/components/notifications/components/notification-item/notification-item.component.js +0 -143
  868. package/esm2015/lib/components/notifications/components/notification-options/notification-options.component.js +0 -22
  869. package/esm2015/lib/components/notifications/components/notification-toast/notification-toast.component.js +0 -57
  870. package/esm2015/lib/components/notifications/components/notifications-button/notifications-button.component.js +0 -181
  871. package/esm2015/lib/components/notifications/components/notifications-list/notifications-list.component.js +0 -191
  872. package/esm2015/lib/components/notifications/notifications.module.js +0 -113
  873. package/esm2015/lib/components/notifications/notifications.service.js +0 -358
  874. package/esm2015/lib/components/pagination/pagination/pagination.component.js +0 -124
  875. package/esm2015/lib/components/pagination/pagination.module.js +0 -32
  876. package/esm2015/lib/components/pdf-tron/pdf-tron.module.js +0 -24
  877. package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +0 -768
  878. package/esm2015/lib/components/pdf-tron/pdftron/pdftron.service.js +0 -239
  879. package/esm2015/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.js +0 -178
  880. package/esm2015/lib/components/permissions/permission.service.js +0 -118
  881. package/esm2015/lib/components/permissions/permissions/permissions.component.js +0 -235
  882. package/esm2015/lib/components/permissions/permissions-template/permissions-template.component.js +0 -117
  883. package/esm2015/lib/components/permissions/permissions.module.js +0 -71
  884. package/esm2015/lib/components/select/select/select.component.js +0 -130
  885. package/esm2015/lib/components/select/select.module.js +0 -37
  886. package/esm2015/lib/components/select-users-by-department/select-users-by-department.module.js +0 -47
  887. package/esm2015/lib/components/select-users-by-department/select-users-by-departments/department-management.service.js +0 -27
  888. package/esm2015/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.js +0 -116
  889. package/esm2015/lib/components/table/dynamic-column/dynamic-column.component.js +0 -64
  890. package/esm2015/lib/components/table/table/table.component.js +0 -239
  891. package/esm2015/lib/components/table/table.module.js +0 -65
  892. package/esm2015/lib/components/user/user/user.component.js +0 -31
  893. package/esm2015/lib/components/user/user.module.js +0 -30
  894. package/esm2015/lib/components/users-card/users-card.component.js +0 -43
  895. package/esm2015/lib/components/users-card/users-card.module.js +0 -28
  896. package/esm2015/lib/components/viewer-log/components/viewer-log/viewer-log.component.js +0 -33
  897. package/esm2015/lib/components/viewer-log/viewer-log.module.js +0 -20
  898. package/esm2015/lib/components/vocabulary/interfaces/op-type.interface.js +0 -2
  899. package/esm2015/lib/components/vocabulary/services/vocabulary-api.service.js +0 -50
  900. package/esm2015/lib/components/vocabulary/vocabulary/vocabulary.component.js +0 -106
  901. package/esm2015/lib/components/vocabulary/vocabulary.module.js +0 -34
  902. package/esm2015/lib/configuration/app-config.service.js +0 -30
  903. package/esm2015/lib/configuration/helpers/app-initializer.js +0 -4
  904. package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +0 -61
  905. package/esm2015/lib/directive/clickOutSide/click-outside.directive.js +0 -29
  906. package/esm2015/lib/directive/directive.module.js +0 -52
  907. package/esm2015/lib/directive/drag-and-drop/drag-and-drop.directive.js +0 -46
  908. package/esm2015/lib/directive/permissions/evaluators.service.js +0 -152
  909. package/esm2015/lib/directive/permissions/permissions.directive.js +0 -69
  910. package/esm2015/lib/directive/rtl/set-dir-rtl.directive.js +0 -28
  911. package/esm2015/lib/directive/rtl/set-rtl.directive.js +0 -29
  912. package/esm2015/lib/nuxeo-development-framework.component.js +0 -26
  913. package/esm2015/lib/nuxeo-development-framework.module.js +0 -50
  914. package/esm2015/lib/nuxeo-development-framework.service.js +0 -14
  915. package/esm2015/lib/pipes/file-size.pipe.js +0 -57
  916. package/esm2015/lib/pipes/hijri-date.pipe.js +0 -46
  917. package/esm2015/lib/pipes/localized-date.pipe.js +0 -81
  918. package/esm2015/lib/pipes/multi-value.pipe.js +0 -42
  919. package/esm2015/lib/pipes/pipes.module.js +0 -29
  920. package/esm2015/lib/pipes/secure-html.pipe.js +0 -34
  921. package/esm2015/lib/pipes/secure.pipe.js +0 -40
  922. package/esm2015/lib/pipes/time-ago.pipe.js +0 -68
  923. package/esm2015/lib/shared/components/button/button.component.js +0 -90
  924. package/esm2015/lib/shared/components/item-list/item-list.component.js +0 -77
  925. package/esm2015/lib/shared/components/no-data/no-data.component.js +0 -41
  926. package/esm2015/lib/shared/components/read-more/read-more.component.js +0 -108
  927. package/esm2015/lib/shared/components/search-autocomplete/search-autocomplete.component.js +0 -146
  928. package/esm2015/lib/shared/components/spinner/spinner.component.js +0 -29
  929. package/esm2015/lib/shared/components/user-card/user-card.component.js +0 -49
  930. package/esm2015/lib/shared/libraryShared.module.js +0 -81
  931. package/esm2015/lib/shared-services/dialog-mangment.service.js +0 -61
  932. package/esm2015/lib/shared-services/dynamic-form.service.js +0 -241
  933. package/esm2015/lib/shared-services/file-manager.adapter.js +0 -74
  934. package/esm2015/lib/shared-services/file-manager.service.js +0 -794
  935. package/esm2015/lib/shared-services/global-admin.service.js +0 -22
  936. package/esm2015/lib/shared-services/global-pdftron.service.js +0 -46
  937. package/esm2015/lib/shared-services/mainfolder.service.js +0 -170
  938. package/esm2015/lib/shared-services/publishing-document.service.js +0 -202
  939. package/esm2015/lib/shared-services/recently-viewed.service.js +0 -57
  940. package/esm2015/lib/shared-services/shared-docs.service.js +0 -135
  941. package/esm2015/lib/shared-services/shared-services.module.js +0 -20
  942. package/esm2015/lib/shared-services/upload-file.service.js +0 -29
  943. package/esm2015/lib/shared-services/upload-managment.service.js +0 -151
  944. package/esm2015/lib/shared-services/user.service.js +0 -64
  945. package/esm2015/nuxeo-development-framework.js +0 -5
  946. package/esm2015/public-api.js +0 -239
  947. package/fesm2015/nuxeo-development-framework.js +0 -28579
  948. package/fesm2015/nuxeo-development-framework.js.map +0 -1
  949. package/lib/Core/adapters/adapter.service.d.ts +0 -11
  950. package/lib/Core/core.module.d.ts +0 -14
  951. package/lib/Core/enums/language.enum.d.ts +0 -4
  952. package/lib/Core/models/component.model.d.ts +0 -6
  953. package/lib/Core/services/callApi/call-api.service.d.ts +0 -11
  954. package/lib/Core/services/extension/action.extensions.d.ts +0 -31
  955. package/lib/Core/services/extension/component-register.service.d.ts +0 -17
  956. package/lib/Core/services/extension/extenion-utils.d.ts +0 -14
  957. package/lib/Core/services/extension/extension-element.d.ts +0 -5
  958. package/lib/Core/services/extension/extension-loader.service.d.ts +0 -28
  959. package/lib/Core/services/extension/extension.service.d.ts +0 -70
  960. package/lib/Core/services/initialization/initialization.service.d.ts +0 -31
  961. package/lib/Core/services/localStorag/local-storag.service.d.ts +0 -41
  962. package/lib/Core/services/nuxeo/new-nuxeo-overide.d.ts +0 -14
  963. package/lib/Core/services/nuxeo/nuxeo-override.d.ts +0 -8
  964. package/lib/Core/services/nuxeo/nuxeo.service.d.ts +0 -37
  965. package/lib/Core/services/roles/roles.service.d.ts +0 -12
  966. package/lib/Core/services/translation/translate-loader.service.d.ts +0 -26
  967. package/lib/Core/services/translation/translation.service.d.ts +0 -74
  968. package/lib/Core/services/user/user-preferences.service.d.ts +0 -80
  969. package/lib/Core/utilities/moment-date-adapter.d.ts +0 -37
  970. package/lib/Core/utilities/utility.service.d.ts +0 -11
  971. package/lib/components/activities-log/activities-log/activities-log.component.d.ts +0 -26
  972. package/lib/components/activities-log/activities-log/activities-log.service.d.ts +0 -9
  973. package/lib/components/activities-log/activities-log.module.d.ts +0 -12
  974. package/lib/components/activity/activity/activity.component.d.ts +0 -13
  975. package/lib/components/activity/activity.module.d.ts +0 -13
  976. package/lib/components/attachment-item/attachment-item/attachment-item.component.d.ts +0 -21
  977. package/lib/components/attachment-item/attachment-item.module.d.ts +0 -13
  978. package/lib/components/attachment-modal/attachment-modal.module.d.ts +0 -12
  979. package/lib/components/attachment-modal/attachments/attachments.component.d.ts +0 -50
  980. package/lib/components/avatar/avatar/avatar.component.d.ts +0 -23
  981. package/lib/components/avatar/avatar.module.d.ts +0 -13
  982. package/lib/components/card/card.component.d.ts +0 -32
  983. package/lib/components/card/card.module.d.ts +0 -12
  984. package/lib/components/comments/comments.module.d.ts +0 -26
  985. package/lib/components/comments/components/comment-item/comment-item.component.d.ts +0 -24
  986. package/lib/components/comments/components/comments-dashlet/comments-dashlet.component.d.ts +0 -46
  987. package/lib/components/comments/components/comments-list/comments-list.component.d.ts +0 -28
  988. package/lib/components/comments/components/edit-delete-modal/edit-delete-modal.component.d.ts +0 -22
  989. package/lib/components/comments/constants/comment.d.ts +0 -25
  990. package/lib/components/comments/services/comment-api.service.d.ts +0 -16
  991. package/lib/components/confirm-caller/confirm-caller.dialog.d.ts +0 -46
  992. package/lib/components/confirm-caller/confirm-caller.module.d.ts +0 -17
  993. package/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.d.ts +0 -12
  994. package/lib/components/confirmation-dialog/confirmation-dialog/confirmation-dialog.component.d.ts +0 -12
  995. package/lib/components/confirmation-dialog/confirmation-dialog.module.d.ts +0 -10
  996. package/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.d.ts +0 -34
  997. package/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.d.ts +0 -45
  998. package/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.d.ts +0 -31
  999. package/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.d.ts +0 -18
  1000. package/lib/components/correspondence-relation/components/versions/versions.component.d.ts +0 -47
  1001. package/lib/components/correspondence-relation/correspondence-relation.module.d.ts +0 -30
  1002. package/lib/components/correspondence-relation/services/correspondence-realation.service.d.ts +0 -26
  1003. package/lib/components/correspondence-relation/services/viewer-files.service.d.ts +0 -18
  1004. package/lib/components/create-entity/create-entity/create-entity.component.d.ts +0 -17
  1005. package/lib/components/create-entity/create-entity.module.d.ts +0 -11
  1006. package/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.d.ts +0 -43
  1007. package/lib/components/cts-tags/cts-tags.module.d.ts +0 -21
  1008. package/lib/components/cts-tags/services/tags-api.service.d.ts +0 -17
  1009. package/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.d.ts +0 -20
  1010. package/lib/components/custom-toastr/custom-toastr.module.d.ts +0 -12
  1011. package/lib/components/custom-toastr/interfaces/toast-type.interface.d.ts +0 -1
  1012. package/lib/components/custom-toastr/services/custom-toastr.service.d.ts +0 -18
  1013. package/lib/components/display-suitable-icon/display-suitable-icon/display-suitable-icon.component.d.ts +0 -17
  1014. package/lib/components/display-suitable-icon/display-suitable-icon/icon.service.d.ts +0 -8
  1015. package/lib/components/display-suitable-icon/display-suitable-icon.module.d.ts +0 -8
  1016. package/lib/components/documents/components/attachments-list/attachments-list.component.d.ts +0 -54
  1017. package/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.d.ts +0 -38
  1018. package/lib/components/documents/components/document-list/documents-list.component.d.ts +0 -81
  1019. package/lib/components/documents/components/document-scan/document-scan.component.d.ts +0 -112
  1020. package/lib/components/documents/components/document-scan/document-scan.service.d.ts +0 -14
  1021. package/lib/components/documents/components/document-upload/document-upload.component.d.ts +0 -60
  1022. package/lib/components/documents/components/documents/documents.component.d.ts +0 -27
  1023. package/lib/components/documents/constants/document-templates.d.ts +0 -33
  1024. package/lib/components/documents/constants/documents.d.ts +0 -95
  1025. package/lib/components/documents/documents.module.d.ts +0 -33
  1026. package/lib/components/documents/services/document-templates.service.d.ts +0 -24
  1027. package/lib/components/documents/services/documents.service.d.ts +0 -36
  1028. package/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.d.ts +0 -69
  1029. package/lib/components/dynamic-chart/dynamic-chart.module.d.ts +0 -16
  1030. package/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.d.ts +0 -33
  1031. package/lib/components/dynamic-chart/services/chart-data.service.d.ts +0 -37
  1032. package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer/dynamic-fields-renderer.component.d.ts +0 -138
  1033. package/lib/components/dynamic-fields-renderer/dynamic-fields-renderer.module.d.ts +0 -12
  1034. package/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.d.ts +0 -55
  1035. package/lib/components/dynamic-filter/dynamic-filter.module.d.ts +0 -17
  1036. package/lib/components/dynamic-form/components/department-form/department-form.component.d.ts +0 -28
  1037. package/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.d.ts +0 -27
  1038. package/lib/components/dynamic-form/components/dynamic-form/fields.adapter.d.ts +0 -6
  1039. package/lib/components/dynamic-form/components/dynamic-form/form-builder.service.d.ts +0 -21
  1040. package/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.d.ts +0 -17
  1041. package/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.d.ts +0 -57
  1042. package/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.d.ts +0 -35
  1043. package/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.d.ts +0 -71
  1044. package/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.d.ts +0 -52
  1045. package/lib/components/dynamic-form/components/dynamic-form-department/constants/department.d.ts +0 -12
  1046. package/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.d.ts +0 -81
  1047. package/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.d.ts +0 -31
  1048. package/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.d.ts +0 -21
  1049. package/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.d.ts +0 -30
  1050. package/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.d.ts +0 -64
  1051. package/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.d.ts +0 -25
  1052. package/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.d.ts +0 -15
  1053. package/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.d.ts +0 -45
  1054. package/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.d.ts +0 -43
  1055. package/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.d.ts +0 -65
  1056. package/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.d.ts +0 -88
  1057. package/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.d.ts +0 -16
  1058. package/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.d.ts +0 -80
  1059. package/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.d.ts +0 -40
  1060. package/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.d.ts +0 -71
  1061. package/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.d.ts +0 -94
  1062. package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.d.ts +0 -19
  1063. package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.d.ts +0 -110
  1064. package/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.d.ts +0 -20
  1065. package/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.d.ts +0 -79
  1066. package/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.d.ts +0 -599
  1067. package/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.d.ts +0 -13
  1068. package/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.d.ts +0 -2
  1069. package/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.d.ts +0 -13
  1070. package/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.d.ts +0 -2
  1071. package/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.component.d.ts +0 -16
  1072. package/lib/components/dynamic-form/components/form-wrappers/user-selector-wrapper/user-selector-wrapper.formio.d.ts +0 -2
  1073. package/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.d.ts +0 -13
  1074. package/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.d.ts +0 -2
  1075. package/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.d.ts +0 -9
  1076. package/lib/components/dynamic-form/dynamic-form.module.d.ts +0 -67
  1077. package/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.d.ts +0 -5
  1078. package/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.d.ts +0 -5
  1079. package/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.d.ts +0 -15
  1080. package/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.d.ts +0 -4
  1081. package/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.d.ts +0 -12
  1082. package/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.d.ts +0 -8
  1083. package/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.d.ts +0 -10
  1084. package/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.d.ts +0 -5
  1085. package/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.d.ts +0 -8
  1086. package/lib/components/dynamic-form/models/dynamic-form-baseitem.model.d.ts +0 -21
  1087. package/lib/components/dynamic-form/models/dynamic-form-boolitem.model.d.ts +0 -11
  1088. package/lib/components/dynamic-form/models/dynamic-form-dateitem.model.d.ts +0 -13
  1089. package/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.d.ts +0 -9
  1090. package/lib/components/dynamic-form/models/dynamic-form-mapitem.model.d.ts +0 -8
  1091. package/lib/components/dynamic-form/models/dynamic-form-selectitem.model.d.ts +0 -11
  1092. package/lib/components/dynamic-form/models/dynamic-form-textitem.model.d.ts +0 -15
  1093. package/lib/components/dynamic-form/services/card-item-types.service.d.ts +0 -13
  1094. package/lib/components/dynamic-form/services/dynamic-component-mapper.service.d.ts +0 -36
  1095. package/lib/components/dynamic-form/services/dynamic-form-update.service.d.ts +0 -25
  1096. package/lib/components/dynamic-form/validators/length-validator.d.ts +0 -7
  1097. package/lib/components/dynamic-form/validators/regex-validator.d.ts +0 -7
  1098. package/lib/components/dynamic-form/validators/required-validator.d.ts +0 -5
  1099. package/lib/components/dynamic-form/validators/value-validator.d.ts +0 -7
  1100. package/lib/components/dynamic-search/dynamic-search/dynamic-search.component.d.ts +0 -101
  1101. package/lib/components/dynamic-search/dynamic-search.module.d.ts +0 -20
  1102. package/lib/components/dynamic-table/dynamic-table/dynamic-table.component.d.ts +0 -112
  1103. package/lib/components/dynamic-table/dynamic-table.module.d.ts +0 -16
  1104. package/lib/components/dynamic-table/services/dynamic-table.service.d.ts +0 -8
  1105. package/lib/components/dynamic-tabs/dynamic-tabs/dynamic-tabs.component.d.ts +0 -13
  1106. package/lib/components/dynamic-tabs/dynamic-tabs.module.d.ts +0 -11
  1107. package/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.d.ts +0 -13
  1108. package/lib/components/dynamic-view/custom-document-viewer/custom-document-viewer.component.d.ts +0 -22
  1109. package/lib/components/dynamic-view/custom-pp-viewer/custom-pp-viewer.component.d.ts +0 -28
  1110. package/lib/components/dynamic-view/cutome-voc-viewer/cutome-voc-viewer.component.d.ts +0 -16
  1111. package/lib/components/dynamic-view/data-viewer/data-viewer.component.d.ts +0 -12
  1112. package/lib/components/dynamic-view/date-viewer/date-viewer.component.d.ts +0 -22
  1113. package/lib/components/dynamic-view/department-viewer/department-viewer.component.d.ts +0 -30
  1114. package/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.d.ts +0 -39
  1115. package/lib/components/dynamic-view/dynamic-view.module.d.ts +0 -24
  1116. package/lib/components/dynamic-view/dynamic-viewe.service.d.ts +0 -15
  1117. package/lib/components/dynamic-view/list-viewer/list-viewer.component.d.ts +0 -20
  1118. package/lib/components/file-manger/components/add-to-collection/add-to-collection.component.d.ts +0 -31
  1119. package/lib/components/file-manger/components/clipboard/clipboard.component.d.ts +0 -41
  1120. package/lib/components/file-manger/components/copy/copy.component.d.ts +0 -33
  1121. package/lib/components/file-manger/components/create-directory/create-directory.component.d.ts +0 -24
  1122. package/lib/components/file-manger/components/create-modal/create-modal.component.d.ts +0 -110
  1123. package/lib/components/file-manger/components/creation-type/creation-type.component.d.ts +0 -11
  1124. package/lib/components/file-manger/components/delete/delete.component.d.ts +0 -24
  1125. package/lib/components/file-manger/components/folder-modal/folder-modal.component.d.ts +0 -59
  1126. package/lib/components/file-manger/components/loan-request/loan-request.component.d.ts +0 -23
  1127. package/lib/components/file-manger/components/move/move.component.d.ts +0 -33
  1128. package/lib/components/file-manger/components/publish-dialog/publish-dialog.component.d.ts +0 -37
  1129. package/lib/components/file-manger/components/rename/rename.component.d.ts +0 -24
  1130. package/lib/components/file-manger/components/scan-modal/scan-modal.component.d.ts +0 -95
  1131. package/lib/components/file-manger/components/share-dialog/share-dialog.component.d.ts +0 -58
  1132. package/lib/components/file-manger/components/sidepanel/sidepanel.component.d.ts +0 -62
  1133. package/lib/components/file-manger/components/template-modal/template-modal.component.d.ts +0 -34
  1134. package/lib/components/file-manger/components/transfer-doc/transfer-doc.component.d.ts +0 -23
  1135. package/lib/components/file-manger/components/update-modal/update-modal.component.d.ts +0 -195
  1136. package/lib/components/file-manger/file-manager.abstract.d.ts +0 -173
  1137. package/lib/components/file-manger/file-manger.module.d.ts +0 -59
  1138. package/lib/components/filter/filter/filter.component.d.ts +0 -31
  1139. package/lib/components/filter/filter.module.d.ts +0 -15
  1140. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.d.ts +0 -35
  1141. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.d.ts +0 -35
  1142. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.d.ts +0 -39
  1143. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.d.ts +0 -9
  1144. package/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.d.ts +0 -15
  1145. package/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.d.ts +0 -15
  1146. package/lib/components/hijri-gregorian-datepicker/services/date-helper.service.d.ts +0 -9
  1147. package/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.d.ts +0 -11
  1148. package/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.d.ts +0 -10
  1149. package/lib/components/hijri-gregorian-datepicker/utils/consts.d.ts +0 -4
  1150. package/lib/components/latest-activity/components/activity-line/activity-line.component.d.ts +0 -19
  1151. package/lib/components/latest-activity/components/latest-activity/latest-activity.component.d.ts +0 -21
  1152. package/lib/components/latest-activity/components/single-activity/single-activity.component.d.ts +0 -13
  1153. package/lib/components/latest-activity/constants/activitylog.d.ts +0 -82
  1154. package/lib/components/latest-activity/latest-activity.module.d.ts +0 -19
  1155. package/lib/components/latest-activity/services/activity-log.service.d.ts +0 -12
  1156. package/lib/components/mutiple-dynamic-form-viewer/multiple-dynamic-form-viewer/multiple-dynamic-form-viewer.component.d.ts +0 -17
  1157. package/lib/components/mutiple-dynamic-form-viewer/mutiple-dynamic-form-viewer.module.d.ts +0 -10
  1158. package/lib/components/notifications/components/notification-item/notification-item.component.d.ts +0 -25
  1159. package/lib/components/notifications/components/notification-options/notification-options.component.d.ts +0 -10
  1160. package/lib/components/notifications/components/notification-toast/notification-toast.component.d.ts +0 -19
  1161. package/lib/components/notifications/components/notifications-button/notifications-button.component.d.ts +0 -32
  1162. package/lib/components/notifications/components/notifications-list/notifications-list.component.d.ts +0 -57
  1163. package/lib/components/notifications/notifications.module.d.ts +0 -25
  1164. package/lib/components/notifications/notifications.service.d.ts +0 -87
  1165. package/lib/components/pagination/pagination/pagination.component.d.ts +0 -46
  1166. package/lib/components/pagination/pagination.module.d.ts +0 -13
  1167. package/lib/components/pdf-tron/pdf-tron.module.d.ts +0 -8
  1168. package/lib/components/pdf-tron/pdftron/pdftron.component.d.ts +0 -107
  1169. package/lib/components/pdf-tron/pdftron/pdftron.service.d.ts +0 -33
  1170. package/lib/components/permissions/add-permissions-dialog/add-permissions-dialog.component.d.ts +0 -44
  1171. package/lib/components/permissions/permission.service.d.ts +0 -21
  1172. package/lib/components/permissions/permissions/permissions.component.d.ts +0 -48
  1173. package/lib/components/permissions/permissions-template/permissions-template.component.d.ts +0 -22
  1174. package/lib/components/permissions/permissions.module.d.ts +0 -21
  1175. package/lib/components/select/select/select.component.d.ts +0 -43
  1176. package/lib/components/select/select.module.d.ts +0 -12
  1177. package/lib/components/select-users-by-department/select-users-by-department.module.d.ts +0 -13
  1178. package/lib/components/select-users-by-department/select-users-by-departments/department-management.service.d.ts +0 -10
  1179. package/lib/components/select-users-by-department/select-users-by-departments/select-users-by-departments.component.d.ts +0 -33
  1180. package/lib/components/table/dynamic-column/dynamic-column.component.d.ts +0 -19
  1181. package/lib/components/table/table/table.component.d.ts +0 -113
  1182. package/lib/components/table/table.module.d.ts +0 -21
  1183. package/lib/components/user/user/user.component.d.ts +0 -13
  1184. package/lib/components/user/user.module.d.ts +0 -10
  1185. package/lib/components/users-card/users-card.component.d.ts +0 -22
  1186. package/lib/components/users-card/users-card.module.d.ts +0 -17
  1187. package/lib/components/viewer-log/components/viewer-log/viewer-log.component.d.ts +0 -12
  1188. package/lib/components/viewer-log/viewer-log.module.d.ts +0 -10
  1189. package/lib/components/vocabulary/interfaces/op-type.interface.d.ts +0 -1
  1190. package/lib/components/vocabulary/services/vocabulary-api.service.d.ts +0 -16
  1191. package/lib/components/vocabulary/vocabulary/vocabulary.component.d.ts +0 -37
  1192. package/lib/components/vocabulary/vocabulary.module.d.ts +0 -11
  1193. package/lib/configuration/app-config.service.d.ts +0 -14
  1194. package/lib/configuration/helpers/app-initializer.d.ts +0 -2
  1195. package/lib/directive/app-has-role/app-has-role.directive.d.ts +0 -18
  1196. package/lib/directive/clickOutSide/click-outside.directive.d.ts +0 -11
  1197. package/lib/directive/directive.module.d.ts +0 -17
  1198. package/lib/directive/drag-and-drop/drag-and-drop.directive.d.ts +0 -11
  1199. package/lib/directive/permissions/evaluators.service.d.ts +0 -37
  1200. package/lib/directive/permissions/permissions.directive.d.ts +0 -42
  1201. package/lib/directive/rtl/set-dir-rtl.directive.d.ts +0 -13
  1202. package/lib/directive/rtl/set-rtl.directive.d.ts +0 -13
  1203. package/lib/nuxeo-development-framework.component.d.ts +0 -8
  1204. package/lib/nuxeo-development-framework.module.d.ts +0 -13
  1205. package/lib/nuxeo-development-framework.service.d.ts +0 -6
  1206. package/lib/pipes/file-size.pipe.d.ts +0 -34
  1207. package/lib/pipes/hijri-date.pipe.d.ts +0 -32
  1208. package/lib/pipes/localized-date.pipe.d.ts +0 -44
  1209. package/lib/pipes/multi-value.pipe.d.ts +0 -32
  1210. package/lib/pipes/pipes.module.d.ts +0 -18
  1211. package/lib/pipes/secure-html.pipe.d.ts +0 -26
  1212. package/lib/pipes/secure.pipe.d.ts +0 -29
  1213. package/lib/pipes/time-ago.pipe.d.ts +0 -34
  1214. package/lib/shared/components/button/button.component.d.ts +0 -39
  1215. package/lib/shared/components/item-list/item-list.component.d.ts +0 -45
  1216. package/lib/shared/components/no-data/no-data.component.d.ts +0 -22
  1217. package/lib/shared/components/read-more/read-more.component.d.ts +0 -37
  1218. package/lib/shared/components/search-autocomplete/search-autocomplete.component.d.ts +0 -51
  1219. package/lib/shared/components/spinner/spinner.component.d.ts +0 -18
  1220. package/lib/shared/components/user-card/user-card.component.d.ts +0 -30
  1221. package/lib/shared/libraryShared.module.d.ts +0 -26
  1222. package/lib/shared-services/dialog-mangment.service.d.ts +0 -15
  1223. package/lib/shared-services/dynamic-form.service.d.ts +0 -24
  1224. package/lib/shared-services/file-manager.adapter.d.ts +0 -48
  1225. package/lib/shared-services/file-manager.service.d.ts +0 -94
  1226. package/lib/shared-services/global-admin.service.d.ts +0 -11
  1227. package/lib/shared-services/global-pdftron.service.d.ts +0 -10
  1228. package/lib/shared-services/mainfolder.service.d.ts +0 -32
  1229. package/lib/shared-services/publishing-document.service.d.ts +0 -25
  1230. package/lib/shared-services/recently-viewed.service.d.ts +0 -17
  1231. package/lib/shared-services/shared-docs.service.d.ts +0 -21
  1232. package/lib/shared-services/shared-services.module.d.ts +0 -7
  1233. package/lib/shared-services/upload-file.service.d.ts +0 -10
  1234. package/lib/shared-services/upload-managment.service.d.ts +0 -72
  1235. package/lib/shared-services/user.service.d.ts +0 -12
  1236. package/nuxeo-development-framework.d.ts +0 -5
  1237. package/public-api.d.ts +0 -226
  1238. /package/{lib/components/dynamic-form/interfaces/dynamic-form.interfaces.d.ts → src/lib/components/dynamic-form/interfaces/dynamic-form.interfaces.ts} +0 -0
  1239. /package/{lib/components/dynamic-form/models/dynamic-form.models.d.ts → src/lib/components/dynamic-form/models/dynamic-form.models.ts} +0 -0
@@ -1,113 +0,0 @@
1
- import { CommonModule, DatePipe } from '@angular/common';
2
- import { NgModule } from '@angular/core';
3
- import { RouterModule } from '@angular/router';
4
- import { InfiniteScrollModule } from 'ngx-infinite-scroll';
5
- import { NotificationItemComponent } from './components/notification-item/notification-item.component';
6
- import { NotificationOptionsComponent } from './components/notification-options/notification-options.component';
7
- import { NotificationsButtonComponent } from './components/notifications-button/notifications-button.component';
8
- import { NotificationsListComponent } from './components/notifications-list/notifications-list.component';
9
- import { NotificationsService } from './notifications.service';
10
- import { MatListModule } from '@angular/material/list';
11
- import { MatMenuModule } from '@angular/material/menu';
12
- import { MatIconModule } from '@angular/material/icon';
13
- import { TranslateModule } from '@ngx-translate/core';
14
- import { MatProgressSpinnerModule, } from '@angular/material/progress-spinner';
15
- import { MatTooltipModule } from '@angular/material/tooltip';
16
- import { MatBadgeModule } from '@angular/material/badge';
17
- import { MatToolbarModule } from '@angular/material/toolbar';
18
- import { NotificationToastComponent } from './components/notification-toast/notification-toast.component';
19
- import { PipesModule } from '../../pipes/pipes.module';
20
- import { MatSlideToggleModule } from '@angular/material/slide-toggle';
21
- import * as i0 from "@angular/core";
22
- /** @ignore */
23
- export class NotificationsModule {
24
- }
25
- NotificationsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NotificationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
26
- NotificationsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NotificationsModule, declarations: [NotificationsListComponent,
27
- NotificationsButtonComponent,
28
- NotificationItemComponent,
29
- NotificationOptionsComponent,
30
- NotificationToastComponent], imports: [CommonModule,
31
- RouterModule,
32
- InfiniteScrollModule,
33
- MatListModule,
34
- PipesModule,
35
- MatMenuModule,
36
- MatIconModule,
37
- TranslateModule,
38
- MatProgressSpinnerModule,
39
- MatTooltipModule,
40
- InfiniteScrollModule,
41
- MatBadgeModule,
42
- TranslateModule,
43
- MatToolbarModule,
44
- MatSlideToggleModule], exports: [NotificationsListComponent,
45
- NotificationsButtonComponent,
46
- NotificationItemComponent,
47
- NotificationOptionsComponent] });
48
- NotificationsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NotificationsModule, providers: [
49
- DatePipe,
50
- NotificationsService,
51
- ], imports: [[
52
- CommonModule,
53
- RouterModule,
54
- InfiniteScrollModule,
55
- MatListModule,
56
- PipesModule,
57
- MatMenuModule,
58
- MatIconModule,
59
- TranslateModule,
60
- MatProgressSpinnerModule,
61
- MatTooltipModule,
62
- InfiniteScrollModule,
63
- MatBadgeModule,
64
- TranslateModule,
65
- MatToolbarModule,
66
- MatSlideToggleModule
67
- ]] });
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NotificationsModule, decorators: [{
69
- type: NgModule,
70
- args: [{
71
- imports: [
72
- CommonModule,
73
- RouterModule,
74
- InfiniteScrollModule,
75
- MatListModule,
76
- PipesModule,
77
- MatMenuModule,
78
- MatIconModule,
79
- TranslateModule,
80
- MatProgressSpinnerModule,
81
- MatTooltipModule,
82
- InfiniteScrollModule,
83
- MatBadgeModule,
84
- TranslateModule,
85
- MatToolbarModule,
86
- MatSlideToggleModule
87
- ],
88
- declarations: [
89
- NotificationsListComponent,
90
- NotificationsButtonComponent,
91
- NotificationItemComponent,
92
- NotificationOptionsComponent,
93
- NotificationToastComponent,
94
- ],
95
- exports: [
96
- NotificationsListComponent,
97
- NotificationsButtonComponent,
98
- NotificationItemComponent,
99
- NotificationOptionsComponent,
100
- ],
101
- providers: [
102
- DatePipe,
103
- NotificationsService,
104
- ],
105
- entryComponents: [
106
- NotificationsListComponent,
107
- NotificationsButtonComponent,
108
- NotificationItemComponent,
109
- NotificationOptionsComponent,
110
- ],
111
- }]
112
- }] });
113
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9udXhlby1kZXZlbG9wbWVudC1mcmFtZXdvcmsvc3JjL2xpYi9jb21wb25lbnRzL25vdGlmaWNhdGlvbnMvbm90aWZpY2F0aW9ucy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxRQUFRLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUV6RCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUMzRCxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSw0REFBNEQsQ0FBQztBQUN2RyxPQUFPLEVBQUUsNEJBQTRCLEVBQUUsTUFBTSxrRUFBa0UsQ0FBQztBQUNoSCxPQUFPLEVBQUUsNEJBQTRCLEVBQUUsTUFBTSxrRUFBa0UsQ0FBQztBQUNoSCxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSw4REFBOEQsQ0FBQztBQUMxRyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUMv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cHRpb25zQ29tcG9uZW50LFxyXG4gIF0sXHJcbiAgcHJvdmlkZXJzOiBbXHJcbiAgICBEYXRlUGlwZSxcclxuICAgIE5vdGlmaWNhdGlvbnNTZXJ2aWNlLFxyXG4gIF0sXHJcbiAgZW50cnlDb21wb25lbnRzOiBbXHJcbiAgICBOb3RpZmljYXRpb25zTGlzdENvbXBvbmVudCxcclxuICAgIE5vdGlmaWNhdGlvbnNCdXR0b25Db21wb25lbnQsXHJcbiAgICBOb3RpZmljYXRpb25JdGVtQ29tcG9uZW50LFxyXG4gICAgTm90aWZpY2F0aW9uT3B0aW9uc0NvbXBvbmVudCxcclxuICBdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgTm90aWZpY2F0aW9uc01vZHVsZSB7fVxyXG4iXX0=
@@ -1,358 +0,0 @@
1
- import { __awaiter } from "tslib";
2
- import { EventEmitter, Inject, Injectable } from "@angular/core";
3
- import { from, of, ReplaySubject } from "rxjs";
4
- import { catchError, map, publishReplay, refCount } from "rxjs/operators";
5
- import * as SockJS from "sockjs-client";
6
- import * as Stomp from "webstomp-client";
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "@angular/common/http";
9
- import * as i2 from "@angular/router";
10
- import * as i3 from "../../Core/services/nuxeo/nuxeo.service";
11
- import * as i4 from "keycloak-angular";
12
- import * as i5 from "ngx-cookie-service";
13
- import * as i6 from "../../Core/services/localStorag/local-storag.service";
14
- import * as i7 from "../../Core/services/initialization/initialization.service";
15
- import * as i8 from "../../Core/services/translation/translation.service";
16
- export class NotificationsService {
17
- constructor(http, router, nuxeoService, keycloak, cookieService, localStorag, intializationService, translationService, environment) {
18
- this.http = http;
19
- this.router = router;
20
- this.nuxeoService = nuxeoService;
21
- this.keycloak = keycloak;
22
- this.cookieService = cookieService;
23
- this.localStorag = localStorag;
24
- this.intializationService = intializationService;
25
- this.translationService = translationService;
26
- this.environment = environment;
27
- this.stompClient = null;
28
- this.subscriber = null;
29
- this.connectedPromise = null;
30
- this.listenerObserver = new EventEmitter();
31
- this.update = new ReplaySubject(1);
32
- this.alreadyConnectedOnce = false;
33
- this.pageSize = 15;
34
- this._notifications = [];
35
- this._notificationsCount = 0;
36
- this.base = "";
37
- this.profile = { id: this.nuxeoService.nuxeoClient.user.id };
38
- this.systemLang = "";
39
- this.loading = false;
40
- this.selectedFilterType = {
41
- name: 'all',
42
- id: 'all'
43
- };
44
- this.isReaded = false;
45
- this.showFilters = false;
46
- this.types = [
47
- { name: 'all', id: 'all' },
48
- { name: 'correspondence', id: 'correspondence' },
49
- { name: 'assignment', id: 'assignment' },
50
- { name: 'workspace', id: 'corrWorkspace' },
51
- { name: 'approvals', id: 'approval' }
52
- ];
53
- this.storedNotifications = []; // to store all notification in it so when filtering not losing all data
54
- if (this.profile.id) {
55
- this.getCount().subscribe(() => {
56
- this.connect();
57
- this.subscribe();
58
- });
59
- }
60
- this.translationService.isArabic.subscribe((res) => {
61
- this.resetNotifications();
62
- });
63
- }
64
- get notifications() {
65
- return this._notifications;
66
- }
67
- get notificationsCount() {
68
- return this._notificationsCount;
69
- }
70
- getCount() {
71
- return this.doCountNew(this.profile.id).pipe(map((data) => {
72
- this._notificationsCount = data;
73
- this.update.next();
74
- return data;
75
- }));
76
- }
77
- reset() {
78
- this._notifications = [];
79
- this.storedNotifications = [];
80
- this._notificationsCount = 0;
81
- }
82
- resetNotifications() {
83
- this._notifications = [];
84
- this.storedNotifications = [];
85
- }
86
- resetFilterParams() {
87
- this.selectedFilterType = { name: 'all', id: 'all' };
88
- this.isReaded = false;
89
- }
90
- fetchNotifications() {
91
- this.loading = true;
92
- return this.getNotifications(this.profile.id, {
93
- page: this._notifications.length > 0
94
- ? Math.ceil(this._notifications.length / this.pageSize)
95
- : 0,
96
- size: this.pageSize,
97
- paged: true,
98
- sort: "sendDate,desc",
99
- sorted: true,
100
- lang: this.translationService.userLang.toUpperCase(),
101
- }).pipe(map((notifications) => {
102
- this.loading = false;
103
- if (notifications.items) {
104
- if (this.showFilters) {
105
- this.storedNotifications = this.storedNotifications.concat(notifications.items);
106
- this._notifications = this._notifications.concat(this.filterNotifications(notifications.items));
107
- }
108
- else {
109
- this._notifications = this._notifications.concat(notifications.items);
110
- }
111
- return notifications;
112
- }
113
- else {
114
- this._notifications = [];
115
- return [];
116
- }
117
- }), catchError(() => {
118
- this._notifications = [];
119
- this.storedNotifications = [];
120
- this.loading = false;
121
- return [];
122
- }));
123
- }
124
- // filter notifcations in front end according to the selected filters
125
- filterNotifications(notifications) {
126
- let filteredNotifications = [];
127
- if (this.selectedFilterType.name === 'all') {
128
- if (this.isReaded) {
129
- // find readed notifications on all types of notifications
130
- return this.findReadOrUnReadedNotification('READ', notifications);
131
- }
132
- else {
133
- // find un readed notifications on all types of notifications
134
- return this.findReadOrUnReadedNotification('UN_READ', notifications);
135
- }
136
- }
137
- else {
138
- let requiredState = this.isReaded ? 'READ' : 'UN_READ';
139
- notifications.map(notification => {
140
- if (notification.sourceType === this.selectedFilterType.id && notification.status === requiredState) {
141
- filteredNotifications.push(notification);
142
- }
143
- });
144
- return filteredNotifications;
145
- }
146
- }
147
- // find a notification according to its state READ or UN_READ
148
- findReadOrUnReadedNotification(state, notifications) {
149
- let statedNotifications = [];
150
- notifications.map(notification => {
151
- if (notification.status === state) {
152
- statedNotifications.push(notification);
153
- }
154
- });
155
- return statedNotifications;
156
- }
157
- resetCount() {
158
- this._notificationsCount = 0;
159
- }
160
- markAllAsRead() {
161
- this.doMarkAllAsRead(this.profile.id).subscribe(() => {
162
- this._notifications.forEach((item) => (item.status = "READ"));
163
- });
164
- }
165
- updateStatus(notification, onOpen = false) {
166
- const bool = notification.status === "UN_READ" ||
167
- notification.status === "NEW" ||
168
- onOpen;
169
- if (bool) {
170
- this.doMarkAsRead(notification.id).subscribe(() => {
171
- notification.status = "READ";
172
- this.getCount().subscribe(() => { });
173
- });
174
- }
175
- else {
176
- this.doMarkAsUnread(notification.id).subscribe(() => {
177
- notification.status = "UN_READ";
178
- this.getCount().subscribe(() => { });
179
- });
180
- }
181
- }
182
- deleteNotification(notification) {
183
- this.doDeleteNotification(notification.id).subscribe(() => {
184
- this._notifications.filter((item, index) => {
185
- if (item.id === notification.id) {
186
- this._notifications.splice(index, 1);
187
- return;
188
- }
189
- });
190
- this.update.next();
191
- });
192
- }
193
- getNotifications(userId, queryParams = {}) {
194
- const endpoint = `${this.environment.notifications}/api/system-notifications/all/${userId}`;
195
- return this.http
196
- .get(endpoint, { observe: "response", params: queryParams })
197
- .pipe(map((resp) => ({
198
- totalCount: resp.headers.get("x-total-count"),
199
- items: resp.body.map((item) => item),
200
- })), catchError(this.handleError("getNotifications", [])), publishReplay(1), refCount());
201
- }
202
- doCountNew(userId, queryParams = {}) {
203
- const endpoint = `${this.environment.notifications}/api/system-notifications/countNew/${userId}`;
204
- return this.http
205
- .get(endpoint, { params: queryParams })
206
- .pipe(catchError(this.handleError("countNew", [])));
207
- }
208
- doResetCountNew(userId, queryParams = {}) {
209
- const endpoint = `${this.environment.notifications}/api/system-notifications/resetCount/${userId}`;
210
- return this.http
211
- .put(endpoint, { params: queryParams })
212
- .pipe(catchError(this.handleError("resetCountNew", [])));
213
- }
214
- doCountUnread(userId, queryParams = {}) {
215
- const endpoint = `${this.environment.notifications}/api/system-notifications/countUnRead/${userId}`;
216
- return this.http
217
- .get(endpoint, { params: queryParams })
218
- .pipe(catchError(this.handleError("countUnread", [])));
219
- }
220
- doMarkAllAsRead(userId, queryParams = {}) {
221
- const endpoint = `${this.environment.notifications}/api/system-notifications/markAllAsRead/${userId}`;
222
- return this.http
223
- .put(endpoint, { params: queryParams })
224
- .pipe(catchError(this.handleError("markAllAsRead", [])));
225
- }
226
- doMarkAsRead(notificationId, queryParams = {}) {
227
- const endpoint = `${this.environment.notifications}/api/system-notifications/markAsRead/${notificationId}`;
228
- return this.http
229
- .put(endpoint, { params: queryParams })
230
- .pipe(catchError(this.handleError("markAsRead", [])));
231
- }
232
- doMarkAsUnread(notificationId, queryParams = {}) {
233
- const endpoint = `${this.environment.notifications}/api/system-notifications/markAsUnRead/${notificationId}`;
234
- return this.http
235
- .put(endpoint, { params: queryParams })
236
- .pipe(catchError(this.handleError("markAsUnread", [])));
237
- }
238
- doDeleteNotification(notificationId, queryParams = {}) {
239
- const endpoint = `${this.environment.notifications}/api/system-notifications/${notificationId}`;
240
- return this.http
241
- .delete(endpoint, { params: queryParams })
242
- .pipe(catchError(this.handleError("deleteNotification", [])));
243
- }
244
- handleError(operation = "operation", result) {
245
- return (error) => {
246
- // TODO: send the error to remote logging infrastructure
247
- console.error(error); // log to console instead
248
- // TODO: better job of transforming error for user consumption
249
- console.log(`${operation} failed: ${error.message}`);
250
- // Let the app keep running by returning an empty result.
251
- result["status"] = error.status;
252
- if (error.error.hasOwnProperty("message")) {
253
- result["message"] = error.error.message;
254
- result["type"] = error.error.type;
255
- }
256
- return of(result);
257
- };
258
- }
259
- connect() {
260
- return __awaiter(this, void 0, void 0, function* () {
261
- if (this.connectedPromise === null) {
262
- this.connection = this.createConnection();
263
- }
264
- // building absolute path so that websocket doesn't fail when deploying with a context path
265
- let url;
266
- url = `${this.environment.notifications}/websocket/ekhaa`; //url
267
- const socket = new SockJS(url);
268
- this.stompClient = Stomp.over(socket);
269
- const headers = {
270
- // Upgrade: 'websocket',
271
- // Connection: 'Upgrade',
272
- token: this.environment.loginMethod === 'nuxeo' ? this.getCachable() : `${yield this.keycloak.getToken()}`,
273
- };
274
- if (!this.alreadyConnectedOnce) {
275
- this.stompClient.connect(headers, () => {
276
- this.alreadyConnectedOnce = true;
277
- this.connectedPromise("success");
278
- this.connectedPromise = null;
279
- });
280
- }
281
- });
282
- }
283
- disconnect() {
284
- if (this.stompClient !== null && this.alreadyConnectedOnce) {
285
- this.stompClient.disconnect();
286
- this.stompClient = null;
287
- if (this.subscription) {
288
- this.subscription.unsubscribe();
289
- this.subscription = null;
290
- }
291
- this.alreadyConnectedOnce = false;
292
- }
293
- else if (this.connectedPromise) {
294
- this.connection.then(() => {
295
- this.disconnect();
296
- });
297
- }
298
- }
299
- subscribe() {
300
- if (this.connection) {
301
- this.connection.then(() => {
302
- if (this.stompClient) {
303
- this.subscriber = this.stompClient.subscribe("/user/topic/notification", (data) => {
304
- const notification = JSON.parse(data.body);
305
- this._notifications.unshift(notification);
306
- this.getCount().subscribe(() => { });
307
- this.listenerObserver.emit(notification);
308
- });
309
- }
310
- });
311
- }
312
- }
313
- unsubscribe() {
314
- if (this.subscriber !== null) {
315
- this.subscriber.unsubscribe();
316
- }
317
- this.disconnect();
318
- }
319
- createConnection() {
320
- return new Promise((resolve, reject) => (this.connectedPromise = resolve));
321
- }
322
- testNotification() {
323
- return from(this.nuxeoService.nuxeoClient
324
- .operation("System.Notification", {
325
- url: `${this.environment.nuxeo}${this.environment.customAutomation}`,
326
- })
327
- .params({
328
- applicationKey: "ctsn",
329
- notificationKey: "NotificationWhenOutgoingCorrespondneceApprove",
330
- apiData: '{"id": "a7ed629e-c8ea-4e84-8b83-329009515878","schema": "Correspondence"}',
331
- data: "{}",
332
- groupsId: [],
333
- usersId: ["cts_sec"],
334
- })
335
- .input("a7ed629e-c8ea-4e84-8b83-329009515878")
336
- .execute()).pipe(catchError((err) => {
337
- console.log(err);
338
- throw err;
339
- }));
340
- }
341
- getCachable() {
342
- let myCachable = this.cookieService.get('CMS_CACHABLE');
343
- myCachable = this.intializationService.decriptFormating(myCachable);
344
- return myCachable['access_token'];
345
- }
346
- setNotifications(notifications) {
347
- this._notifications = notifications;
348
- }
349
- }
350
- NotificationsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NotificationsService, deps: [{ token: i1.HttpClient }, { token: i2.Router }, { token: i3.NuxeoService }, { token: i4.KeycloakService }, { token: i5.CookieService }, { token: i6.LocalStoragService }, { token: i7.InitializationService }, { token: i8.TranslationService }, { token: "environment" }], target: i0.ɵɵFactoryTarget.Injectable });
351
- NotificationsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NotificationsService });
352
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NotificationsService, decorators: [{
353
- type: Injectable
354
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i2.Router }, { type: i3.NuxeoService }, { type: i4.KeycloakService }, { type: i5.CookieService }, { type: i6.LocalStoragService }, { type: i7.InitializationService }, { type: i8.TranslationService }, { type: undefined, decorators: [{
355
- type: Inject,
356
- args: ["environment"]
357
- }] }]; } });
358
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbnV4ZW8tZGV2ZWxvcG1lbnQtZnJhbWV3b3JrL3NyYy9saWIvY29tcG9uZW50cy9ub3RpZmljYXRpb25zL25vdGlmaWNhdGlvbnMuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQ0EsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBR2pFLE9BQU8sRUFBRSxJQUFJLEVBQWMsRUFBRSxFQUFFLGFBQWEsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUMzRCxPQUFPLEVBQUUsVUFBVSxFQUFFLEdBQUcsRUFBRSxhQUFhLEVBQUUsUUFBUSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDMUUsT0FBTyxLQUFLLE1BQU0sTUFBTSxlQUFlLENBQUM7QUFFeEMsT0FBTyxLQUFLLEtBQUssTUFBTSxpQkFBaUIsQ0FBQzs7Ozs7Ozs7OztBQU96QyxNQUFNLE9BQU8sb0JBQW9CO0lBdUMvQixZQUNVLElBQWdCLEVBQ2pCLE1BQWMsRUFDZCxZQUEwQixFQUN6QixRQUF5QixF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hpcy5zdWJzY3JpcHRpb24pIHtcclxuICAgICAgICB0aGlzLnN1YnNjcmlwdGlvbi51bnN1YnNjcmliZSgpO1xyXG4gICAgICAgIHRoaXMuc3Vic2NyaXB0aW9uID0gbnVsbDtcclxuICAgICAgfVxyXG4gICAgICB0aGlzLmFscmVhZHlDb25uZWN0ZWRPbmNlID0gZmFsc2U7XHJcbiAgICB9IGVsc2UgaWYgKHRoaXMuY29ubmVjdGVkUHJvbWlzZSkge1xyXG4gICAgICB0aGlzLmNvbm5lY3Rpb24udGhlbigoKSA9PiB7XHJcbiAgICAgICAgdGhpcy5kaXNjb25uZWN0KCk7XHJcbiAgICAgIH0pO1xyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgc3Vic2NyaWJlKCkge1xyXG4gICAgaWYgKHRoaXMuY29ubmVjdGlvbikge1xyXG4gICAgICB0aGlzLmNvbm5lY3Rpb24udGhlbigoKSA9PiB7XHJcbiAgICAgICAgaWYgKHRoaXMuc3RvbXBDbGllbnQpIHtcclxuICAgICAgICAgIHRoaXMuc3Vic2NyaWJlciA9IHRoaXMuc3RvbXBDbGllbnQuc3Vic2NyaWJlKFxyXG4gICAgICAgICAgICBcIi91c2VyL3RvcGljL25vdGlmaWNhdGlvblwiLFxyXG4gICAgICAgICAgICAoZGF0YSkgPT4ge1xyXG4gICAgICAgICAgICAgIGNvbnN0IG5vdGlmaWNhdGlvbiA9IEpTT04ucGFyc2UoZGF0YS5ib2R5KTtcclxuICAgICAgICAgICAgICB0aGlzLl9ub3RpZmljYXRpb25zLnVuc2hpZnQobm90aWZpY2F0aW9uKTtcclxuICAgICAgICAgICAgICB0aGlzLmdldENvdW50KCkuc3Vic2NyaWJlKCgpID0+IHt9KTtcclxuICAgICAgICAgICAgICB0aGlzLmxpc3RlbmVyT2JzZXJ2ZXIuZW1pdChub3RpZmljYXRpb24pO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICApO1xyXG4gICAgICAgIH1cclxuICAgICAgfSk7XHJc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