nuxeo-development-framework 0.0.2 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (433) hide show
  1. package/README.md +24 -24
  2. package/bundles/nuxeo-development-framework.umd.js +18534 -50
  3. package/bundles/nuxeo-development-framework.umd.js.map +1 -1
  4. package/esm2015/lib/Core/adapters/adapter.service.js +50 -0
  5. package/esm2015/lib/Core/core.module.js +104 -0
  6. package/esm2015/lib/Core/enums/language.enum.js +6 -0
  7. package/esm2015/lib/Core/models/component.model.js +8 -0
  8. package/esm2015/lib/Core/services/callApi/call-api.service.js +33 -0
  9. package/esm2015/lib/Core/services/initialization/initialization.service.js +57 -0
  10. package/esm2015/lib/Core/services/localStorag/local-storag.service.js +123 -0
  11. package/esm2015/lib/Core/services/nuxeo/nuxeo-override.js +82 -0
  12. package/esm2015/lib/Core/services/nuxeo/nuxeo.service.js +120 -0
  13. package/esm2015/lib/Core/services/roles/roles.service.js +103 -0
  14. package/esm2015/lib/Core/services/translation/translate-loader.service.js +150 -0
  15. package/esm2015/lib/Core/services/translation/translation.service.js +171 -0
  16. package/esm2015/lib/Core/services/user/user-preferences.service.js +153 -0
  17. package/esm2015/lib/Core/utilities/moment-date-adapter.js +178 -0
  18. package/esm2015/lib/Core/utilities/utility.service.js +81 -0
  19. package/esm2015/lib/components/activity/activity/activity.component.js +28 -0
  20. package/esm2015/lib/components/activity/activity.module.js +37 -0
  21. package/esm2015/lib/components/avatar/avatar/avatar.component.js +55 -0
  22. package/esm2015/lib/components/avatar/avatar.module.js +32 -0
  23. package/esm2015/lib/components/card/card.component.js +48 -0
  24. package/esm2015/lib/components/card/card.module.js +23 -0
  25. package/esm2015/lib/components/comments/comments.module.js +76 -0
  26. package/esm2015/lib/components/comments/components/comment-item/comment-item.component.js +33 -0
  27. package/esm2015/lib/components/comments/components/comments-dashlet/comments-dashlet.component.js +78 -0
  28. package/esm2015/lib/components/comments/components/comments-list/comments-list.component.js +68 -0
  29. package/esm2015/lib/components/comments/constants/comment.js +25 -0
  30. package/esm2015/lib/components/comments/services/comment-api.service.js +49 -0
  31. package/esm2015/lib/components/confirm-caller/confirm-caller.dialog.js +73 -0
  32. package/esm2015/lib/components/confirm-caller/confirm-caller.module.js +27 -0
  33. package/esm2015/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.js +29 -0
  34. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.js +134 -0
  35. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.js +133 -0
  36. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.js +110 -0
  37. package/esm2015/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.js +49 -0
  38. package/esm2015/lib/components/correspondence-relation/components/versions/versions.component.js +61 -0
  39. package/esm2015/lib/components/correspondence-relation/correspondence-relation.module.js +111 -0
  40. package/esm2015/lib/components/correspondence-relation/services/correspondence-realation.service.js +115 -0
  41. package/esm2015/lib/components/correspondence-relation/services/viewer-files.service.js +50 -0
  42. package/esm2015/lib/components/create-entity/create-entity/create-entity.component.js +62 -0
  43. package/esm2015/lib/components/create-entity/create-entity.module.js +36 -0
  44. package/esm2015/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.js +73 -0
  45. package/esm2015/lib/components/cts-tags/cts-tags.module.js +65 -0
  46. package/esm2015/lib/components/cts-tags/services/tags-api.service.js +61 -0
  47. package/esm2015/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.js +82 -0
  48. package/esm2015/lib/components/custom-toastr/custom-toastr.module.js +36 -0
  49. package/esm2015/lib/components/custom-toastr/interfaces/toast-type.interface.js +2 -0
  50. package/esm2015/lib/components/custom-toastr/services/custom-toastr.service.js +41 -0
  51. package/esm2015/lib/components/documents/components/attachments-list/attachments-list.component.js +156 -0
  52. package/esm2015/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.js +72 -0
  53. package/esm2015/lib/components/documents/components/document-list/documents-list.component.js +255 -0
  54. package/esm2015/lib/components/documents/components/document-scan/document-scan.component.js +929 -0
  55. package/esm2015/lib/components/documents/components/document-upload/document-upload.component.js +159 -0
  56. package/esm2015/lib/components/documents/components/documents/documents.component.js +61 -0
  57. package/esm2015/lib/components/documents/constants/document-templates.js +32 -0
  58. package/esm2015/lib/components/documents/constants/documents.js +86 -0
  59. package/esm2015/lib/components/documents/documents.module.js +123 -0
  60. package/esm2015/lib/components/documents/services/document-templates.service.js +115 -0
  61. package/esm2015/lib/components/documents/services/documents.service.js +217 -0
  62. package/esm2015/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.js +342 -0
  63. package/esm2015/lib/components/dynamic-chart/dynamic-chart.module.js +34 -0
  64. package/esm2015/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.js +164 -0
  65. package/esm2015/lib/components/dynamic-chart/services/chart-data.service.js +542 -0
  66. package/esm2015/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.js +106 -0
  67. package/esm2015/lib/components/dynamic-filter/dynamic-filter.module.js +26 -0
  68. package/esm2015/lib/components/dynamic-form/components/department-form/department-form.component.js +124 -0
  69. package/esm2015/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.js +94 -0
  70. package/esm2015/lib/components/dynamic-form/components/dynamic-form/fields.adapter.js +127 -0
  71. package/esm2015/lib/components/dynamic-form/components/dynamic-form/form-builder.service.js +102 -0
  72. package/esm2015/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.js +35 -0
  73. package/esm2015/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.js +165 -0
  74. package/esm2015/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.js +71 -0
  75. package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.js +202 -0
  76. package/esm2015/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.js +78 -0
  77. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/constants/department.js +13 -0
  78. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.js +185 -0
  79. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.js +207 -0
  80. package/esm2015/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.js +94 -0
  81. package/esm2015/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.js +85 -0
  82. package/esm2015/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.js +128 -0
  83. package/esm2015/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.js +81 -0
  84. package/esm2015/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.js +36 -0
  85. package/esm2015/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.js +106 -0
  86. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.js +93 -0
  87. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.js +207 -0
  88. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.js +302 -0
  89. package/esm2015/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.js +44 -0
  90. package/esm2015/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.js +176 -0
  91. package/esm2015/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.js +76 -0
  92. package/esm2015/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.js +180 -0
  93. package/esm2015/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.js +250 -0
  94. package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.js +63 -0
  95. package/esm2015/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.js +269 -0
  96. package/esm2015/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.js +47 -0
  97. package/esm2015/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.js +172 -0
  98. package/esm2015/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.js +768 -0
  99. package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.js +35 -0
  100. package/esm2015/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.js +17 -0
  101. package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.js +34 -0
  102. package/esm2015/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.js +17 -0
  103. package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.js +38 -0
  104. package/esm2015/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.js +30 -0
  105. package/esm2015/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.js +17 -0
  106. package/esm2015/lib/components/dynamic-form/dynamic-form.module.js +289 -0
  107. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.js +2 -0
  108. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.js +2 -0
  109. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.js +2 -0
  110. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.js +2 -0
  111. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.js +2 -0
  112. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.js +2 -0
  113. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.js +2 -0
  114. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.js +2 -0
  115. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.js +2 -0
  116. package/esm2015/lib/components/dynamic-form/interfaces/dynamic-form.interfaces.js +10 -0
  117. package/esm2015/lib/components/dynamic-form/models/dynamic-form-baseitem.model.js +63 -0
  118. package/esm2015/lib/components/dynamic-form/models/dynamic-form-boolitem.model.js +20 -0
  119. package/esm2015/lib/components/dynamic-form/models/dynamic-form-dateitem.model.js +24 -0
  120. package/esm2015/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.js +12 -0
  121. package/esm2015/lib/components/dynamic-form/models/dynamic-form-mapitem.model.js +16 -0
  122. package/esm2015/lib/components/dynamic-form/models/dynamic-form-selectitem.model.js +17 -0
  123. package/esm2015/lib/components/dynamic-form/models/dynamic-form-textitem.model.js +32 -0
  124. package/esm2015/lib/components/dynamic-form/models/dynamic-form.models.js +8 -0
  125. package/esm2015/lib/components/dynamic-form/services/card-item-types.service.js +46 -0
  126. package/esm2015/lib/components/dynamic-form/services/dynamic-component-mapper.service.js +60 -0
  127. package/esm2015/lib/components/dynamic-form/services/dynamic-form-update.service.js +74 -0
  128. package/esm2015/lib/components/dynamic-form/validators/length-validator.js +15 -0
  129. package/esm2015/lib/components/dynamic-form/validators/regex-validator.js +15 -0
  130. package/esm2015/lib/components/dynamic-form/validators/required-validator.js +9 -0
  131. package/esm2015/lib/components/dynamic-form/validators/value-validator.js +15 -0
  132. package/esm2015/lib/components/dynamic-search/dynamic-search/dynamic-search.component.js +148 -0
  133. package/esm2015/lib/components/dynamic-search/dynamic-search.module.js +57 -0
  134. package/esm2015/lib/components/dynamic-table/dynamic-table/dynamic-table.component.js +204 -0
  135. package/esm2015/lib/components/dynamic-table/dynamic-table.module.js +44 -0
  136. package/esm2015/lib/components/dynamic-table/services/dynamic-table.service.js +16 -0
  137. package/esm2015/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.js +36 -0
  138. package/esm2015/lib/components/dynamic-view/data-viewer/data-viewer.component.js +32 -0
  139. package/esm2015/lib/components/dynamic-view/date-viewer/date-viewer.component.js +49 -0
  140. package/esm2015/lib/components/dynamic-view/department-viewer/department-viewer.component.js +71 -0
  141. package/esm2015/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.js +60 -0
  142. package/esm2015/lib/components/dynamic-view/dynamic-view.module.js +54 -0
  143. package/esm2015/lib/components/dynamic-view/list-viewer/list-viewer.component.js +40 -0
  144. package/esm2015/lib/components/filter/filter/filter.component.js +94 -0
  145. package/esm2015/lib/components/filter/filter.module.js +45 -0
  146. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.js +114 -0
  147. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.js +111 -0
  148. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.js +165 -0
  149. package/esm2015/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.js +32 -0
  150. package/esm2015/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.js +54 -0
  151. package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.js +71 -0
  152. package/esm2015/lib/components/hijri-gregorian-datepicker/services/date-helper.service.js +25 -0
  153. package/esm2015/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.js +43 -0
  154. package/esm2015/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.js +26 -0
  155. package/esm2015/lib/components/hijri-gregorian-datepicker/utils/consts.js +5 -0
  156. package/esm2015/lib/components/latest-activity/components/activity-line/activity-line.component.js +75 -0
  157. package/esm2015/lib/components/latest-activity/components/latest-activity/latest-activity.component.js +70 -0
  158. package/esm2015/lib/components/latest-activity/components/single-activity/single-activity.component.js +27 -0
  159. package/esm2015/lib/components/latest-activity/constants/activitylog.js +80 -0
  160. package/esm2015/lib/components/latest-activity/latest-activity.module.js +53 -0
  161. package/esm2015/lib/components/latest-activity/services/activity-log.service.js +33 -0
  162. package/esm2015/lib/components/notifications/components/notification-item/notification-item.component.js +69 -0
  163. package/esm2015/lib/components/notifications/components/notification-options/notification-options.component.js +22 -0
  164. package/esm2015/lib/components/notifications/components/notification-toast/notification-toast.component.js +57 -0
  165. package/esm2015/lib/components/notifications/components/notifications-button/notifications-button.component.js +129 -0
  166. package/esm2015/lib/components/notifications/components/notifications-list/notifications-list.component.js +149 -0
  167. package/esm2015/lib/components/notifications/notifications.module.js +109 -0
  168. package/esm2015/lib/components/notifications/notifications.service.js +277 -0
  169. package/esm2015/lib/components/pagination/pagination/pagination.component.js +123 -0
  170. package/esm2015/lib/components/pagination/pagination.module.js +32 -0
  171. package/esm2015/lib/components/pdf-tron/pdf-tron.module.js +24 -0
  172. package/esm2015/lib/components/pdf-tron/pdftron/pdftron.component.js +228 -0
  173. package/esm2015/lib/components/pdf-tron/pdftron/pdftron.service.js +181 -0
  174. package/esm2015/lib/components/select/select/select.component.js +130 -0
  175. package/esm2015/lib/components/select/select.module.js +37 -0
  176. package/esm2015/lib/components/table/table/table.component.js +174 -0
  177. package/esm2015/lib/components/table/table.module.js +57 -0
  178. package/esm2015/lib/components/users-card/users-card.component.js +43 -0
  179. package/esm2015/lib/components/users-card/users-card.module.js +28 -0
  180. package/esm2015/lib/components/viewer-log/components/viewer-log/viewer-log.component.js +33 -0
  181. package/esm2015/lib/components/viewer-log/viewer-log.module.js +20 -0
  182. package/esm2015/lib/components/vocabulary/interfaces/op-type.interface.js +2 -0
  183. package/esm2015/lib/components/vocabulary/services/vocabulary-api.service.js +49 -0
  184. package/esm2015/lib/components/vocabulary/vocabulary/vocabulary.component.js +106 -0
  185. package/esm2015/lib/components/vocabulary/vocabulary.module.js +34 -0
  186. package/esm2015/lib/configuration/app-config.service.js +26 -0
  187. package/esm2015/lib/configuration/helpers/app-initializer.js +4 -0
  188. package/esm2015/lib/directive/app-has-role/app-has-role.directive.js +61 -0
  189. package/esm2015/lib/directive/clickOutSide/click-outside.directive.js +29 -0
  190. package/esm2015/lib/directive/directive.module.js +48 -0
  191. package/esm2015/lib/directive/permissions/evaluators.service.js +118 -0
  192. package/esm2015/lib/directive/permissions/permissions.directive.js +106 -0
  193. package/esm2015/lib/directive/rtl/set-dir-rtl.directive.js +28 -0
  194. package/esm2015/lib/directive/rtl/set-rtl.directive.js +29 -0
  195. package/esm2015/lib/nuxeo-development-framework.component.js +26 -18
  196. package/esm2015/lib/nuxeo-development-framework.module.js +45 -16
  197. package/esm2015/lib/nuxeo-development-framework.service.js +14 -13
  198. package/esm2015/lib/pipes/file-size.pipe.js +57 -0
  199. package/esm2015/lib/pipes/hijri-date.pipe.js +46 -0
  200. package/esm2015/lib/pipes/localized-date.pipe.js +81 -0
  201. package/esm2015/lib/pipes/multi-value.pipe.js +42 -0
  202. package/esm2015/lib/pipes/pipes.module.js +29 -0
  203. package/esm2015/lib/pipes/secure-html.pipe.js +34 -0
  204. package/esm2015/lib/pipes/secure.pipe.js +40 -0
  205. package/esm2015/lib/pipes/time-ago.pipe.js +68 -0
  206. package/esm2015/lib/shared/components/button/button.component.js +87 -0
  207. package/esm2015/lib/shared/components/item-list/item-list.component.js +76 -0
  208. package/esm2015/lib/shared/components/no-data/no-data.component.js +37 -0
  209. package/esm2015/lib/shared/components/read-more/read-more.component.js +107 -0
  210. package/esm2015/lib/shared/components/search-autocomplete/search-autocomplete.component.js +144 -0
  211. package/esm2015/lib/shared/components/spinner/spinner.component.js +29 -0
  212. package/esm2015/lib/shared/components/user-card/user-card.component.js +49 -0
  213. package/esm2015/lib/shared/libraryShared.module.js +80 -0
  214. package/esm2015/nuxeo-development-framework.js +4 -4
  215. package/esm2015/public-api.js +156 -7
  216. package/fesm2015/nuxeo-development-framework.js +17027 -49
  217. package/fesm2015/nuxeo-development-framework.js.map +1 -1
  218. package/lib/Core/adapters/adapter.service.d.ts +11 -0
  219. package/lib/Core/core.module.d.ts +14 -0
  220. package/lib/Core/enums/language.enum.d.ts +4 -0
  221. package/lib/Core/models/component.model.d.ts +6 -0
  222. package/lib/Core/services/callApi/call-api.service.d.ts +11 -0
  223. package/lib/Core/services/initialization/initialization.service.d.ts +14 -0
  224. package/lib/Core/services/localStorag/local-storag.service.d.ts +41 -0
  225. package/lib/Core/services/nuxeo/nuxeo-override.d.ts +8 -0
  226. package/lib/Core/services/nuxeo/nuxeo.service.d.ts +33 -0
  227. package/lib/Core/services/roles/roles.service.d.ts +11 -0
  228. package/lib/Core/services/translation/translate-loader.service.d.ts +26 -0
  229. package/lib/Core/services/translation/translation.service.d.ts +71 -0
  230. package/lib/Core/services/user/user-preferences.service.d.ts +80 -0
  231. package/lib/Core/utilities/moment-date-adapter.d.ts +37 -0
  232. package/lib/Core/utilities/utility.service.d.ts +11 -0
  233. package/lib/components/activity/activity/activity.component.d.ts +13 -0
  234. package/lib/components/activity/activity.module.d.ts +13 -0
  235. package/lib/components/avatar/avatar/avatar.component.d.ts +23 -0
  236. package/lib/components/avatar/avatar.module.d.ts +13 -0
  237. package/lib/components/card/card.component.d.ts +32 -0
  238. package/lib/components/card/card.module.d.ts +12 -0
  239. package/lib/components/comments/comments.module.d.ts +25 -0
  240. package/lib/components/comments/components/comment-item/comment-item.component.d.ts +13 -0
  241. package/lib/components/comments/components/comments-dashlet/comments-dashlet.component.d.ts +45 -0
  242. package/lib/components/comments/components/comments-list/comments-list.component.d.ts +26 -0
  243. package/lib/components/comments/constants/comment.d.ts +25 -0
  244. package/lib/components/comments/services/comment-api.service.d.ts +14 -0
  245. package/lib/components/confirm-caller/confirm-caller.dialog.d.ts +46 -0
  246. package/lib/components/confirm-caller/confirm-caller.module.d.ts +16 -0
  247. package/lib/components/confirm-caller/confirm-dialog/confirm-dialog.component.d.ts +12 -0
  248. package/lib/components/correspondence-relation/components/correspondence-relation/correspondence-relation.component.d.ts +34 -0
  249. package/lib/components/correspondence-relation/components/correspondence-relation-create-form/correspondence-relation-create-form.component.d.ts +42 -0
  250. package/lib/components/correspondence-relation/components/correspondence-relation-list/correspondence-relation-list.component.d.ts +31 -0
  251. package/lib/components/correspondence-relation/components/correspondence-relation-reply/correspondence-relation-reply.component.d.ts +18 -0
  252. package/lib/components/correspondence-relation/components/versions/versions.component.d.ts +31 -0
  253. package/lib/components/correspondence-relation/correspondence-relation.module.d.ts +30 -0
  254. package/lib/components/correspondence-relation/services/correspondence-realation.service.d.ts +24 -0
  255. package/lib/components/correspondence-relation/services/viewer-files.service.d.ts +18 -0
  256. package/lib/components/create-entity/create-entity/create-entity.component.d.ts +17 -0
  257. package/lib/components/create-entity/create-entity.module.d.ts +11 -0
  258. package/lib/components/cts-tags/components/correspondence-tags/correspondence-tags.component.d.ts +28 -0
  259. package/lib/components/cts-tags/cts-tags.module.d.ts +21 -0
  260. package/lib/components/cts-tags/services/tags-api.service.d.ts +15 -0
  261. package/lib/components/custom-toastr/components/custom-toastr/custom-toastr.component.d.ts +30 -0
  262. package/lib/components/custom-toastr/custom-toastr.module.d.ts +12 -0
  263. package/lib/components/custom-toastr/interfaces/toast-type.interface.d.ts +1 -0
  264. package/lib/components/custom-toastr/services/custom-toastr.service.d.ts +18 -0
  265. package/lib/components/documents/components/attachments-list/attachments-list.component.d.ts +54 -0
  266. package/lib/components/documents/components/attachments-page-provider/attachments-page-provider.component.d.ts +37 -0
  267. package/lib/components/documents/components/document-list/documents-list.component.d.ts +81 -0
  268. package/lib/components/documents/components/document-scan/document-scan.component.d.ts +103 -0
  269. package/lib/components/documents/components/document-upload/document-upload.component.d.ts +58 -0
  270. package/lib/components/documents/components/documents/documents.component.d.ts +27 -0
  271. package/lib/components/documents/constants/document-templates.d.ts +33 -0
  272. package/lib/components/documents/constants/documents.d.ts +95 -0
  273. package/lib/components/documents/documents.module.d.ts +33 -0
  274. package/lib/components/documents/services/document-templates.service.d.ts +24 -0
  275. package/lib/components/documents/services/documents.service.d.ts +36 -0
  276. package/lib/components/dynamic-chart/dynamic-chart/dynamic-chart.component.d.ts +63 -0
  277. package/lib/components/dynamic-chart/dynamic-chart.module.d.ts +16 -0
  278. package/lib/components/dynamic-chart/dynamic-single-chart/dynamic-single-chart.component.d.ts +33 -0
  279. package/lib/components/dynamic-chart/services/chart-data.service.d.ts +37 -0
  280. package/lib/components/dynamic-filter/dynamic-filter/dynamic-filter.component.d.ts +45 -0
  281. package/lib/components/dynamic-filter/dynamic-filter.module.d.ts +16 -0
  282. package/lib/components/dynamic-form/components/department-form/department-form.component.d.ts +28 -0
  283. package/lib/components/dynamic-form/components/dynamic-form/dynamic-form.component.d.ts +26 -0
  284. package/lib/components/dynamic-form/components/dynamic-form/fields.adapter.d.ts +6 -0
  285. package/lib/components/dynamic-form/components/dynamic-form/form-builder.service.d.ts +21 -0
  286. package/lib/components/dynamic-form/components/dynamic-form-boolitem/dynamic-form-boolitem.component.d.ts +17 -0
  287. package/lib/components/dynamic-form/components/dynamic-form-builder/dynamic-form-builder.component.d.ts +57 -0
  288. package/lib/components/dynamic-form/components/dynamic-form-checkbox-item/dynamic-form-checkbox-item.component.d.ts +35 -0
  289. package/lib/components/dynamic-form/components/dynamic-form-dateitem/dynamic-form-dateitem.component.d.ts +70 -0
  290. package/lib/components/dynamic-form/components/dynamic-form-dateitem/owlDateTimeIntl.d.ts +52 -0
  291. package/lib/components/dynamic-form/components/dynamic-form-department/constants/department.d.ts +12 -0
  292. package/lib/components/dynamic-form/components/dynamic-form-department/dynamic-form-department.component.d.ts +65 -0
  293. package/lib/components/dynamic-form/components/dynamic-form-department/services/department-api.service.d.ts +29 -0
  294. package/lib/components/dynamic-form/components/dynamic-form-department/services/department-management.service.d.ts +21 -0
  295. package/lib/components/dynamic-form/components/dynamic-form-field/dynamic-form-field.component.d.ts +30 -0
  296. package/lib/components/dynamic-form/components/dynamic-form-hijri-dateitem/dynamic-form-hijri-dateitem.component.d.ts +61 -0
  297. package/lib/components/dynamic-form/components/dynamic-form-item-dispatcher/dynamic-form-item-dispatcher.component.d.ts +25 -0
  298. package/lib/components/dynamic-form/components/dynamic-form-mapitem/dynamic-form-mapitem.component.d.ts +15 -0
  299. package/lib/components/dynamic-form/components/dynamic-form-options/dynamic-form-options.component.d.ts +45 -0
  300. package/lib/components/dynamic-form/components/dynamic-form-select-tag/dynamic-form-select-tag.component.d.ts +41 -0
  301. package/lib/components/dynamic-form/components/dynamic-form-select-user-filter/dynamic-form-select-user-filter.component.d.ts +65 -0
  302. package/lib/components/dynamic-form/components/dynamic-form-select-users/dynamic-form-select-users.component.d.ts +83 -0
  303. package/lib/components/dynamic-form/components/dynamic-form-select-users/services/user-api.service.d.ts +13 -0
  304. package/lib/components/dynamic-form/components/dynamic-form-selectitem/dynamic-form-selectitem.component.d.ts +79 -0
  305. package/lib/components/dynamic-form/components/dynamic-form-slide-toggleitem/dynamic-form-slide-toggleitem.component.d.ts +37 -0
  306. package/lib/components/dynamic-form/components/dynamic-form-textarea/dynamic-form-textarea.component.d.ts +71 -0
  307. package/lib/components/dynamic-form/components/dynamic-form-textitem/dynamic-form-textitem.component.d.ts +86 -0
  308. package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select-i18n.d.ts +19 -0
  309. package/lib/components/dynamic-form/components/dynamic-form-treeview-select/dropdown-treeview-select.component.d.ts +88 -0
  310. package/lib/components/dynamic-form/components/dynamic-form-viewer/dynamic-form-viewer.component.d.ts +16 -0
  311. package/lib/components/dynamic-form/components/dynamic-form-vocabulary-item/dynamic-form-vocabulary-item.component.d.ts +76 -0
  312. package/lib/components/dynamic-form/components/form-wrappers/base-edit-form/base-edit-form.d.ts +599 -0
  313. package/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.component.d.ts +13 -0
  314. package/lib/components/dynamic-form/components/form-wrappers/date-wrapper/date-wrapper.formio.d.ts +2 -0
  315. package/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.component.d.ts +13 -0
  316. package/lib/components/dynamic-form/components/form-wrappers/toggle-wrapper/toggle-wrapper.formio.d.ts +2 -0
  317. package/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.component.d.ts +16 -0
  318. package/lib/components/dynamic-form/components/form-wrappers/vocabulary-wrapper/vocabulary-wrapper.formio.d.ts +2 -0
  319. package/lib/components/dynamic-form/directives/dynamic-form-content-proxy.directive.d.ts +9 -0
  320. package/lib/components/dynamic-form/dynamic-form.module.d.ts +64 -0
  321. package/lib/components/dynamic-form/interfaces/dynamic-form-boolitem-properties.interface.d.ts +5 -0
  322. package/lib/components/dynamic-form/interfaces/dynamic-form-dateitem-properties.interface.d.ts +5 -0
  323. package/lib/components/dynamic-form/interfaces/dynamic-form-item-properties.interface.d.ts +15 -0
  324. package/lib/components/dynamic-form/interfaces/dynamic-form-item-validator.interface.d.ts +4 -0
  325. package/lib/components/dynamic-form/interfaces/dynamic-form-item.interface.d.ts +12 -0
  326. package/lib/components/dynamic-form/interfaces/dynamic-form-keyvaluepairsitem-properties.interface.d.ts +8 -0
  327. package/lib/components/dynamic-form/interfaces/dynamic-form-selectitem-properties.interface.d.ts +10 -0
  328. package/lib/components/dynamic-form/interfaces/dynamic-form-textitem-pipe-property.interface.d.ts +5 -0
  329. package/lib/components/dynamic-form/interfaces/dynamic-form-textitem-properties.interface.d.ts +8 -0
  330. package/lib/components/dynamic-form/interfaces/dynamic-form.interfaces.d.ts +9 -0
  331. package/lib/components/dynamic-form/models/dynamic-form-baseitem.model.d.ts +21 -0
  332. package/lib/components/dynamic-form/models/dynamic-form-boolitem.model.d.ts +11 -0
  333. package/lib/components/dynamic-form/models/dynamic-form-dateitem.model.d.ts +13 -0
  334. package/lib/components/dynamic-form/models/dynamic-form-datetimeitem.model.d.ts +9 -0
  335. package/lib/components/dynamic-form/models/dynamic-form-mapitem.model.d.ts +8 -0
  336. package/lib/components/dynamic-form/models/dynamic-form-selectitem.model.d.ts +11 -0
  337. package/lib/components/dynamic-form/models/dynamic-form-textitem.model.d.ts +15 -0
  338. package/lib/components/dynamic-form/models/dynamic-form.models.d.ts +7 -0
  339. package/lib/components/dynamic-form/services/card-item-types.service.d.ts +13 -0
  340. package/lib/components/dynamic-form/services/dynamic-component-mapper.service.d.ts +36 -0
  341. package/lib/components/dynamic-form/services/dynamic-form-update.service.d.ts +30 -0
  342. package/lib/components/dynamic-form/validators/length-validator.d.ts +7 -0
  343. package/lib/components/dynamic-form/validators/regex-validator.d.ts +7 -0
  344. package/lib/components/dynamic-form/validators/required-validator.d.ts +5 -0
  345. package/lib/components/dynamic-form/validators/value-validator.d.ts +7 -0
  346. package/lib/components/dynamic-search/dynamic-search/dynamic-search.component.d.ts +71 -0
  347. package/lib/components/dynamic-search/dynamic-search.module.d.ts +19 -0
  348. package/lib/components/dynamic-table/dynamic-table/dynamic-table.component.d.ts +96 -0
  349. package/lib/components/dynamic-table/dynamic-table.module.d.ts +16 -0
  350. package/lib/components/dynamic-table/services/dynamic-table.service.d.ts +8 -0
  351. package/lib/components/dynamic-view/boolean-viewer/boolean-viewer.component.d.ts +13 -0
  352. package/lib/components/dynamic-view/data-viewer/data-viewer.component.d.ts +12 -0
  353. package/lib/components/dynamic-view/date-viewer/date-viewer.component.d.ts +17 -0
  354. package/lib/components/dynamic-view/department-viewer/department-viewer.component.d.ts +29 -0
  355. package/lib/components/dynamic-view/dropdown-viewer/dropdown-viewer.component.d.ts +37 -0
  356. package/lib/components/dynamic-view/dynamic-view.module.d.ts +20 -0
  357. package/lib/components/dynamic-view/list-viewer/list-viewer.component.d.ts +20 -0
  358. package/lib/components/filter/filter/filter.component.d.ts +31 -0
  359. package/lib/components/filter/filter.module.d.ts +15 -0
  360. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/gregorian-datepicker/gregorian-datepicker.component.d.ts +34 -0
  361. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-datepicker/hijri-datepicker.component.d.ts +32 -0
  362. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/hijri-gregorian-datepicker.component.d.ts +39 -0
  363. package/lib/components/hijri-gregorian-datepicker/hijri-gregorian-datepicker/provide-parent-form.directive.d.ts +9 -0
  364. package/lib/components/hijri-gregorian-datepicker/ngx-hijri-gregorian-datepicker.module.d.ts +14 -0
  365. package/lib/components/hijri-gregorian-datepicker/services/date-formatter.service.d.ts +15 -0
  366. package/lib/components/hijri-gregorian-datepicker/services/date-helper.service.d.ts +8 -0
  367. package/lib/components/hijri-gregorian-datepicker/utils/CustomNgbDateParserFormatter.d.ts +11 -0
  368. package/lib/components/hijri-gregorian-datepicker/utils/IslamicI18n.d.ts +10 -0
  369. package/lib/components/hijri-gregorian-datepicker/utils/consts.d.ts +4 -0
  370. package/lib/components/latest-activity/components/activity-line/activity-line.component.d.ts +19 -0
  371. package/lib/components/latest-activity/components/latest-activity/latest-activity.component.d.ts +22 -0
  372. package/lib/components/latest-activity/components/single-activity/single-activity.component.d.ts +10 -0
  373. package/lib/components/latest-activity/constants/activitylog.d.ts +82 -0
  374. package/lib/components/latest-activity/latest-activity.module.d.ts +19 -0
  375. package/lib/components/latest-activity/services/activity-log.service.d.ts +12 -0
  376. package/lib/components/notifications/components/notification-item/notification-item.component.d.ts +15 -0
  377. package/lib/components/notifications/components/notification-options/notification-options.component.d.ts +10 -0
  378. package/lib/components/notifications/components/notification-toast/notification-toast.component.d.ts +19 -0
  379. package/lib/components/notifications/components/notifications-button/notifications-button.component.d.ts +25 -0
  380. package/lib/components/notifications/components/notifications-list/notifications-list.component.d.ts +45 -0
  381. package/lib/components/notifications/notifications.module.d.ts +24 -0
  382. package/lib/components/notifications/notifications.service.d.ts +61 -0
  383. package/lib/components/pagination/pagination/pagination.component.d.ts +46 -0
  384. package/lib/components/pagination/pagination.module.d.ts +13 -0
  385. package/lib/components/pdf-tron/pdf-tron.module.d.ts +8 -0
  386. package/lib/components/pdf-tron/pdftron/pdftron.component.d.ts +54 -0
  387. package/lib/components/pdf-tron/pdftron/pdftron.service.d.ts +30 -0
  388. package/lib/components/select/select/select.component.d.ts +43 -0
  389. package/lib/components/select/select.module.d.ts +12 -0
  390. package/lib/components/table/table/table.component.d.ts +89 -0
  391. package/lib/components/table/table.module.d.ts +18 -0
  392. package/lib/components/users-card/users-card.component.d.ts +22 -0
  393. package/lib/components/users-card/users-card.module.d.ts +17 -0
  394. package/lib/components/viewer-log/components/viewer-log/viewer-log.component.d.ts +12 -0
  395. package/lib/components/viewer-log/viewer-log.module.d.ts +10 -0
  396. package/lib/components/vocabulary/interfaces/op-type.interface.d.ts +1 -0
  397. package/lib/components/vocabulary/services/vocabulary-api.service.d.ts +16 -0
  398. package/lib/components/vocabulary/vocabulary/vocabulary.component.d.ts +37 -0
  399. package/lib/components/vocabulary/vocabulary.module.d.ts +11 -0
  400. package/lib/configuration/app-config.service.d.ts +11 -0
  401. package/lib/configuration/helpers/app-initializer.d.ts +2 -0
  402. package/lib/directive/app-has-role/app-has-role.directive.d.ts +18 -0
  403. package/lib/directive/clickOutSide/click-outside.directive.d.ts +11 -0
  404. package/lib/directive/directive.module.d.ts +16 -0
  405. package/lib/directive/permissions/evaluators.service.d.ts +26 -0
  406. package/lib/directive/permissions/permissions.directive.d.ts +46 -0
  407. package/lib/directive/rtl/set-dir-rtl.directive.d.ts +13 -0
  408. package/lib/directive/rtl/set-rtl.directive.d.ts +13 -0
  409. package/lib/nuxeo-development-framework.component.d.ts +8 -5
  410. package/lib/nuxeo-development-framework.module.d.ts +12 -2
  411. package/lib/nuxeo-development-framework.service.d.ts +6 -3
  412. package/lib/pipes/file-size.pipe.d.ts +34 -0
  413. package/lib/pipes/hijri-date.pipe.d.ts +32 -0
  414. package/lib/pipes/localized-date.pipe.d.ts +44 -0
  415. package/lib/pipes/multi-value.pipe.d.ts +32 -0
  416. package/lib/pipes/pipes.module.d.ts +18 -0
  417. package/lib/pipes/secure-html.pipe.d.ts +26 -0
  418. package/lib/pipes/secure.pipe.d.ts +29 -0
  419. package/lib/pipes/time-ago.pipe.d.ts +34 -0
  420. package/lib/shared/components/button/button.component.d.ts +38 -0
  421. package/lib/shared/components/item-list/item-list.component.d.ts +45 -0
  422. package/lib/shared/components/no-data/no-data.component.d.ts +21 -0
  423. package/lib/shared/components/read-more/read-more.component.d.ts +37 -0
  424. package/lib/shared/components/search-autocomplete/search-autocomplete.component.d.ts +49 -0
  425. package/lib/shared/components/spinner/spinner.component.d.ts +18 -0
  426. package/lib/shared/components/user-card/user-card.component.d.ts +30 -0
  427. package/lib/shared/libraryShared.module.d.ts +25 -0
  428. package/nuxeo-development-framework.d.ts +5 -4
  429. package/package.json +57 -16
  430. package/public-api.d.ts +145 -3
  431. package/bundles/nuxeo-development-framework.umd.min.js +0 -2
  432. package/bundles/nuxeo-development-framework.umd.min.js.map +0 -1
  433. package/nuxeo-development-framework.metadata.json +0 -1
@@ -0,0 +1,11 @@
1
+ import { UtilityService } from '../utilities/utility.service';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AdapterService {
4
+ private utiliService;
5
+ constructor(utiliService: UtilityService);
6
+ filterNullValues(formValue: any): {};
7
+ adaptIn(item: any, fieldsobj: any): any;
8
+ adaptOut(item: any, fieldsobj: any): any;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdapterService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<AdapterService>;
11
+ }
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "ngx-treeview";
4
+ import * as i3 from "@angular/common/http";
5
+ import * as i4 from "@ngx-translate/core";
6
+ import * as i5 from "ngx-toastr";
7
+ import * as i6 from "keycloak-angular";
8
+ import * as i7 from "@rxweb/reactive-form-validators";
9
+ /** @ignore */
10
+ export declare class CoreModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<CoreModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CoreModule, never, [typeof i1.CommonModule, typeof i2.TreeviewModule, typeof i3.HttpClientModule, typeof i4.TranslateModule, typeof i5.ToastrModule, typeof i6.KeycloakAngularModule, typeof i7.RxReactiveFormsModule], [typeof i4.TranslateModule, typeof i2.TreeviewModule, typeof i5.ToastrModule, typeof i7.RxReactiveFormsModule]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<CoreModule>;
14
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum Lang {
2
+ Arabic = "ar",
3
+ English = "en"
4
+ }
@@ -0,0 +1,6 @@
1
+ export declare class ComponentTranslationModel {
2
+ name: string;
3
+ path: string;
4
+ json: string[];
5
+ constructor(obj?: any);
6
+ }
@@ -0,0 +1,11 @@
1
+ import { Observable } from 'rxjs';
2
+ import { NuxeoService } from '../nuxeo/nuxeo.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CallApiService {
5
+ private nuxeoService;
6
+ constructor(nuxeoService: NuxeoService);
7
+ query(queryOptions: any, options: any): Observable<any>;
8
+ private inerQuery;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<CallApiService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<CallApiService>;
11
+ }
@@ -0,0 +1,14 @@
1
+ import { KeycloakService } from 'keycloak-angular';
2
+ import { NuxeoService } from '../nuxeo/nuxeo.service';
3
+ import { UserPreferencesService } from '../user/user-preferences.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class InitializationService {
6
+ private keycloak;
7
+ private nuxeoService;
8
+ private userPreferences;
9
+ private environment;
10
+ constructor(keycloak: KeycloakService, nuxeoService: NuxeoService, userPreferences: UserPreferencesService, environment: any);
11
+ initializer(): Promise<unknown>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<InitializationService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<InitializationService>;
14
+ }
@@ -0,0 +1,41 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class LocalStoragService {
3
+ private memoryStore;
4
+ private readonly useLocalStorage;
5
+ private _prefix;
6
+ get prefix(): string;
7
+ set prefix(prefix: string);
8
+ constructor();
9
+ /**
10
+ * Gets an item.
11
+ * @param key Key to identify the item
12
+ * @returns The item (if any) retrieved by the key
13
+ */
14
+ getItem(key: string): string | null;
15
+ /**
16
+ * Stores an item
17
+ * @param key Key to identify the item
18
+ * @param data Data to store
19
+ */
20
+ setItem(key: string, data: string): void;
21
+ /** Removes all currently stored items. */
22
+ clear(): void;
23
+ /**
24
+ * Removes a single item.
25
+ * @param key Key to identify the item
26
+ */
27
+ removeItem(key: string): void;
28
+ /**
29
+ * Is any item currently stored under `key`?
30
+ * @param key Key identifying item to check
31
+ * @returns True if key retrieves an item, false otherwise
32
+ */
33
+ hasItem(key: string): boolean;
34
+ private storageAvailable;
35
+ getLocal(key: string): any;
36
+ setLocal(key: string, value: any): void;
37
+ removeLocal(key: string): void;
38
+ removeAllLocals(): void;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalStoragService, never>;
40
+ static ɵprov: i0.ɵɵInjectableDeclaration<LocalStoragService>;
41
+ }
@@ -0,0 +1,8 @@
1
+ import { KeycloakService } from "keycloak-angular";
2
+ declare const Nuxeo: any;
3
+ export declare class NuxeoOverride extends Nuxeo {
4
+ private keycloak;
5
+ constructor(opts: {}, keycloak: KeycloakService);
6
+ http(opts?: any): any;
7
+ }
8
+ export {};
@@ -0,0 +1,33 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { KeycloakService } from 'keycloak-angular';
3
+ import { Observable } from 'rxjs';
4
+ import { RolesService } from '../roles/roles.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class NuxeoService {
7
+ private http;
8
+ private keycloak;
9
+ private baseHref;
10
+ private environment;
11
+ private rolesService;
12
+ nuxeoClient: any;
13
+ excludedUrls: any[];
14
+ enableBearerInterceptor: boolean;
15
+ authenticated: boolean;
16
+ token: any;
17
+ tokenObservable: any;
18
+ constructor(http: HttpClient, keycloak: KeycloakService, baseHref: string, environment: any, rolesService: RolesService);
19
+ init(): Promise<any>;
20
+ createTokenClient(token: any): void;
21
+ getToken(): Promise<string>;
22
+ doLogout(): void;
23
+ isUserInRole(role: any, committeeCode?: any): Observable<any>;
24
+ createBlob(file: any): any;
25
+ getDuplicates(params?: {}, body?: {}): Observable<any>;
26
+ checkForRoles(): void;
27
+ ctsUser: boolean;
28
+ isCtsUser(): void;
29
+ ctsManger: boolean;
30
+ isCtsManger(): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<NuxeoService, never>;
32
+ static ɵprov: i0.ɵɵInjectableDeclaration<NuxeoService>;
33
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class RolesService {
3
+ private environment;
4
+ constructor(environment: any);
5
+ getRoleName(role: any, code?: any): string;
6
+ isUserInRole(user: any, role: any, code?: any): boolean;
7
+ getUserRoleName(user: any, code: any): any;
8
+ isUserManagerInDepartment(user: any, code: any): boolean;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<RolesService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<RolesService>;
11
+ }
@@ -0,0 +1,26 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { TranslateLoader } from '@ngx-translate/core';
3
+ import { Observable } from 'rxjs';
4
+ import { ComponentTranslationModel } from '../../models/component.model';
5
+ import * as i0 from "@angular/core";
6
+ export declare class TranslateLoaderService implements TranslateLoader {
7
+ private http;
8
+ private prefix;
9
+ private suffix;
10
+ private providers;
11
+ private queue;
12
+ private defaultLang;
13
+ constructor(http: HttpClient);
14
+ setDefaultLang(value: string): void;
15
+ registerProvider(name: string, path: string): void;
16
+ providerRegistered(name: string): boolean;
17
+ fetchLanguageFile(lang: string, component: ComponentTranslationModel, fallbackUrl?: string): Observable<void>;
18
+ getComponentToFetch(lang: string): Array<Observable<any>>;
19
+ init(lang: string): void;
20
+ isComponentInQueue(lang: string, name: string): boolean;
21
+ getFullTranslationJSON(lang: string): any;
22
+ getTranslation(lang: string): Observable<any>;
23
+ merge(...objects: any[]): any;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<TranslateLoaderService, never>;
25
+ static ɵprov: i0.ɵɵInjectableDeclaration<TranslateLoaderService>;
26
+ }
@@ -0,0 +1,71 @@
1
+ import { InjectionToken, RendererFactory2 } from '@angular/core';
2
+ import { TranslateService } from '@ngx-translate/core';
3
+ import { BehaviorSubject, Observable } from 'rxjs';
4
+ import { TranslateLoaderService } from './translate-loader.service';
5
+ import { UserPreferencesService } from '../user/user-preferences.service';
6
+ import { LocalStoragService } from '../localStorag/local-storag.service';
7
+ import { NuxeoService } from '../nuxeo/nuxeo.service';
8
+ import * as i0 from "@angular/core";
9
+ export declare const TRANSLATION_PROVIDER: InjectionToken<unknown>;
10
+ export interface TranslationProvider {
11
+ name: string;
12
+ source: string;
13
+ }
14
+ export declare class TranslationService {
15
+ translate: TranslateService;
16
+ private rendererFactory;
17
+ private localStorage;
18
+ private nuxeoService;
19
+ private environment;
20
+ arabicFile: any;
21
+ englishFile: any;
22
+ defaultLang: string;
23
+ userLang: string;
24
+ customLoader: TranslateLoaderService;
25
+ lang: string;
26
+ private renderer;
27
+ isArabic: BehaviorSubject<boolean>;
28
+ isArabic$: Observable<boolean>;
29
+ constructor(translate: TranslateService, rendererFactory: RendererFactory2, localStorage: LocalStoragService, userPreferencesService: UserPreferencesService, nuxeoService: NuxeoService, environment: any, providers: TranslationProvider[]);
30
+ /**
31
+ * Adds a new folder of translation source files.
32
+ * @param name Name for the translation provider
33
+ * @param path Path to the folder
34
+ */
35
+ addTranslationFolder(name?: string, path?: string): void;
36
+ /**
37
+ * Loads a translation file.
38
+ * @param lang Language code for the language to load
39
+ * @param fallback Language code to fall back to if the first one was unavailable
40
+ */
41
+ loadTranslation(lang: string, fallback?: string): void;
42
+ /**
43
+ * Triggers a notification callback when the translation language changes.
44
+ * @param lang The new language code
45
+ */
46
+ onTranslationChanged(lang: string): void;
47
+ /**
48
+ * Sets the target language for translations.
49
+ * @param lang Code name for the language
50
+ * @returns Translations available for the language
51
+ */
52
+ use(lang: string): Observable<any>;
53
+ /**
54
+ * Gets the translation for the supplied key.
55
+ * @param key Key to translate
56
+ * @param interpolateParams String(s) to be interpolated into the main message
57
+ * @returns Translated text
58
+ */
59
+ get(key: string | Array<string>, interpolateParams?: Object): Observable<string | any>;
60
+ /**
61
+ * Directly returns the translation for the supplied key.
62
+ * @param key Key to translate
63
+ * @param interpolateParams String(s) to be interpolated into the main message
64
+ * @returns Translated text
65
+ */
66
+ instant(key: string | Array<string>, interpolateParams?: Object): string | any;
67
+ getOrCreateTranslationFile(lang: any): Observable<unknown>;
68
+ updateTranslationFile(doc: any, params?: {}): Observable<any>;
69
+ static ɵfac: i0.ɵɵFactoryDeclaration<TranslationService, [null, null, null, null, null, null, { optional: true; }]>;
70
+ static ɵprov: i0.ɵɵInjectableDeclaration<TranslationService>;
71
+ }
@@ -0,0 +1,80 @@
1
+ import { TranslateService } from '@ngx-translate/core';
2
+ import { Observable } from 'rxjs';
3
+ import { LocalStoragService } from '../localStorag/local-storag.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare enum UserPreferenceValues {
6
+ Locale = "locale",
7
+ ExpandedSideNavStatus = "expandedSidenav"
8
+ }
9
+ export declare class UserPreferencesService {
10
+ translate: TranslateService;
11
+ private storage;
12
+ defaults: {
13
+ locale: string;
14
+ expandedSidenav: boolean;
15
+ };
16
+ private userPreferenceStatus;
17
+ private onChangeSubject;
18
+ onChange: Observable<any>;
19
+ constructor(translate: TranslateService, storage: LocalStoragService);
20
+ private initUserPreferenceStatus;
21
+ private initUserLanguage;
22
+ /**
23
+ * Sets up a callback to notify when a property has changed.
24
+ * @param property The property to watch
25
+ * @returns Notification callback
26
+ */
27
+ select(property: string): Observable<any>;
28
+ /**
29
+ * Gets a preference property.
30
+ * @param property Name of the property
31
+ * @param defaultValue Default to return if the property is not found
32
+ * @returns Preference property
33
+ */
34
+ get(property: string, defaultValue?: string): string;
35
+ /**
36
+ * Sets a preference property.
37
+ * @param property Name of the property
38
+ * @param value New value for the property
39
+ */
40
+ set(property: string, value: any): void;
41
+ /**
42
+ * Sets a preference property.
43
+ * @param property Name of the property
44
+ * @param value New value for the property
45
+ */
46
+ setWithoutStore(property: string, value: any): void;
47
+ /**
48
+ * Check if an item is present in the storage
49
+ * @param property Name of the property
50
+ * @returns True if the item is present, false otherwise
51
+ */
52
+ hasItem(property: string): boolean;
53
+ /**
54
+ * Gets the active storage prefix for preferences.
55
+ * @returns Storage prefix
56
+ */
57
+ getStoragePrefix(): string;
58
+ /**
59
+ * Sets the active storage prefix for preferences.
60
+ * @param value Name of the prefix
61
+ */
62
+ setStoragePrefix(value: string): void;
63
+ /**
64
+ * Gets the full property key with prefix.
65
+ * @param property The property name
66
+ * @returns Property key
67
+ */
68
+ getPropertyKey(property: string): string;
69
+ /** Current locale setting. */
70
+ get locale(): string;
71
+ set locale(value: string);
72
+ /**
73
+ * Gets the default locale.
74
+ * @returns Default locale language code
75
+ */
76
+ getDefaultLocale(): string;
77
+ private getLanguageByKey;
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserPreferencesService, never>;
79
+ static ɵprov: i0.ɵɵInjectableDeclaration<UserPreferencesService>;
80
+ }
@@ -0,0 +1,37 @@
1
+ import { DateAdapter } from '@angular/material/core';
2
+ import { Moment } from 'moment';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MomentDateAdapter extends DateAdapter<Moment> {
5
+ private localeData;
6
+ overrideDisplayFormat: string;
7
+ getYear(date: Moment): number;
8
+ getMonth(date: Moment): number;
9
+ getDate(date: Moment): number;
10
+ getDayOfWeek(date: Moment): number;
11
+ getMonthNames(style: 'long' | 'short' | 'narrow'): string[];
12
+ getDateNames(): string[];
13
+ getDayOfWeekNames(style: 'long' | 'short' | 'narrow'): string[];
14
+ getYearName(date: Moment): string;
15
+ getFirstDayOfWeek(): number;
16
+ getNumDaysInMonth(date: Moment): number;
17
+ clone(date: Moment): Moment;
18
+ createDate(year: number, month: number, date: number): Moment;
19
+ today(): Moment;
20
+ parse(value: any, parseFormat: any): Moment;
21
+ format(date: Moment, displayFormat: any): string;
22
+ addCalendarYears(date: Moment, years: number): Moment;
23
+ addCalendarMonths(date: Moment, months: number): Moment;
24
+ addCalendarDays(date: Moment, days: number): Moment;
25
+ getISODateString(date: Moment): string;
26
+ setLocale(locale: any): void;
27
+ compareDate(first: Moment, second: Moment): number;
28
+ sameDate(first: any | Moment, second: any | Moment): boolean;
29
+ clampDate(date: Moment, min?: any | Moment, max?: any | Moment): Moment;
30
+ isDateInstance(date: any): boolean;
31
+ isValid(date: Moment): boolean;
32
+ toIso8601(date: Moment): string;
33
+ fromIso8601(iso8601String: string): Moment | null;
34
+ invalid(): Moment;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<MomentDateAdapter, never>;
36
+ static ɵprov: i0.ɵɵInjectableDeclaration<MomentDateAdapter>;
37
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class UtilityService {
3
+ constructor();
4
+ objectFlip(obj: any): object;
5
+ parseIfJson(str: any): any;
6
+ getValue(target: any, key: string): any;
7
+ merge(...objects: any[]): any;
8
+ getPlainText(description: string, maxLength?: number): string;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<UtilityService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<UtilityService>;
11
+ }
@@ -0,0 +1,13 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ActivityComponent implements OnInit {
4
+ user: any;
5
+ /** Field for something */
6
+ lineOneClass: string;
7
+ lineTwoClass: any;
8
+ lineOnePart2: any;
9
+ constructor();
10
+ ngOnInit(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityComponent, "cts-activity", never, { "user": "user"; "lineOneClass": "lineOneClass"; "lineTwoClass": "lineTwoClass"; "lineOnePart2": "lineOnePart2"; }, {}, never, [".lineOne", ".lineOnePart2 ", ".lineTwo "]>;
13
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./activity/activity.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../avatar/avatar.module";
5
+ import * as i4 from "@angular/router";
6
+ /**
7
+ * @ignore
8
+ */
9
+ export declare class ActivityModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ActivityModule, [typeof i1.ActivityComponent], [typeof i2.CommonModule, typeof i3.AvatarModule, typeof i4.RouterModule], [typeof i1.ActivityComponent, typeof i4.RouterModule]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<ActivityModule>;
13
+ }
@@ -0,0 +1,23 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * A component to display user avatar if exists, or initials if not
5
+ *
6
+ * ![Screenshot-1](../screenshots/avatar1.png) ![Screenshot-2](../screenshots/avatar2.png)
7
+ * @title
8
+ * User Avatar
9
+ * @example
10
+ *
11
+ * <cts-avatar [user]="user"></cts-avatar>
12
+ */
13
+ export declare class AvatarComponent implements OnInit {
14
+ /** Nuxeo user object */
15
+ user: any;
16
+ backgroundColor: any;
17
+ constructor();
18
+ ngOnInit(): void;
19
+ stringToHslColor(str: any, s: any, l: any): void;
20
+ getInitials(): string;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "cts-avatar", never, { "user": "user"; }, {}, never, never>;
23
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./avatar/avatar.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../../pipes/pipes.module";
5
+ /**
6
+ * @title
7
+ * Avatar Module
8
+ */
9
+ export declare class AvatarModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<AvatarModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AvatarModule, [typeof i1.AvatarComponent], [typeof i2.CommonModule, typeof i3.PipesModule], [typeof i1.AvatarComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<AvatarModule>;
13
+ }
@@ -0,0 +1,32 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * A reusable card component to display various types of contents
5
+ *
6
+ * ![Screenshot-1](../screenshots/card.png)
7
+ * @title
8
+ * Card
9
+ * @example
10
+ *
11
+ * <app-card>
12
+ * <h3 class="title">
13
+ * Card title
14
+ * </h3>
15
+ * <div class="toolbar">
16
+ * <button class="btn-primary"> Action Button </button>
17
+ * </div>
18
+ * <div class="body">
19
+ * </div>
20
+ * </app-card>
21
+ */
22
+ export declare class CardComponent implements OnInit {
23
+ /** card has no body */
24
+ noBody?: boolean;
25
+ /** is card dark */
26
+ dark?: boolean;
27
+ /** enable/disable shadow */
28
+ constructor();
29
+ ngOnInit(): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "app-card", never, { "noBody": "noBody"; "dark": "dark"; }, {}, never, [".title", ".toolbar", ".body", ".no-content"]>;
32
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./card.component";
3
+ import * as i2 from "@angular/common";
4
+ /**
5
+ * @title
6
+ * Card Module
7
+ */
8
+ export declare class CardModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CardModule, [typeof i1.CardComponent], [typeof i2.CommonModule], [typeof i1.CardComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<CardModule>;
12
+ }
@@ -0,0 +1,25 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./components/comments-dashlet/comments-dashlet.component";
3
+ import * as i2 from "./components/comments-list/comments-list.component";
4
+ import * as i3 from "./components/comment-item/comment-item.component";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "../../shared/libraryShared.module";
7
+ import * as i6 from "ngx-infinite-scroll";
8
+ import * as i7 from "@angular/forms";
9
+ import * as i8 from "../card/card.module";
10
+ import * as i9 from "../../pipes/pipes.module";
11
+ import * as i10 from "@ngx-translate/core";
12
+ import * as i11 from "@angular/material/icon";
13
+ import * as i12 from "@angular/material/progress-spinner";
14
+ import * as i13 from "@angular/material/tooltip";
15
+ import * as i14 from "../../directive/directive.module";
16
+ /**
17
+ * @title
18
+ * Comments Module
19
+ *
20
+ */
21
+ export declare class CommentsModule {
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommentsModule, never>;
23
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CommentsModule, [typeof i1.CommentsDashletComponent, typeof i2.CommentsListComponent, typeof i3.CommentItemComponent], [typeof i4.CommonModule, typeof i5.LibrarySharedModule, typeof i6.InfiniteScrollModule, typeof i7.FormsModule, typeof i8.CardModule, typeof i9.PipesModule, typeof i10.TranslateModule, typeof i11.MatIconModule, typeof i12.MatProgressSpinnerModule, typeof i13.MatTooltipModule, typeof i14.DirectiveModule], [typeof i1.CommentsDashletComponent]>;
24
+ static ɵinj: i0.ɵɵInjectorDeclaration<CommentsModule>;
25
+ }
@@ -0,0 +1,13 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * @ignore
5
+ */
6
+ export declare class CommentItemComponent implements OnInit {
7
+ comment: any;
8
+ loaderType: string;
9
+ constructor();
10
+ ngOnInit(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommentItemComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommentItemComponent, "app-comment-item", never, { "comment": "comment"; "loaderType": "loaderType"; }, {}, never, never>;
13
+ }
@@ -0,0 +1,45 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { TranslateService } from '@ngx-translate/core';
3
+ import { NuxeoService } from '../../../../Core/services/nuxeo/nuxeo.service';
4
+ import { CommentApiService } from '../../services/comment-api.service';
5
+ import { CommentsListComponent } from '../comments-list/comments-list.component';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * A component to display and add comments on a nuxeo document
9
+ *
10
+ * ![Screenshot-1](../screenshots/comments.png)
11
+ * @title
12
+ * Comments dashlet
13
+ * @example
14
+ *
15
+ * <app-comments-dashlet
16
+ * [row]="false"
17
+ * [entityId]="file.uid"
18
+ * [showaddcomment]="true"
19
+ * ></app-comments-dashlet>
20
+ */
21
+ export declare class CommentsDashletComponent implements OnInit {
22
+ private translateService;
23
+ private commentApiService;
24
+ nuxeoService: NuxeoService;
25
+ /** nuxeo document ID */
26
+ entityId: any;
27
+ /** toggle view mode row / column */
28
+ /** Correspondance */
29
+ correspondence: any;
30
+ row?: boolean;
31
+ /** disable/enable add comment section */
32
+ showaddcomment?: boolean;
33
+ comment: any;
34
+ comments: any[];
35
+ throttle: number;
36
+ distance: number;
37
+ saving: boolean;
38
+ totalRecords: any;
39
+ commentsList: CommentsListComponent;
40
+ constructor(translateService: TranslateService, commentApiService: CommentApiService, nuxeoService: NuxeoService);
41
+ ngOnInit(): void;
42
+ onPost(): void;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommentsDashletComponent, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommentsDashletComponent, "app-comments-dashlet", never, { "entityId": "entityId"; "correspondence": "correspondence"; "row": "row"; "showaddcomment": "showaddcomment"; }, {}, never, never>;
45
+ }
@@ -0,0 +1,26 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { CommentApiService } from '../../services/comment-api.service';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * @ignore
6
+ */
7
+ export declare class CommentsListComponent implements OnInit {
8
+ private commentApiService;
9
+ entityId: any;
10
+ pageSize: number;
11
+ loaderType: string;
12
+ comments: any[];
13
+ throttle: number;
14
+ distance: number;
15
+ p: number;
16
+ totalRecords: any;
17
+ fetching: boolean;
18
+ infiniteScrollDisabled: boolean;
19
+ scrollDiv: any;
20
+ constructor(commentApiService: CommentApiService);
21
+ ngOnInit(): void;
22
+ getComments: (page: any, reset?: boolean) => void;
23
+ onScroll(event: any): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommentsListComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<CommentsListComponent, "app-comments-list", never, { "entityId": "entityId"; "pageSize": "pageSize"; "loaderType": "loaderType"; }, {}, never, never>;
26
+ }
@@ -0,0 +1,25 @@
1
+ export declare class CommentConstants {
2
+ static pageProvider: {
3
+ comments: {
4
+ name: string;
5
+ headers: {
6
+ 'X-NXproperties': string;
7
+ 'X-NXenrichers-document': string;
8
+ 'X-NXRepository': string;
9
+ };
10
+ };
11
+ };
12
+ static operations: {};
13
+ static fields: {
14
+ ancestorIds: string;
15
+ author: string;
16
+ creationDate: string;
17
+ modificationDate: string;
18
+ parentId: string;
19
+ text: string;
20
+ contributors: string;
21
+ created: string;
22
+ creator: string;
23
+ description: string;
24
+ };
25
+ }