@bizdoc/core 1.14.9 → 1.14.10

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 (1246) hide show
  1. package/bizdoc-core.d.ts +5 -0
  2. package/esm2020/bizdoc-core.mjs +5 -0
  3. package/esm2020/lib/admin/admin-dismiss.service.mjs +22 -0
  4. package/esm2020/lib/admin/admin-menu.component.mjs +27 -0
  5. package/esm2020/lib/admin/core/ace.input.mjs +147 -0
  6. package/esm2020/lib/admin/core/color-picker.input.mjs +208 -0
  7. package/esm2020/lib/admin/core/search.input.mjs +43 -0
  8. package/esm2020/lib/admin/diff/configuration-diff.component.mjs +558 -0
  9. package/esm2020/lib/admin/document-trace/document-trace.component.mjs +532 -0
  10. package/esm2020/lib/admin/document-trace/reassign.dialog.mjs +40 -0
  11. package/esm2020/lib/admin/document-trace/timeline.mjs +2 -0
  12. package/esm2020/lib/admin/document-trace/trace-element.component.mjs +123 -0
  13. package/esm2020/lib/admin/form/form.resolve.service.mjs +17 -0
  14. package/esm2020/lib/admin/form/form.service.mjs +43 -0
  15. package/esm2020/lib/admin/form/workflow/node-ref.mjs +8 -0
  16. package/esm2020/lib/admin/form/workflow/node.component.mjs +128 -0
  17. package/esm2020/lib/admin/form/workflow/role-node.component.mjs +90 -0
  18. package/esm2020/lib/admin/form/workflow/workflow.component.mjs +441 -0
  19. package/esm2020/lib/admin/indices/manage-cube-index.component.mjs +161 -0
  20. package/esm2020/lib/admin/patterns/patterns.component.mjs +179 -0
  21. package/esm2020/lib/admin/permissions/permissions.component.mjs +97 -0
  22. package/esm2020/lib/admin/positions/positions-popup.component.mjs +74 -0
  23. package/esm2020/lib/admin/positions/positions.component.mjs +460 -0
  24. package/esm2020/lib/admin/profiler/outofoffice.component.mjs +155 -0
  25. package/esm2020/lib/admin/profiler/profiler.component.mjs +281 -0
  26. package/esm2020/lib/admin/utility-ref.mjs +38 -0
  27. package/esm2020/lib/admin/utility-wrapper.component.mjs +51 -0
  28. package/esm2020/lib/admin/utility.pane.component.mjs +51 -0
  29. package/esm2020/lib/app.component.mjs +91 -0
  30. package/esm2020/lib/bizdoc.module.mjs +101 -0
  31. package/esm2020/lib/browse/browse-items.component.mjs +481 -0
  32. package/esm2020/lib/browse/browse.mobile.component.mjs +101 -0
  33. package/esm2020/lib/browse/browse.pane.component.mjs +148 -0
  34. package/esm2020/lib/browse/expanded-item/expanded-item.component.mjs +316 -0
  35. package/esm2020/lib/browse/filter/filter.component.mjs +164 -0
  36. package/esm2020/lib/browse/folders-menu.component.mjs +51 -0
  37. package/esm2020/lib/chat/chat-info.mjs +68 -0
  38. package/esm2020/lib/chat/chat.mobile.component.mjs +26 -0
  39. package/esm2020/lib/chat/chat.service.mjs +122 -0
  40. package/esm2020/lib/chat/contacts.component.mjs +103 -0
  41. package/esm2020/lib/chat/contacts.pane.component.mjs +29 -0
  42. package/esm2020/lib/chat/conversation.component.mjs +193 -0
  43. package/esm2020/lib/chat/conversation.pane.component.mjs +53 -0
  44. package/esm2020/lib/compose/action/action-picker.component.mjs +84 -0
  45. package/esm2020/lib/compose/action/action-ref.mjs +19 -0
  46. package/esm2020/lib/compose/action/action.base.mjs +49 -0
  47. package/esm2020/lib/compose/action/action.dialog.mjs +61 -0
  48. package/esm2020/lib/compose/action/action.pane.dialog.exp.mjs +72 -0
  49. package/esm2020/lib/compose/action/assign-action.component.mjs +70 -0
  50. package/esm2020/lib/compose/action/moveto-action.component.mjs +91 -0
  51. package/esm2020/lib/compose/action/return-action.component.mjs +52 -0
  52. package/esm2020/lib/compose/attachments/attachments.component.mjs +127 -0
  53. package/esm2020/lib/compose/attachments/preview/attachment-preview.component.mjs +155 -0
  54. package/esm2020/lib/compose/attachments/progress-button.directive.mjs +25 -0
  55. package/esm2020/lib/compose/can-deactivate-changes.service.mjs +27 -0
  56. package/esm2020/lib/compose/comments/Comments.pane.component.mjs +49 -0
  57. package/esm2020/lib/compose/comments/comment.component.mjs +186 -0
  58. package/esm2020/lib/compose/comments/comments.component.mjs +227 -0
  59. package/esm2020/lib/compose/comments/edit-comment.component.mjs +32 -0
  60. package/esm2020/lib/compose/comments/edits.component.mjs +30 -0
  61. package/esm2020/lib/compose/comments/quick-comment.component.exp.mjs +63 -0
  62. package/esm2020/lib/compose/comments/votes.component.mjs +42 -0
  63. package/esm2020/lib/compose/compose-resolve.service.mjs +55 -0
  64. package/esm2020/lib/compose/compose.mobile.component.mjs +112 -0
  65. package/esm2020/lib/compose/compose.pane.component.mjs +205 -0
  66. package/esm2020/lib/compose/copy/copy.dialog.mjs +46 -0
  67. package/esm2020/lib/compose/dismiss.service.mjs +25 -0
  68. package/esm2020/lib/compose/document-resolver.service.mjs +17 -0
  69. package/esm2020/lib/compose/document.component.mjs +45 -0
  70. package/esm2020/lib/compose/document.mobile.component.mjs +22 -0
  71. package/esm2020/lib/compose/document.pane.component.mjs +26 -0
  72. package/esm2020/lib/compose/events/events.component.mjs +30 -0
  73. package/esm2020/lib/compose/form-ref.mjs +46 -0
  74. package/esm2020/lib/compose/form-selector/form-selector.sheet.mjs +88 -0
  75. package/esm2020/lib/compose/form.component.mjs +458 -0
  76. package/esm2020/lib/compose/new-menu.component.mjs +104 -0
  77. package/esm2020/lib/compose/privilage.directive.mjs +64 -0
  78. package/esm2020/lib/compose/recipient-resolver.service.mjs +18 -0
  79. package/esm2020/lib/compose/save-changes.dialog.mjs +18 -0
  80. package/esm2020/lib/compose/state.component.mjs +37 -0
  81. package/esm2020/lib/compose/tag/tags.component.mjs +91 -0
  82. package/esm2020/lib/compose/trace/flow.component.mjs +699 -0
  83. package/esm2020/lib/compose/trace/people.component.mjs +35 -0
  84. package/esm2020/lib/compose/trace/trace.base.mjs +71 -0
  85. package/esm2020/lib/compose/trace/trace.component.mjs +359 -0
  86. package/esm2020/lib/compose/trace/trace.pane.component.mjs +52 -0
  87. package/esm2020/lib/compose/version-compare/version-compare.component.mjs +53 -0
  88. package/esm2020/lib/compose/version-compare/version-compare.directive.mjs +344 -0
  89. package/esm2020/lib/compose/version-compare/version.pane.component.mjs +56 -0
  90. package/esm2020/lib/core/NgComponentOutlet.mjs +38 -0
  91. package/esm2020/lib/core/account.service.mjs +37 -0
  92. package/esm2020/lib/core/animated-icon/animated-icon.directive.mjs +17 -0
  93. package/esm2020/lib/core/animations.mjs +156 -0
  94. package/esm2020/lib/core/authentication.mjs +3 -0
  95. package/esm2020/lib/core/avatar/avatar.component.mjs +103 -0
  96. package/esm2020/lib/core/base.mjs +2 -0
  97. package/esm2020/lib/core/colors.mjs +322 -0
  98. package/esm2020/lib/core/component-factory-resolver.mjs +64 -0
  99. package/esm2020/lib/core/configuration.mjs +17 -0
  100. package/esm2020/lib/core/controls/address.input.mjs +206 -0
  101. package/esm2020/lib/core/controls/auto-complete.input.mjs +256 -0
  102. package/esm2020/lib/core/controls/combination-picker-body.mjs +173 -0
  103. package/esm2020/lib/core/controls/combination-picker.mjs +277 -0
  104. package/esm2020/lib/core/controls/combination-pool.mjs +105 -0
  105. package/esm2020/lib/core/controls/file.input.mjs +420 -0
  106. package/esm2020/lib/core/controls/select.input.mjs +237 -0
  107. package/esm2020/lib/core/controls/time-picker.mjs +196 -0
  108. package/esm2020/lib/core/controls/timespan.input.mjs +207 -0
  109. package/esm2020/lib/core/datasource.service.mjs +75 -0
  110. package/esm2020/lib/core/decorators.mjs +46 -0
  111. package/esm2020/lib/core/firebase.service.mjs +50 -0
  112. package/esm2020/lib/core/functions.mjs +205 -0
  113. package/esm2020/lib/core/guide/guide.component.mjs +231 -0
  114. package/esm2020/lib/core/guide/guide.service.mjs +118 -0
  115. package/esm2020/lib/core/guide/help-tip.component.mjs +58 -0
  116. package/esm2020/lib/core/http.interceptor.mjs +79 -0
  117. package/esm2020/lib/core/hub.service.mjs +108 -0
  118. package/esm2020/lib/core/identity/identity.component.mjs +67 -0
  119. package/esm2020/lib/core/info/attachment-info.service.mjs +51 -0
  120. package/esm2020/lib/core/info/document-info.service.mjs +21 -0
  121. package/esm2020/lib/core/info/location-info.component.mjs +61 -0
  122. package/esm2020/lib/core/info/map-info.mjs +40 -0
  123. package/esm2020/lib/core/layout/autocomplete.field.mjs +60 -0
  124. package/esm2020/lib/core/layout/checkbox.field.mjs +41 -0
  125. package/esm2020/lib/core/layout/checkbox.mjs +35 -0
  126. package/esm2020/lib/core/layout/date-range.field.mjs +53 -0
  127. package/esm2020/lib/core/layout/date.field.mjs +52 -0
  128. package/esm2020/lib/core/layout/expression.field.mjs +51 -0
  129. package/esm2020/lib/core/layout/file.field.mjs +47 -0
  130. package/esm2020/lib/core/layout/html.field.mjs +48 -0
  131. package/esm2020/lib/core/layout/input.base.mjs +11 -0
  132. package/esm2020/lib/core/layout/input.field.mjs +64 -0
  133. package/esm2020/lib/core/layout/layout.component.mjs +196 -0
  134. package/esm2020/lib/core/layout/numeric.field.mjs +47 -0
  135. package/esm2020/lib/core/layout/select.field.mjs +82 -0
  136. package/esm2020/lib/core/layout/switch.field.mjs +41 -0
  137. package/esm2020/lib/core/layout/textarea.field.mjs +42 -0
  138. package/esm2020/lib/core/layout/timespan.field.mjs +50 -0
  139. package/esm2020/lib/core/lottie-animation.mjs +46 -0
  140. package/esm2020/lib/core/mailbox.service.mjs +410 -0
  141. package/esm2020/lib/core/models.mjs +40 -0
  142. package/esm2020/lib/core/none.component.mjs +40 -0
  143. package/esm2020/lib/core/pipes/action.pipe.mjs +25 -0
  144. package/esm2020/lib/core/pipes/calendar.pipe.mjs +72 -0
  145. package/esm2020/lib/core/pipes/date-format.pipe.mjs +19 -0
  146. package/esm2020/lib/core/pipes/daterange.pipe.mjs +62 -0
  147. package/esm2020/lib/core/pipes/difference.pipe.mjs +15 -0
  148. package/esm2020/lib/core/pipes/duration-format.pipe.mjs +48 -0
  149. package/esm2020/lib/core/pipes/duration.pipe.mjs +19 -0
  150. package/esm2020/lib/core/pipes/form.pipe.mjs +25 -0
  151. package/esm2020/lib/core/pipes/join.pipe.mjs +18 -0
  152. package/esm2020/lib/core/pipes/role.pipe.mjs +25 -0
  153. package/esm2020/lib/core/pipes/sanitize-html.pipe.mjs +18 -0
  154. package/esm2020/lib/core/pipes/sort.pipe.mjs +48 -0
  155. package/esm2020/lib/core/pipes/state.pipe.mjs +25 -0
  156. package/esm2020/lib/core/pipes/time-ago.pipe.mjs +66 -0
  157. package/esm2020/lib/core/pipes/translate.pipe.mjs +38 -0
  158. package/esm2020/lib/core/pipes/type-value.pipe.mjs +42 -0
  159. package/esm2020/lib/core/pipes/user-name.pipe.mjs +21 -0
  160. package/esm2020/lib/core/popup/popup-ref.mjs +20 -0
  161. package/esm2020/lib/core/popup/popup.component.mjs +37 -0
  162. package/esm2020/lib/core/popup/popup.service.mjs +148 -0
  163. package/esm2020/lib/core/popup/tooltip.directive.mjs +82 -0
  164. package/esm2020/lib/core/prompt/ask/ask.dialog.mjs +29 -0
  165. package/esm2020/lib/core/prompt/mask/mask.component.mjs +21 -0
  166. package/esm2020/lib/core/prompt.service.mjs +86 -0
  167. package/esm2020/lib/core/router.mjs +37 -0
  168. package/esm2020/lib/core/session.service.mjs +256 -0
  169. package/esm2020/lib/core/slots/pane-ref.mjs +148 -0
  170. package/esm2020/lib/core/slots/router.directive.mjs +68 -0
  171. package/esm2020/lib/core/slots/router.service.mjs +30 -0
  172. package/esm2020/lib/core/slots/slots.component.mjs +1141 -0
  173. package/esm2020/lib/core/tagging/documents.component.mjs +25 -0
  174. package/esm2020/lib/core/tagging/edit-input.component.mjs +233 -0
  175. package/esm2020/lib/core/tagging/emoji.component.mjs +35 -0
  176. package/esm2020/lib/core/tagging/tagging-item.directive.mjs +39 -0
  177. package/esm2020/lib/core/tagging/tagging.component-base.mjs +29 -0
  178. package/esm2020/lib/core/tagging/tagging.directive.mjs +138 -0
  179. package/esm2020/lib/core/tagging/tagging.pipe.mjs +72 -0
  180. package/esm2020/lib/core/tagging/users.component.mjs +32 -0
  181. package/esm2020/lib/core/translate.service.mjs +124 -0
  182. package/esm2020/lib/core/translations.mjs +1135 -0
  183. package/esm2020/lib/core/window-title.service.mjs +53 -0
  184. package/esm2020/lib/cube/accum/accum.component.mjs +259 -0
  185. package/esm2020/lib/cube/chart/chart.component.mjs +341 -0
  186. package/esm2020/lib/cube/cube-info.service.mjs +100 -0
  187. package/esm2020/lib/cube/cube-menu.component.mjs +27 -0
  188. package/esm2020/lib/cube/cube-view.component.mjs +186 -0
  189. package/esm2020/lib/cube/cube.service.mjs +418 -0
  190. package/esm2020/lib/cube/declarations.mjs +2 -0
  191. package/esm2020/lib/cube/explore/document-item.component.mjs +38 -0
  192. package/esm2020/lib/cube/explore/explore-item.component.mjs +27 -0
  193. package/esm2020/lib/cube/explore/explore-items.component.mjs +186 -0
  194. package/esm2020/lib/cube/explore/explore.pane.component.mjs +83 -0
  195. package/esm2020/lib/cube/explore/item-resolver.service.mjs +32 -0
  196. package/esm2020/lib/cube/explore/item.pane.component.mjs +23 -0
  197. package/esm2020/lib/cube/filter/filter-tags.component.exp.mjs +75 -0
  198. package/esm2020/lib/cube/filter/filter.component.mjs +137 -0
  199. package/esm2020/lib/cube/grid/grid.component.mjs +218 -0
  200. package/esm2020/lib/cube/grid/spreadsheet.component.mjs +367 -0
  201. package/esm2020/lib/cube/matrix/matrix.base.mjs +127 -0
  202. package/esm2020/lib/cube/matrix/matrix.mobile.component.mjs +63 -0
  203. package/esm2020/lib/cube/matrix/matrix.pane.component.mjs +76 -0
  204. package/esm2020/lib/cube/matrix/popup.component.mjs +67 -0
  205. package/esm2020/lib/cube/matrix/table.component.mjs +493 -0
  206. package/esm2020/lib/cube/parallel/item.mjs +41 -0
  207. package/esm2020/lib/cube/parallel/parallel.component.mjs +159 -0
  208. package/esm2020/lib/cube/pivot/pivot.component.mjs +507 -0
  209. package/esm2020/lib/cube/sum/sum.component.mjs +404 -0
  210. package/esm2020/lib/cube/view-base.mjs +79 -0
  211. package/esm2020/lib/cube/view.mobile.component.mjs +127 -0
  212. package/esm2020/lib/cube/view.pane.component.mjs +88 -0
  213. package/esm2020/lib/dashboard/actions/actions.widget.mjs +126 -0
  214. package/esm2020/lib/dashboard/cube/accum-cube.widget.mjs +145 -0
  215. package/esm2020/lib/dashboard/cube/compare.widget.mjs +215 -0
  216. package/esm2020/lib/dashboard/cube/cube-analysis.base.mjs +90 -0
  217. package/esm2020/lib/dashboard/cube/cube-analysis.widget.mjs +53 -0
  218. package/esm2020/lib/dashboard/cube/cube-chart.widget.mjs +144 -0
  219. package/esm2020/lib/dashboard/cube/documents.widget.mjs +64 -0
  220. package/esm2020/lib/dashboard/cube/filter/filter.component.mjs +61 -0
  221. package/esm2020/lib/dashboard/dashboard.component.mjs +55 -0
  222. package/esm2020/lib/dashboard/dashboard.pane.component.mjs +24 -0
  223. package/esm2020/lib/dashboard/recents/recents.widget.mjs +98 -0
  224. package/esm2020/lib/dashboard/score/activity.widget.mjs +173 -0
  225. package/esm2020/lib/dashboard/score/compare-groups.widget.mjs +206 -0
  226. package/esm2020/lib/dashboard/score/peers-performance.widget.mjs +253 -0
  227. package/esm2020/lib/dashboard/score/pending-results.widget.mjs +60 -0
  228. package/esm2020/lib/dashboard/score/personal-score.widget.mjs +223 -0
  229. package/esm2020/lib/dashboard/widget-item.component.mjs +90 -0
  230. package/esm2020/lib/dashboard/widget-ref.mjs +18 -0
  231. package/esm2020/lib/desktop.module.mjs +144 -0
  232. package/esm2020/lib/home/about/about.dialog.mjs +26 -0
  233. package/esm2020/lib/home/home-base.component.mjs +91 -0
  234. package/esm2020/lib/home/home.desktop.component.mjs +221 -0
  235. package/esm2020/lib/home/home.mobile.component.mjs +116 -0
  236. package/esm2020/lib/home/notifications/notifications.component.mjs +67 -0
  237. package/esm2020/lib/home/options/options.component.mjs +94 -0
  238. package/esm2020/lib/home/outofoffice/outofoffice.component.mjs +38 -0
  239. package/esm2020/lib/home/search.service.mjs +75 -0
  240. package/esm2020/lib/home/sign/sign.component.mjs +54 -0
  241. package/esm2020/lib/home/tools.component.mjs +82 -0
  242. package/esm2020/lib/impersonate/impersonate.component.mjs +65 -0
  243. package/esm2020/lib/mobile.module.mjs +59 -0
  244. package/esm2020/lib/modules/chart.module.mjs +39 -0
  245. package/esm2020/lib/modules/circular-gauge.module.mjs +17 -0
  246. package/esm2020/lib/modules/date.adapter.mjs +23 -0
  247. package/esm2020/lib/modules/datepicker.intl.mjs +39 -0
  248. package/esm2020/lib/modules/dayjs.module.mjs +41 -0
  249. package/esm2020/lib/modules/diagram.module.mjs +35 -0
  250. package/esm2020/lib/modules/gantt.module.mjs +18 -0
  251. package/esm2020/lib/modules/grid.module.mjs +23 -0
  252. package/esm2020/lib/modules/material.module.mjs +188 -0
  253. package/esm2020/lib/modules/paginator.intl.mjs +21 -0
  254. package/esm2020/lib/modules/pivot.module.mjs +24 -0
  255. package/esm2020/lib/modules/schedule.module.mjs +21 -0
  256. package/esm2020/lib/modules/spreadsheet.module.mjs +30 -0
  257. package/esm2020/lib/modules/stepper.intl.mjs +17 -0
  258. package/esm2020/lib/modules/texteditor.module.mjs +27 -0
  259. package/esm2020/lib/notifications/filter.component.mjs +25 -0
  260. package/esm2020/lib/notifications/notifications-table.component.mjs +106 -0
  261. package/esm2020/lib/notifications/notifications.component-base.mjs +47 -0
  262. package/esm2020/lib/notifications/notifications.mobile.component.mjs +20 -0
  263. package/esm2020/lib/notifications/notifications.pane.component.mjs +23 -0
  264. package/esm2020/lib/notifications/notifications.service.mjs +71 -0
  265. package/esm2020/lib/notifications/types/commented.notification.mjs +53 -0
  266. package/esm2020/lib/notifications/types/cube-anomaly.notification.mjs +58 -0
  267. package/esm2020/lib/notifications/types/escalated.notification.mjs +33 -0
  268. package/esm2020/lib/notifications/types/liked.notification.mjs +50 -0
  269. package/esm2020/lib/notifications/types/long-running-task.notification.mjs +31 -0
  270. package/esm2020/lib/notifications/types/notification-base.mjs +40 -0
  271. package/esm2020/lib/notifications/types/nudge.notification.mjs +31 -0
  272. package/esm2020/lib/notifications/types/state-changed.notification.mjs +30 -0
  273. package/esm2020/lib/notifications/types/tagged.notification.mjs +43 -0
  274. package/esm2020/lib/notifications/types/text.notification.mjs +20 -0
  275. package/esm2020/lib/notifications/types/upcoming-event.notification.mjs +36 -0
  276. package/esm2020/lib/options/options.component.mjs +248 -0
  277. package/esm2020/lib/options/options.service.mjs +38 -0
  278. package/esm2020/lib/reports/arguments-component.mjs +83 -0
  279. package/esm2020/lib/reports/cube/documents.component.mjs +40 -0
  280. package/esm2020/lib/reports/cube/grid-documents.component.mjs +72 -0
  281. package/esm2020/lib/reports/cube/table-documents.component.mjs +56 -0
  282. package/esm2020/lib/reports/cube/usage-args.component.mjs +61 -0
  283. package/esm2020/lib/reports/cube/usage-base.mjs +79 -0
  284. package/esm2020/lib/reports/cube/usage-chart.component.mjs +357 -0
  285. package/esm2020/lib/reports/cube/usage-pivot.component.mjs +256 -0
  286. package/esm2020/lib/reports/cube/usage.component.mjs +40 -0
  287. package/esm2020/lib/reports/report-ref.mjs +31 -0
  288. package/esm2020/lib/reports/report-viewer.component.mjs +151 -0
  289. package/esm2020/lib/reports/report.mobile.component.mjs +128 -0
  290. package/esm2020/lib/reports/report.pane.component.mjs +96 -0
  291. package/esm2020/lib/reports/reports-menu.component.mjs +26 -0
  292. package/esm2020/lib/reports/substitution/substitution.component.mjs +40 -0
  293. package/esm2020/lib/reports/table/table-view.component.mjs +41 -0
  294. package/esm2020/lib/reports/tasks/tasks.component.mjs +95 -0
  295. package/esm2020/lib/routes.desktop.mjs +197 -0
  296. package/esm2020/lib/routes.mobile.mjs +69 -0
  297. package/esm2020/lib/scheduler/schedule.component.mjs +166 -0
  298. package/esm2020/lib/scheduler/scheduler.mobile.component.mjs +37 -0
  299. package/esm2020/lib/scheduler/scheduler.pane.component.mjs +53 -0
  300. package/esm2020/lib/shared.module.mjs +518 -0
  301. package/esm2020/lib/system.module.mjs +113 -0
  302. package/esm2020/lib/views/cube/chart.component.mjs +75 -0
  303. package/esm2020/lib/views/cube/cube-base.mjs +96 -0
  304. package/esm2020/lib/views/cube/explore.component.mjs +83 -0
  305. package/esm2020/lib/views/cube/matrix.component.mjs +97 -0
  306. package/esm2020/lib/views/cube/parallel.component.mjs +54 -0
  307. package/esm2020/lib/views/cube/pivot.component.mjs +51 -0
  308. package/esm2020/lib/views/cube/sum.component.mjs +64 -0
  309. package/esm2020/lib/views/cube/view.component.mjs +102 -0
  310. package/esm2020/lib/views/document-view-ref.mjs +27 -0
  311. package/esm2020/lib/views/timeline/timeline.component.exp.mjs +313 -0
  312. package/esm2020/lib/views/view-item.component.mjs +67 -0
  313. package/esm2020/lib/views/views.component.mjs +33 -0
  314. package/esm2020/lib/views/views.mobile.component.mjs +20 -0
  315. package/esm2020/lib/views/views.pane.component.mjs +35 -0
  316. package/esm2020/public-api.mjs +143 -0
  317. package/fesm2015/bizdoc-core.mjs +30733 -0
  318. package/fesm2015/bizdoc-core.mjs.map +1 -0
  319. package/fesm2020/bizdoc-core.mjs +30513 -0
  320. package/fesm2020/bizdoc-core.mjs.map +1 -0
  321. package/lib/admin/admin-dismiss.service.d.ts +14 -0
  322. package/lib/admin/admin-menu.component.d.ts +12 -0
  323. package/lib/admin/core/ace.input.d.ts +52 -0
  324. package/lib/admin/core/color-picker.input.d.ts +64 -0
  325. package/lib/admin/core/search.input.d.ts +13 -0
  326. package/lib/admin/diff/configuration-diff.component.d.ts +116 -0
  327. package/lib/admin/document-trace/document-trace.component.d.ts +98 -0
  328. package/lib/admin/document-trace/reassign.dialog.d.ts +22 -0
  329. package/lib/admin/document-trace/timeline.d.ts +40 -0
  330. package/lib/admin/document-trace/trace-element.component.d.ts +51 -0
  331. package/lib/admin/form/form.resolve.service.d.ts +12 -0
  332. package/lib/admin/form/form.service.d.ts +30 -0
  333. package/lib/admin/form/workflow/node-ref.d.ts +7 -0
  334. package/lib/admin/form/workflow/node.component.d.ts +37 -0
  335. package/lib/admin/form/workflow/role-node.component.d.ts +22 -0
  336. package/lib/admin/form/workflow/workflow.component.d.ts +76 -0
  337. package/lib/admin/indices/manage-cube-index.component.d.ts +54 -0
  338. package/lib/admin/patterns/patterns.component.d.ts +79 -0
  339. package/lib/admin/permissions/permissions.component.d.ts +45 -0
  340. package/lib/admin/positions/positions-popup.component.d.ts +39 -0
  341. package/lib/admin/positions/positions.component.d.ts +117 -0
  342. package/lib/admin/profiler/outofoffice.component.d.ts +48 -0
  343. package/lib/admin/profiler/profiler.component.d.ts +116 -0
  344. package/lib/admin/utility-ref.d.ts +19 -0
  345. package/lib/admin/utility-wrapper.component.d.ts +28 -0
  346. package/lib/admin/utility.pane.component.d.ts +24 -0
  347. package/lib/app.component.d.ts +24 -0
  348. package/lib/bizdoc.module.d.ts +18 -0
  349. package/lib/browse/browse-items.component.d.ts +103 -0
  350. package/lib/browse/browse.mobile.component.d.ts +39 -0
  351. package/lib/browse/browse.pane.component.d.ts +50 -0
  352. package/lib/browse/expanded-item/expanded-item.component.d.ts +67 -0
  353. package/lib/browse/filter/filter.component.d.ts +71 -0
  354. package/lib/browse/folders-menu.component.d.ts +22 -0
  355. package/lib/chat/chat-info.d.ts +37 -0
  356. package/lib/chat/chat.mobile.component.d.ts +10 -0
  357. package/lib/chat/chat.service.d.ts +38 -0
  358. package/lib/chat/contacts.component.d.ts +38 -0
  359. package/lib/chat/contacts.pane.component.d.ts +12 -0
  360. package/lib/chat/conversation.component.d.ts +56 -0
  361. package/lib/chat/conversation.pane.component.d.ts +16 -0
  362. package/lib/compose/action/action-picker.component.d.ts +25 -0
  363. package/lib/compose/action/action-ref.d.ts +10 -0
  364. package/lib/compose/action/action.base.d.ts +15 -0
  365. package/lib/compose/action/action.dialog.d.ts +29 -0
  366. package/lib/compose/action/action.pane.dialog.exp.d.ts +31 -0
  367. package/lib/compose/action/assign-action.component.d.ts +30 -0
  368. package/lib/compose/action/moveto-action.component.d.ts +36 -0
  369. package/lib/compose/action/return-action.component.d.ts +19 -0
  370. package/lib/compose/attachments/attachments.component.d.ts +35 -0
  371. package/lib/compose/attachments/preview/attachment-preview.component.d.ts +49 -0
  372. package/lib/compose/attachments/progress-button.directive.d.ts +12 -0
  373. package/lib/compose/can-deactivate-changes.service.d.ts +12 -0
  374. package/lib/compose/comments/Comments.pane.component.d.ts +18 -0
  375. package/lib/compose/comments/comment.component.d.ts +51 -0
  376. package/lib/compose/comments/comments.component.d.ts +66 -0
  377. package/lib/compose/comments/edit-comment.component.d.ts +25 -0
  378. package/lib/compose/comments/edits.component.d.ts +26 -0
  379. package/lib/compose/comments/quick-comment.component.exp.d.ts +28 -0
  380. package/lib/compose/comments/votes.component.d.ts +22 -0
  381. package/lib/compose/compose-resolve.service.d.ts +27 -0
  382. package/lib/compose/compose.mobile.component.d.ts +42 -0
  383. package/lib/compose/compose.pane.component.d.ts +58 -0
  384. package/lib/compose/copy/copy.dialog.d.ts +23 -0
  385. package/lib/compose/dismiss.service.d.ts +12 -0
  386. package/lib/compose/document-resolver.service.d.ts +12 -0
  387. package/lib/compose/document.component.d.ts +18 -0
  388. package/lib/compose/document.mobile.component.d.ts +10 -0
  389. package/lib/compose/document.pane.component.d.ts +12 -0
  390. package/lib/compose/events/events.component.d.ts +13 -0
  391. package/lib/compose/form-ref.d.ts +30 -0
  392. package/lib/compose/form-selector/form-selector.sheet.d.ts +28 -0
  393. package/lib/compose/form.component.d.ts +101 -0
  394. package/lib/compose/new-menu.component.d.ts +36 -0
  395. package/lib/compose/privilage.directive.d.ts +26 -0
  396. package/lib/compose/recipient-resolver.service.d.ts +12 -0
  397. package/lib/compose/save-changes.dialog.d.ts +7 -0
  398. package/lib/compose/state.component.d.ts +12 -0
  399. package/lib/compose/tag/tags.component.d.ts +36 -0
  400. package/lib/compose/trace/flow.component.d.ts +59 -0
  401. package/lib/compose/trace/people.component.d.ts +18 -0
  402. package/lib/compose/trace/trace.base.d.ts +28 -0
  403. package/lib/compose/trace/trace.component.d.ts +55 -0
  404. package/lib/compose/trace/trace.pane.component.d.ts +20 -0
  405. package/lib/compose/version-compare/version-compare.component.d.ts +24 -0
  406. package/lib/compose/version-compare/version-compare.directive.d.ts +89 -0
  407. package/lib/compose/version-compare/version.pane.component.d.ts +21 -0
  408. package/lib/core/NgComponentOutlet.d.ts +15 -0
  409. package/lib/core/account.service.d.ts +18 -0
  410. package/lib/core/animated-icon/animated-icon.directive.d.ts +7 -0
  411. package/lib/core/animations.d.ts +26 -0
  412. package/lib/core/authentication.d.ts +6 -0
  413. package/lib/core/avatar/avatar.component.d.ts +34 -0
  414. package/lib/core/base.d.ts +31 -0
  415. package/lib/core/colors.d.ts +6 -0
  416. package/lib/core/component-factory-resolver.d.ts +12 -0
  417. package/lib/core/configuration.d.ts +113 -0
  418. package/lib/core/controls/address.input.d.ts +65 -0
  419. package/lib/core/controls/auto-complete.input.d.ts +86 -0
  420. package/lib/core/controls/combination-picker-body.d.ts +114 -0
  421. package/lib/core/controls/combination-picker.d.ts +82 -0
  422. package/lib/core/controls/combination-pool.d.ts +42 -0
  423. package/lib/core/controls/file.input.d.ts +99 -0
  424. package/lib/core/controls/select.input.d.ts +84 -0
  425. package/lib/core/controls/time-picker.d.ts +52 -0
  426. package/lib/core/controls/timespan.input.d.ts +55 -0
  427. package/lib/core/datasource.service.d.ts +46 -0
  428. package/lib/core/decorators.d.ts +17 -0
  429. package/lib/core/firebase.service.d.ts +17 -0
  430. package/lib/core/functions.d.ts +54 -0
  431. package/lib/core/guide/guide.component.d.ts +31 -0
  432. package/lib/core/guide/guide.service.d.ts +38 -0
  433. package/lib/core/guide/help-tip.component.d.ts +16 -0
  434. package/lib/core/http.interceptor.d.ts +21 -0
  435. package/lib/core/hub.service.d.ts +133 -0
  436. package/lib/core/identity/identity.component.d.ts +29 -0
  437. package/lib/core/info/attachment-info.service.d.ts +17 -0
  438. package/lib/core/info/document-info.service.d.ts +14 -0
  439. package/lib/core/info/location-info.component.d.ts +28 -0
  440. package/lib/core/info/map-info.d.ts +15 -0
  441. package/lib/core/layout/autocomplete.field.d.ts +21 -0
  442. package/lib/core/layout/checkbox.d.ts +10 -0
  443. package/lib/core/layout/checkbox.field.d.ts +11 -0
  444. package/lib/core/layout/date-range.field.d.ts +13 -0
  445. package/lib/core/layout/date.field.d.ts +11 -0
  446. package/lib/core/layout/expression.field.d.ts +12 -0
  447. package/lib/core/layout/file.field.d.ts +14 -0
  448. package/lib/core/layout/html.field.d.ts +12 -0
  449. package/lib/core/layout/input.base.d.ts +10 -0
  450. package/lib/core/layout/input.field.d.ts +14 -0
  451. package/lib/core/layout/layout.component.d.ts +33 -0
  452. package/lib/core/layout/numeric.field.d.ts +11 -0
  453. package/lib/core/layout/select.field.d.ts +22 -0
  454. package/lib/core/layout/switch.field.d.ts +11 -0
  455. package/lib/core/layout/textarea.field.d.ts +11 -0
  456. package/lib/core/layout/timespan.field.d.ts +11 -0
  457. package/lib/core/lottie-animation.d.ts +14 -0
  458. package/lib/core/mailbox.service.d.ts +142 -0
  459. package/lib/core/models.d.ts +652 -0
  460. package/lib/core/none.component.d.ts +9 -0
  461. package/lib/core/pipes/action.pipe.d.ts +10 -0
  462. package/lib/core/pipes/calendar.pipe.d.ts +27 -0
  463. package/lib/core/pipes/date-format.pipe.d.ts +8 -0
  464. package/lib/core/pipes/daterange.pipe.d.ts +15 -0
  465. package/lib/core/pipes/difference.pipe.d.ts +7 -0
  466. package/lib/core/pipes/duration-format.pipe.d.ts +11 -0
  467. package/lib/core/pipes/duration.pipe.d.ts +8 -0
  468. package/lib/core/pipes/form.pipe.d.ts +10 -0
  469. package/lib/core/pipes/join.pipe.d.ts +10 -0
  470. package/lib/core/pipes/role.pipe.d.ts +10 -0
  471. package/lib/core/pipes/sanitize-html.pipe.d.ts +10 -0
  472. package/lib/core/pipes/sort.pipe.d.ts +12 -0
  473. package/lib/core/pipes/state.pipe.d.ts +10 -0
  474. package/lib/core/pipes/time-ago.pipe.d.ts +16 -0
  475. package/lib/core/pipes/translate.pipe.d.ts +18 -0
  476. package/lib/core/pipes/type-value.pipe.d.ts +15 -0
  477. package/lib/core/pipes/user-name.pipe.d.ts +11 -0
  478. package/lib/core/popup/popup-ref.d.ts +14 -0
  479. package/lib/core/popup/popup.component.d.ts +22 -0
  480. package/lib/core/popup/popup.service.d.ts +24 -0
  481. package/lib/core/popup/tooltip.directive.d.ts +29 -0
  482. package/lib/core/prompt/ask/ask.dialog.d.ts +22 -0
  483. package/lib/core/prompt/mask/mask.component.d.ts +10 -0
  484. package/lib/core/prompt.service.d.ts +36 -0
  485. package/lib/core/router.d.ts +22 -0
  486. package/lib/core/session.service.d.ts +82 -0
  487. package/lib/core/slots/pane-ref.d.ts +135 -0
  488. package/lib/core/slots/router.directive.d.ts +25 -0
  489. package/lib/core/slots/router.service.d.ts +36 -0
  490. package/lib/core/slots/slots.component.d.ts +212 -0
  491. package/lib/core/tagging/documents.component.d.ts +11 -0
  492. package/lib/core/tagging/edit-input.component.d.ts +65 -0
  493. package/lib/core/tagging/emoji.component.d.ts +18 -0
  494. package/lib/core/tagging/tagging-item.directive.d.ts +15 -0
  495. package/lib/core/tagging/tagging.component-base.d.ts +19 -0
  496. package/lib/core/tagging/tagging.directive.d.ts +34 -0
  497. package/lib/core/tagging/tagging.pipe.d.ts +24 -0
  498. package/lib/core/tagging/users.component.d.ts +15 -0
  499. package/lib/core/translate.service.d.ts +31 -0
  500. package/lib/core/translations.d.ts +1128 -0
  501. package/lib/core/window-title.service.d.ts +21 -0
  502. package/lib/cube/accum/accum.component.d.ts +63 -0
  503. package/lib/cube/chart/chart.component.d.ts +74 -0
  504. package/lib/cube/cube-info.service.d.ts +77 -0
  505. package/lib/cube/cube-menu.component.d.ts +12 -0
  506. package/lib/cube/cube-view.component.d.ts +31 -0
  507. package/lib/cube/cube.service.d.ts +268 -0
  508. package/lib/cube/declarations.d.ts +23 -0
  509. package/lib/cube/explore/document-item.component.d.ts +16 -0
  510. package/lib/cube/explore/explore-item.component.d.ts +14 -0
  511. package/lib/cube/explore/explore-items.component.d.ts +57 -0
  512. package/lib/cube/explore/explore.pane.component.d.ts +30 -0
  513. package/lib/cube/explore/item-resolver.service.d.ts +20 -0
  514. package/lib/cube/explore/item.pane.component.d.ts +13 -0
  515. package/lib/cube/filter/filter-tags.component.exp.d.ts +31 -0
  516. package/lib/cube/filter/filter.component.d.ts +44 -0
  517. package/lib/cube/grid/grid.component.d.ts +59 -0
  518. package/lib/cube/grid/spreadsheet.component.d.ts +62 -0
  519. package/lib/cube/matrix/matrix.base.d.ts +72 -0
  520. package/lib/cube/matrix/matrix.mobile.component.d.ts +22 -0
  521. package/lib/cube/matrix/matrix.pane.component.d.ts +36 -0
  522. package/lib/cube/matrix/popup.component.d.ts +21 -0
  523. package/lib/cube/matrix/table.component.d.ts +100 -0
  524. package/lib/cube/parallel/item.d.ts +13 -0
  525. package/lib/cube/parallel/parallel.component.d.ts +52 -0
  526. package/lib/cube/pivot/pivot.component.d.ts +103 -0
  527. package/lib/cube/sum/sum.component.d.ts +81 -0
  528. package/lib/cube/view-base.d.ts +39 -0
  529. package/lib/cube/view.mobile.component.d.ts +46 -0
  530. package/lib/cube/view.pane.component.d.ts +27 -0
  531. package/lib/dashboard/actions/actions.widget.d.ts +39 -0
  532. package/lib/dashboard/cube/accum-cube.widget.d.ts +33 -0
  533. package/lib/dashboard/cube/compare.widget.d.ts +53 -0
  534. package/lib/dashboard/cube/cube-analysis.base.d.ts +59 -0
  535. package/lib/dashboard/cube/cube-analysis.widget.d.ts +17 -0
  536. package/lib/dashboard/cube/cube-chart.widget.d.ts +32 -0
  537. package/lib/dashboard/cube/documents.widget.d.ts +30 -0
  538. package/lib/dashboard/cube/filter/filter.component.d.ts +22 -0
  539. package/lib/dashboard/dashboard.component.d.ts +24 -0
  540. package/lib/dashboard/dashboard.pane.component.d.ts +8 -0
  541. package/lib/dashboard/recents/recents.widget.d.ts +40 -0
  542. package/lib/dashboard/score/activity.widget.d.ts +50 -0
  543. package/lib/dashboard/score/compare-groups.widget.d.ts +51 -0
  544. package/lib/dashboard/score/peers-performance.widget.d.ts +65 -0
  545. package/lib/dashboard/score/pending-results.widget.d.ts +27 -0
  546. package/lib/dashboard/score/personal-score.widget.d.ts +57 -0
  547. package/lib/dashboard/widget-item.component.d.ts +33 -0
  548. package/lib/dashboard/widget-ref.d.ts +11 -0
  549. package/lib/desktop.module.d.ts +45 -0
  550. package/lib/home/about/about.dialog.d.ts +14 -0
  551. package/lib/home/home-base.component.d.ts +34 -0
  552. package/lib/home/home.desktop.component.d.ts +60 -0
  553. package/lib/home/home.mobile.component.d.ts +38 -0
  554. package/lib/home/notifications/notifications.component.d.ts +28 -0
  555. package/lib/home/options/options.component.d.ts +46 -0
  556. package/lib/home/outofoffice/outofoffice.component.d.ts +19 -0
  557. package/lib/home/search.service.d.ts +23 -0
  558. package/lib/home/sign/sign.component.d.ts +17 -0
  559. package/lib/home/tools.component.d.ts +36 -0
  560. package/lib/impersonate/impersonate.component.d.ts +27 -0
  561. package/lib/mobile.module.d.ts +25 -0
  562. package/lib/modules/chart.module.d.ts +7 -0
  563. package/lib/modules/circular-gauge.module.d.ts +7 -0
  564. package/lib/modules/date.adapter.d.ts +10 -0
  565. package/lib/modules/datepicker.intl.d.ts +30 -0
  566. package/lib/modules/dayjs.module.d.ts +6 -0
  567. package/lib/modules/diagram.module.d.ts +8 -0
  568. package/lib/modules/gantt.module.d.ts +7 -0
  569. package/lib/modules/grid.module.d.ts +7 -0
  570. package/lib/modules/material.module.d.ts +45 -0
  571. package/lib/modules/paginator.intl.d.ts +14 -0
  572. package/lib/modules/pivot.module.d.ts +7 -0
  573. package/lib/modules/schedule.module.d.ts +7 -0
  574. package/lib/modules/spreadsheet.module.d.ts +8 -0
  575. package/lib/modules/stepper.intl.d.ts +10 -0
  576. package/lib/modules/texteditor.module.d.ts +8 -0
  577. package/lib/notifications/filter.component.d.ts +9 -0
  578. package/lib/notifications/notifications-table.component.d.ts +32 -0
  579. package/lib/notifications/notifications.component-base.d.ts +12 -0
  580. package/lib/notifications/notifications.mobile.component.d.ts +8 -0
  581. package/lib/notifications/notifications.pane.component.d.ts +8 -0
  582. package/lib/notifications/notifications.service.d.ts +24 -0
  583. package/lib/notifications/types/commented.notification.d.ts +26 -0
  584. package/lib/notifications/types/cube-anomaly.notification.d.ts +29 -0
  585. package/lib/notifications/types/escalated.notification.d.ts +25 -0
  586. package/lib/notifications/types/liked.notification.d.ts +25 -0
  587. package/lib/notifications/types/long-running-task.notification.d.ts +21 -0
  588. package/lib/notifications/types/notification-base.d.ts +20 -0
  589. package/lib/notifications/types/nudge.notification.d.ts +23 -0
  590. package/lib/notifications/types/state-changed.notification.d.ts +22 -0
  591. package/lib/notifications/types/tagged.notification.d.ts +26 -0
  592. package/lib/notifications/types/text.notification.d.ts +13 -0
  593. package/lib/notifications/types/upcoming-event.notification.d.ts +20 -0
  594. package/lib/options/options.component.d.ts +67 -0
  595. package/lib/options/options.service.d.ts +14 -0
  596. package/lib/reports/arguments-component.d.ts +27 -0
  597. package/lib/reports/cube/documents.component.d.ts +34 -0
  598. package/lib/reports/cube/grid-documents.component.d.ts +28 -0
  599. package/lib/reports/cube/table-documents.component.d.ts +28 -0
  600. package/lib/reports/cube/usage-args.component.d.ts +21 -0
  601. package/lib/reports/cube/usage-base.d.ts +72 -0
  602. package/lib/reports/cube/usage-chart.component.d.ts +62 -0
  603. package/lib/reports/cube/usage-pivot.component.d.ts +66 -0
  604. package/lib/reports/cube/usage.component.d.ts +16 -0
  605. package/lib/reports/report-ref.d.ts +27 -0
  606. package/lib/reports/report-viewer.component.d.ts +47 -0
  607. package/lib/reports/report.mobile.component.d.ts +48 -0
  608. package/lib/reports/report.pane.component.d.ts +37 -0
  609. package/lib/reports/reports-menu.component.d.ts +12 -0
  610. package/lib/reports/substitution/substitution.component.d.ts +23 -0
  611. package/lib/reports/table/table-view.component.d.ts +19 -0
  612. package/lib/reports/tasks/tasks.component.d.ts +68 -0
  613. package/lib/routes.desktop.d.ts +2 -0
  614. package/lib/routes.mobile.d.ts +2 -0
  615. package/lib/scheduler/schedule.component.d.ts +43 -0
  616. package/lib/scheduler/scheduler.mobile.component.d.ts +14 -0
  617. package/lib/scheduler/scheduler.pane.component.d.ts +20 -0
  618. package/lib/shared.module.d.ts +192 -0
  619. package/lib/system.module.d.ts +34 -0
  620. package/lib/views/cube/chart.component.d.ts +39 -0
  621. package/lib/views/cube/cube-base.d.ts +46 -0
  622. package/lib/views/cube/explore.component.d.ts +43 -0
  623. package/lib/views/cube/matrix.component.d.ts +51 -0
  624. package/lib/views/cube/parallel.component.d.ts +32 -0
  625. package/lib/views/cube/pivot.component.d.ts +34 -0
  626. package/lib/views/cube/sum.component.d.ts +33 -0
  627. package/lib/views/cube/view.component.d.ts +40 -0
  628. package/lib/views/document-view-ref.d.ts +18 -0
  629. package/lib/views/timeline/timeline.component.exp.d.ts +66 -0
  630. package/lib/views/view-item.component.d.ts +28 -0
  631. package/lib/views/views.component.d.ts +18 -0
  632. package/lib/views/views.mobile.component.d.ts +10 -0
  633. package/lib/views/views.pane.component.d.ts +13 -0
  634. package/package.json +78 -78
  635. package/public-api.d.ts +145 -0
  636. package/LICENSE.md +0 -1
  637. package/karma.conf.js +0 -44
  638. package/ng-package.json +0 -11
  639. package/src/icons/pdf.svg +0 -24
  640. package/src/icons/word.svg +0 -13
  641. package/src/lib/admin/_admin-theme.scss +0 -6
  642. package/src/lib/admin/admin-dismiss.service.ts +0 -24
  643. package/src/lib/admin/admin-menu.component.html +0 -18
  644. package/src/lib/admin/admin-menu.component.ts +0 -20
  645. package/src/lib/admin/core/ace.input.ts +0 -133
  646. package/src/lib/admin/core/color-picker.input.scss +0 -17
  647. package/src/lib/admin/core/color-picker.input.ts +0 -175
  648. package/src/lib/admin/core/search.input.ts +0 -32
  649. package/src/lib/admin/diff/_configuration-diff-theme.scss +0 -84
  650. package/src/lib/admin/diff/configuration-diff.component.html +0 -24
  651. package/src/lib/admin/diff/configuration-diff.component.scss +0 -16
  652. package/src/lib/admin/diff/configuration-diff.component.ts +0 -552
  653. package/src/lib/admin/document-trace/Timeline.ts +0 -45
  654. package/src/lib/admin/document-trace/_timeline-theme.scss +0 -70
  655. package/src/lib/admin/document-trace/document-trace.component.html +0 -96
  656. package/src/lib/admin/document-trace/document-trace.component.scss +0 -16
  657. package/src/lib/admin/document-trace/document-trace.component.ts +0 -526
  658. package/src/lib/admin/document-trace/reassign.dialog.html +0 -24
  659. package/src/lib/admin/document-trace/reassign.dialog.ts +0 -34
  660. package/src/lib/admin/document-trace/trace-element.component.html +0 -55
  661. package/src/lib/admin/document-trace/trace-element.component.scss +0 -23
  662. package/src/lib/admin/document-trace/trace-element.component.ts +0 -139
  663. package/src/lib/admin/form/form.resolve.service.ts +0 -13
  664. package/src/lib/admin/form/form.service.ts +0 -49
  665. package/src/lib/admin/form/workflow/node-ref.ts +0 -8
  666. package/src/lib/admin/form/workflow/node.component.html +0 -36
  667. package/src/lib/admin/form/workflow/node.component.scss +0 -4
  668. package/src/lib/admin/form/workflow/node.component.ts +0 -129
  669. package/src/lib/admin/form/workflow/role-node.component.html +0 -40
  670. package/src/lib/admin/form/workflow/role-node.component.ts +0 -66
  671. package/src/lib/admin/form/workflow/tools.component.exp.ts +0 -13
  672. package/src/lib/admin/form/workflow/tools.component.html +0 -1
  673. package/src/lib/admin/form/workflow/workflow.component.html +0 -66
  674. package/src/lib/admin/form/workflow/workflow.component.scss +0 -57
  675. package/src/lib/admin/form/workflow/workflow.component.ts +0 -438
  676. package/src/lib/admin/indices/manage-cube-index.component.html +0 -35
  677. package/src/lib/admin/indices/manage-cube-index.component.scss +0 -16
  678. package/src/lib/admin/indices/manage-cube-index.component.ts +0 -155
  679. package/src/lib/admin/patterns/patterns.component.html +0 -70
  680. package/src/lib/admin/patterns/patterns.component.ts +0 -166
  681. package/src/lib/admin/permissions/permissions.component.html +0 -21
  682. package/src/lib/admin/permissions/permissions.component.scss +0 -7
  683. package/src/lib/admin/permissions/permissions.component.ts +0 -89
  684. package/src/lib/admin/positions/positions-popup.component.html +0 -23
  685. package/src/lib/admin/positions/positions-popup.component.ts +0 -68
  686. package/src/lib/admin/positions/positions.component.html +0 -150
  687. package/src/lib/admin/positions/positions.component.scss +0 -20
  688. package/src/lib/admin/positions/positions.component.ts +0 -464
  689. package/src/lib/admin/profiler/assign.component.html +0 -14
  690. package/src/lib/admin/profiler/outofoffice.component.html +0 -64
  691. package/src/lib/admin/profiler/outofoffice.component.ts +0 -146
  692. package/src/lib/admin/profiler/profiler.component.html +0 -110
  693. package/src/lib/admin/profiler/profiler.component.scss +0 -23
  694. package/src/lib/admin/profiler/profiler.component.ts +0 -302
  695. package/src/lib/admin/utility-ref.ts +0 -44
  696. package/src/lib/admin/utility-wrapper.component.ts +0 -52
  697. package/src/lib/admin/utility.pane.component.ts +0 -49
  698. package/src/lib/app.component.ts +0 -90
  699. package/src/lib/bizdoc.module.ts +0 -82
  700. package/src/lib/browse/_browse-theme.scss +0 -86
  701. package/src/lib/browse/browse-items.component.html +0 -171
  702. package/src/lib/browse/browse-items.component.scss +0 -52
  703. package/src/lib/browse/browse-items.component.ts +0 -460
  704. package/src/lib/browse/browse.mobile.component.html +0 -33
  705. package/src/lib/browse/browse.mobile.component.ts +0 -90
  706. package/src/lib/browse/browse.pane.component.html +0 -43
  707. package/src/lib/browse/browse.pane.component.scss +0 -4
  708. package/src/lib/browse/browse.pane.component.ts +0 -141
  709. package/src/lib/browse/expanded-item/expanded-item.component.html +0 -38
  710. package/src/lib/browse/expanded-item/expanded-item.component.scss +0 -35
  711. package/src/lib/browse/expanded-item/expanded-item.component.ts +0 -339
  712. package/src/lib/browse/filter/filter.component.html +0 -50
  713. package/src/lib/browse/filter/filter.component.scss +0 -10
  714. package/src/lib/browse/filter/filter.component.ts +0 -156
  715. package/src/lib/browse/folders-menu.component.html +0 -20
  716. package/src/lib/browse/folders-menu.component.scss +0 -15
  717. package/src/lib/browse/folders-menu.component.ts +0 -42
  718. package/src/lib/chat/_chat-theme.scss +0 -95
  719. package/src/lib/chat/chat-info.ts +0 -74
  720. package/src/lib/chat/chat-pool.component.exp.ts +0 -117
  721. package/src/lib/chat/chat-pool.component.html +0 -13
  722. package/src/lib/chat/chat-pool.component.scss +0 -10
  723. package/src/lib/chat/chat.mobile.component.html +0 -6
  724. package/src/lib/chat/chat.mobile.component.scss +0 -8
  725. package/src/lib/chat/chat.mobile.component.ts +0 -18
  726. package/src/lib/chat/chat.service.ts +0 -128
  727. package/src/lib/chat/contacts.component.html +0 -37
  728. package/src/lib/chat/contacts.component.scss +0 -49
  729. package/src/lib/chat/contacts.component.ts +0 -88
  730. package/src/lib/chat/contacts.pane.component.ts +0 -25
  731. package/src/lib/chat/conversation.component.html +0 -28
  732. package/src/lib/chat/conversation.component.scss +0 -14
  733. package/src/lib/chat/conversation.component.ts +0 -186
  734. package/src/lib/chat/conversation.pane.component.ts +0 -55
  735. package/src/lib/compose/_compose-theme.scss +0 -63
  736. package/src/lib/compose/action/action-picker.component.html +0 -25
  737. package/src/lib/compose/action/action-picker.component.scss +0 -4
  738. package/src/lib/compose/action/action-picker.component.ts +0 -72
  739. package/src/lib/compose/action/action-ref.ts +0 -19
  740. package/src/lib/compose/action/action.base.ts +0 -58
  741. package/src/lib/compose/action/action.dialog.html +0 -17
  742. package/src/lib/compose/action/action.dialog.scss +0 -1
  743. package/src/lib/compose/action/action.dialog.ts +0 -57
  744. package/src/lib/compose/action/action.pane.dialog.exp.ts +0 -77
  745. package/src/lib/compose/action/action.pane.dialog.html +0 -12
  746. package/src/lib/compose/action/assign-action.component.html +0 -23
  747. package/src/lib/compose/action/assign-action.component.ts +0 -57
  748. package/src/lib/compose/action/moveto-action.component.html +0 -33
  749. package/src/lib/compose/action/moveto-action.component.ts +0 -77
  750. package/src/lib/compose/action/return-action.component.html +0 -13
  751. package/src/lib/compose/action/return-action.component.ts +0 -42
  752. package/src/lib/compose/attachments/attachments.component.html +0 -23
  753. package/src/lib/compose/attachments/attachments.component.scss +0 -21
  754. package/src/lib/compose/attachments/attachments.component.ts +0 -114
  755. package/src/lib/compose/attachments/preview/attachment-preview.component.html +0 -17
  756. package/src/lib/compose/attachments/preview/attachment-preview.component.scss +0 -36
  757. package/src/lib/compose/attachments/preview/attachment-preview.component.ts +0 -140
  758. package/src/lib/compose/attachments/progress-button.directive.ts +0 -18
  759. package/src/lib/compose/can-deactivate-changes.service.ts +0 -22
  760. package/src/lib/compose/comments/_comments-theme.scss +0 -82
  761. package/src/lib/compose/comments/comment.component.html +0 -36
  762. package/src/lib/compose/comments/comment.component.ts +0 -160
  763. package/src/lib/compose/comments/comments.component.html +0 -27
  764. package/src/lib/compose/comments/comments.component.scss +0 -33
  765. package/src/lib/compose/comments/comments.component.ts +0 -220
  766. package/src/lib/compose/comments/comments.pane.component.ts +0 -41
  767. package/src/lib/compose/comments/edit-comment.component.html +0 -3
  768. package/src/lib/compose/comments/edit-comment.component.ts +0 -35
  769. package/src/lib/compose/comments/edits.component.html +0 -7
  770. package/src/lib/compose/comments/edits.component.ts +0 -33
  771. package/src/lib/compose/comments/quick-comment.component.exp.ts +0 -60
  772. package/src/lib/compose/comments/quick-comment.component.html +0 -5
  773. package/src/lib/compose/comments/quick-comment.component.scss +0 -11
  774. package/src/lib/compose/comments/votes.component.html +0 -7
  775. package/src/lib/compose/comments/votes.component.ts +0 -38
  776. package/src/lib/compose/compose-resolve.service.ts +0 -42
  777. package/src/lib/compose/compose.mobile.component.html +0 -67
  778. package/src/lib/compose/compose.mobile.component.scss +0 -14
  779. package/src/lib/compose/compose.mobile.component.ts +0 -97
  780. package/src/lib/compose/compose.pane.component.html +0 -68
  781. package/src/lib/compose/compose.pane.component.scss +0 -6
  782. package/src/lib/compose/compose.pane.component.ts +0 -188
  783. package/src/lib/compose/copy/copy.dialog.html +0 -21
  784. package/src/lib/compose/copy/copy.dialog.ts +0 -40
  785. package/src/lib/compose/dismiss.service.ts +0 -26
  786. package/src/lib/compose/document-resolver.service.ts +0 -13
  787. package/src/lib/compose/document.component.html +0 -5
  788. package/src/lib/compose/document.component.ts +0 -41
  789. package/src/lib/compose/document.mobile.component.ts +0 -20
  790. package/src/lib/compose/document.pane.component.ts +0 -22
  791. package/src/lib/compose/events/events.component.html +0 -6
  792. package/src/lib/compose/events/events.component.ts +0 -21
  793. package/src/lib/compose/form-ref.ts +0 -53
  794. package/src/lib/compose/form-selector/form-selector.sheet.html +0 -10
  795. package/src/lib/compose/form-selector/form-selector.sheet.ts +0 -84
  796. package/src/lib/compose/form.component.html +0 -13
  797. package/src/lib/compose/form.component.ts +0 -456
  798. package/src/lib/compose/maps/maps.component.html +0 -3
  799. package/src/lib/compose/maps/maps.component.ts +0 -22
  800. package/src/lib/compose/new-menu.component.html +0 -13
  801. package/src/lib/compose/new-menu.component.scss +0 -11
  802. package/src/lib/compose/new-menu.component.ts +0 -106
  803. package/src/lib/compose/privilage.directive.ts +0 -43
  804. package/src/lib/compose/recipient-resolver.service.ts +0 -15
  805. package/src/lib/compose/save-changes.dialog.html +0 -13
  806. package/src/lib/compose/save-changes.dialog.ts +0 -10
  807. package/src/lib/compose/state.component.ts +0 -29
  808. package/src/lib/compose/tag/tags.component.html +0 -22
  809. package/src/lib/compose/tag/tags.component.scss +0 -1
  810. package/src/lib/compose/tag/tags.component.ts +0 -83
  811. package/src/lib/compose/trace/flow.component.html +0 -19
  812. package/src/lib/compose/trace/flow.component.scss +0 -7
  813. package/src/lib/compose/trace/flow.component.ts +0 -747
  814. package/src/lib/compose/trace/people.component.ts +0 -33
  815. package/src/lib/compose/trace/trace.base.ts +0 -72
  816. package/src/lib/compose/trace/trace.component.html +0 -57
  817. package/src/lib/compose/trace/trace.component.scss +0 -21
  818. package/src/lib/compose/trace/trace.component.ts +0 -388
  819. package/src/lib/compose/trace/trace.pane.component.html +0 -3
  820. package/src/lib/compose/trace/trace.pane.component.scss +0 -5
  821. package/src/lib/compose/trace/trace.pane.component.ts +0 -47
  822. package/src/lib/compose/version-compare/_compare-theme.scss +0 -147
  823. package/src/lib/compose/version-compare/version-compare.component.ts +0 -49
  824. package/src/lib/compose/version-compare/version-compare.directive.ts +0 -292
  825. package/src/lib/compose/version-compare/version.pane.component.html +0 -19
  826. package/src/lib/compose/version-compare/version.pane.component.scss +0 -8
  827. package/src/lib/compose/version-compare/version.pane.component.ts +0 -53
  828. package/src/lib/core/NgComponentOutlet.ts +0 -31
  829. package/src/lib/core/account.service.ts +0 -30
  830. package/src/lib/core/animated-icon/animated-icon.directive.html +0 -3
  831. package/src/lib/core/animated-icon/animated-icon.directive.scss +0 -12
  832. package/src/lib/core/animated-icon/animated-icon.directive.ts +0 -41
  833. package/src/lib/core/animations.ts +0 -207
  834. package/src/lib/core/authentication.ts +0 -7
  835. package/src/lib/core/avatar/_avatar-theme.scss +0 -60
  836. package/src/lib/core/avatar/avatar.component.html +0 -6
  837. package/src/lib/core/avatar/avatar.component.ts +0 -108
  838. package/src/lib/core/base.ts +0 -43
  839. package/src/lib/core/can-activate.service.exp.ts +0 -31
  840. package/src/lib/core/colors.ts +0 -322
  841. package/src/lib/core/component-factory-resolver.ts +0 -67
  842. package/src/lib/core/configuration.ts +0 -124
  843. package/src/lib/core/controls/_daterange-theme.scss +0 -16
  844. package/src/lib/core/controls/address.input.ts +0 -173
  845. package/src/lib/core/controls/auto-complete.input.ts +0 -218
  846. package/src/lib/core/controls/combination-picker-body.html +0 -34
  847. package/src/lib/core/controls/combination-picker-body.scss +0 -40
  848. package/src/lib/core/controls/combination-picker-body.ts +0 -194
  849. package/src/lib/core/controls/combination-picker.html +0 -6
  850. package/src/lib/core/controls/combination-picker.scss +0 -9
  851. package/src/lib/core/controls/combination-picker.ts +0 -243
  852. package/src/lib/core/controls/combination-pool.html +0 -10
  853. package/src/lib/core/controls/combination-pool.scss +0 -35
  854. package/src/lib/core/controls/combination-pool.ts +0 -92
  855. package/src/lib/core/controls/file.input.html +0 -50
  856. package/src/lib/core/controls/file.input.scss +0 -41
  857. package/src/lib/core/controls/file.input.ts +0 -400
  858. package/src/lib/core/controls/select.input.ts +0 -210
  859. package/src/lib/core/controls/time-picker.html +0 -4
  860. package/src/lib/core/controls/time-picker.ts +0 -199
  861. package/src/lib/core/controls/timespan.input.ts +0 -175
  862. package/src/lib/core/datasource.service.ts +0 -80
  863. package/src/lib/core/decorators.ts +0 -56
  864. package/src/lib/core/firebase.service.ts +0 -55
  865. package/src/lib/core/functions.ts +0 -246
  866. package/src/lib/core/guide/_guide-theme.scss +0 -197
  867. package/src/lib/core/guide/guide.component.html +0 -20
  868. package/src/lib/core/guide/guide.component.ts +0 -222
  869. package/src/lib/core/guide/guide.service.ts +0 -108
  870. package/src/lib/core/guide/help-tip.component.ts +0 -43
  871. package/src/lib/core/http.interceptor.ts +0 -80
  872. package/src/lib/core/hub.service.ts +0 -202
  873. package/src/lib/core/identity/identity.component.html +0 -2
  874. package/src/lib/core/identity/identity.component.ts +0 -57
  875. package/src/lib/core/info/attachment-info.service.ts +0 -46
  876. package/src/lib/core/info/document-info.service.ts +0 -15
  877. package/src/lib/core/info/location-info.component.scss +0 -13
  878. package/src/lib/core/info/location-info.component.ts +0 -64
  879. package/src/lib/core/info/map-info.ts +0 -33
  880. package/src/lib/core/layout/autocomplete.field.ts +0 -41
  881. package/src/lib/core/layout/checkbox.field.ts +0 -21
  882. package/src/lib/core/layout/checkbox.scss +0 -13
  883. package/src/lib/core/layout/checkbox.ts +0 -21
  884. package/src/lib/core/layout/date-range.field.ts +0 -32
  885. package/src/lib/core/layout/date.field.ts +0 -26
  886. package/src/lib/core/layout/expression.field.ts +0 -26
  887. package/src/lib/core/layout/file.field.ts +0 -27
  888. package/src/lib/core/layout/html.field.ts +0 -28
  889. package/src/lib/core/layout/input.base.ts +0 -12
  890. package/src/lib/core/layout/input.field.ts +0 -43
  891. package/src/lib/core/layout/layout.component.scss +0 -9
  892. package/src/lib/core/layout/layout.component.ts +0 -189
  893. package/src/lib/core/layout/numeric.field.ts +0 -24
  894. package/src/lib/core/layout/select.field.ts +0 -52
  895. package/src/lib/core/layout/switch.field.ts +0 -21
  896. package/src/lib/core/layout/textarea.field.ts +0 -21
  897. package/src/lib/core/layout/timespan.field.ts +0 -25
  898. package/src/lib/core/lottie-animation.ts +0 -37
  899. package/src/lib/core/mailbox.service.ts +0 -471
  900. package/src/lib/core/models.ts +0 -685
  901. package/src/lib/core/none.component.scss +0 -26
  902. package/src/lib/core/none.component.ts +0 -28
  903. package/src/lib/core/pipes/action.pipe.ts +0 -18
  904. package/src/lib/core/pipes/calendar.pipe.ts +0 -84
  905. package/src/lib/core/pipes/date-format.pipe.ts +0 -12
  906. package/src/lib/core/pipes/daterange.pipe.ts +0 -45
  907. package/src/lib/core/pipes/difference.pipe.ts +0 -9
  908. package/src/lib/core/pipes/duration-format.pipe.ts +0 -42
  909. package/src/lib/core/pipes/duration.pipe.ts +0 -13
  910. package/src/lib/core/pipes/form.pipe.ts +0 -19
  911. package/src/lib/core/pipes/join.pipe.ts +0 -10
  912. package/src/lib/core/pipes/role.pipe.ts +0 -19
  913. package/src/lib/core/pipes/sanitize-html.pipe.ts +0 -10
  914. package/src/lib/core/pipes/sort.pipe.ts +0 -34
  915. package/src/lib/core/pipes/state.pipe.ts +0 -19
  916. package/src/lib/core/pipes/time-ago.pipe.ts +0 -59
  917. package/src/lib/core/pipes/translate.pipe.ts +0 -22
  918. package/src/lib/core/pipes/type-value.pipe.ts +0 -37
  919. package/src/lib/core/pipes/user-name.pipe.ts +0 -14
  920. package/src/lib/core/popup/_popup-theme.scss +0 -363
  921. package/src/lib/core/popup/popup-ref.ts +0 -19
  922. package/src/lib/core/popup/popup.component.html +0 -6
  923. package/src/lib/core/popup/popup.component.ts +0 -40
  924. package/src/lib/core/popup/popup.service.ts +0 -156
  925. package/src/lib/core/popup/tooltip.directive.ts +0 -58
  926. package/src/lib/core/prompt/ask/ask.dialog.html +0 -6
  927. package/src/lib/core/prompt/ask/ask.dialog.ts +0 -35
  928. package/src/lib/core/prompt/mask/mask.component.html +0 -1
  929. package/src/lib/core/prompt/mask/mask.component.scss +0 -14
  930. package/src/lib/core/prompt/mask/mask.component.ts +0 -15
  931. package/src/lib/core/prompt.service.ts +0 -81
  932. package/src/lib/core/router.ts +0 -31
  933. package/src/lib/core/session.service.ts +0 -265
  934. package/src/lib/core/slots/_slots-theme.scss +0 -139
  935. package/src/lib/core/slots/extended-tab.component.exp.ts +0 -35
  936. package/src/lib/core/slots/extended-tab.component.html +0 -0
  937. package/src/lib/core/slots/intro.pane.component.exp.ts +0 -23
  938. package/src/lib/core/slots/intro.pane.component.html +0 -22
  939. package/src/lib/core/slots/intro.pane.component.scss +0 -8
  940. package/src/lib/core/slots/pane-ref.ts +0 -188
  941. package/src/lib/core/slots/router.directive.ts +0 -53
  942. package/src/lib/core/slots/router.service.ts +0 -53
  943. package/src/lib/core/slots/slot.component.exp.ts +0 -49
  944. package/src/lib/core/slots/slot.component.html +0 -15
  945. package/src/lib/core/slots/slot.component.scss +0 -18
  946. package/src/lib/core/slots/slots.component.html +0 -68
  947. package/src/lib/core/slots/slots.component.scss +0 -163
  948. package/src/lib/core/slots/slots.component.ts +0 -1260
  949. package/src/lib/core/tagging/documents.component.html +0 -11
  950. package/src/lib/core/tagging/documents.component.ts +0 -19
  951. package/src/lib/core/tagging/edit-input.component.html +0 -41
  952. package/src/lib/core/tagging/edit-input.component.scss +0 -21
  953. package/src/lib/core/tagging/edit-input.component.ts +0 -211
  954. package/src/lib/core/tagging/emoji.component.ts +0 -23
  955. package/src/lib/core/tagging/tagging-item.directive.ts +0 -34
  956. package/src/lib/core/tagging/tagging.component-base.ts +0 -29
  957. package/src/lib/core/tagging/tagging.component.scss +0 -22
  958. package/src/lib/core/tagging/tagging.directive.ts +0 -130
  959. package/src/lib/core/tagging/tagging.pipe.ts +0 -76
  960. package/src/lib/core/tagging/users.component.html +0 -13
  961. package/src/lib/core/tagging/users.component.ts +0 -28
  962. package/src/lib/core/translate.service.ts +0 -128
  963. package/src/lib/core/translations.ts +0 -1138
  964. package/src/lib/core/window-title.service.ts +0 -54
  965. package/src/lib/cube/accum/accum.component.html +0 -16
  966. package/src/lib/cube/accum/accum.component.ts +0 -264
  967. package/src/lib/cube/chart/chart.component.html +0 -32
  968. package/src/lib/cube/chart/chart.component.ts +0 -344
  969. package/src/lib/cube/cube-info.service.ts +0 -135
  970. package/src/lib/cube/cube-menu.component.html +0 -13
  971. package/src/lib/cube/cube-menu.component.ts +0 -18
  972. package/src/lib/cube/cube-view.component.html +0 -66
  973. package/src/lib/cube/cube-view.component.ts +0 -186
  974. package/src/lib/cube/cube.service.ts +0 -495
  975. package/src/lib/cube/declarations.ts +0 -24
  976. package/src/lib/cube/explore/document-item.component.ts +0 -28
  977. package/src/lib/cube/explore/explore-item.component.scss +0 -4
  978. package/src/lib/cube/explore/explore-item.component.ts +0 -23
  979. package/src/lib/cube/explore/explore-items.component.html +0 -25
  980. package/src/lib/cube/explore/explore-items.component.scss +0 -7
  981. package/src/lib/cube/explore/explore-items.component.ts +0 -185
  982. package/src/lib/cube/explore/explore.pane.component.html +0 -12
  983. package/src/lib/cube/explore/explore.pane.component.ts +0 -78
  984. package/src/lib/cube/explore/item-resolver.service.ts +0 -24
  985. package/src/lib/cube/explore/item.pane.component.html +0 -3
  986. package/src/lib/cube/explore/item.pane.component.ts +0 -23
  987. package/src/lib/cube/filter/filter-tags.component.exp.ts +0 -70
  988. package/src/lib/cube/filter/filter-tags.component.html +0 -11
  989. package/src/lib/cube/filter/filter-tags.component.scss +0 -0
  990. package/src/lib/cube/filter/filter-tags.component.spec.ts +0 -25
  991. package/src/lib/cube/filter/filter.component.html +0 -25
  992. package/src/lib/cube/filter/filter.component.scss +0 -8
  993. package/src/lib/cube/filter/filter.component.ts +0 -116
  994. package/src/lib/cube/grid/grid.component.html +0 -29
  995. package/src/lib/cube/grid/grid.component.scss +0 -10
  996. package/src/lib/cube/grid/grid.component.ts +0 -223
  997. package/src/lib/cube/grid/spreadsheet.component.ts +0 -382
  998. package/src/lib/cube/matrix/_matrix.theme.scss +0 -86
  999. package/src/lib/cube/matrix/matrix.base.ts +0 -149
  1000. package/src/lib/cube/matrix/matrix.mobile.component.html +0 -28
  1001. package/src/lib/cube/matrix/matrix.mobile.component.ts +0 -60
  1002. package/src/lib/cube/matrix/matrix.pane.component.html +0 -34
  1003. package/src/lib/cube/matrix/matrix.pane.component.scss +0 -10
  1004. package/src/lib/cube/matrix/matrix.pane.component.ts +0 -83
  1005. package/src/lib/cube/matrix/popup.component.html +0 -32
  1006. package/src/lib/cube/matrix/popup.component.scss +0 -7
  1007. package/src/lib/cube/matrix/popup.component.ts +0 -55
  1008. package/src/lib/cube/matrix/table.component.html +0 -46
  1009. package/src/lib/cube/matrix/table.component.scss +0 -25
  1010. package/src/lib/cube/matrix/table.component.ts +0 -517
  1011. package/src/lib/cube/parallel/item.ts +0 -47
  1012. package/src/lib/cube/parallel/parallel.component.html +0 -22
  1013. package/src/lib/cube/parallel/parallel.component.scss +0 -13
  1014. package/src/lib/cube/parallel/parallel.component.ts +0 -166
  1015. package/src/lib/cube/pivot/pivot.component.html +0 -14
  1016. package/src/lib/cube/pivot/pivot.component.ts +0 -518
  1017. package/src/lib/cube/sum/_sum.theme.scss +0 -63
  1018. package/src/lib/cube/sum/sum.component.html +0 -60
  1019. package/src/lib/cube/sum/sum.component.scss +0 -94
  1020. package/src/lib/cube/sum/sum.component.ts +0 -437
  1021. package/src/lib/cube/view-base.ts +0 -82
  1022. package/src/lib/cube/view.mobile.component.html +0 -38
  1023. package/src/lib/cube/view.mobile.component.scss +0 -9
  1024. package/src/lib/cube/view.mobile.component.ts +0 -116
  1025. package/src/lib/cube/view.pane.component.html +0 -24
  1026. package/src/lib/cube/view.pane.component.scss +0 -12
  1027. package/src/lib/cube/view.pane.component.ts +0 -80
  1028. package/src/lib/dashboard/_table.widget.scss +0 -19
  1029. package/src/lib/dashboard/actions/actions.widget.html +0 -6
  1030. package/src/lib/dashboard/actions/actions.widget.ts +0 -118
  1031. package/src/lib/dashboard/cube/accum-cube.widget.html +0 -15
  1032. package/src/lib/dashboard/cube/accum-cube.widget.ts +0 -154
  1033. package/src/lib/dashboard/cube/compare.widget.ts +0 -219
  1034. package/src/lib/dashboard/cube/cube-analysis.base.ts +0 -113
  1035. package/src/lib/dashboard/cube/cube-analysis.widget.ts +0 -44
  1036. package/src/lib/dashboard/cube/cube-chart.widget.html +0 -7
  1037. package/src/lib/dashboard/cube/cube-chart.widget.ts +0 -144
  1038. package/src/lib/dashboard/cube/documents.widget.html +0 -19
  1039. package/src/lib/dashboard/cube/documents.widget.ts +0 -57
  1040. package/src/lib/dashboard/cube/filter/filter.component.html +0 -3
  1041. package/src/lib/dashboard/cube/filter/filter.component.ts +0 -53
  1042. package/src/lib/dashboard/cube/gauge.component.exp.ts +0 -18
  1043. package/src/lib/dashboard/dashboard.component.html +0 -18
  1044. package/src/lib/dashboard/dashboard.component.scss +0 -36
  1045. package/src/lib/dashboard/dashboard.component.ts +0 -53
  1046. package/src/lib/dashboard/dashboard.pane.component.ts +0 -19
  1047. package/src/lib/dashboard/recents/recents.widget.html +0 -32
  1048. package/src/lib/dashboard/recents/recents.widget.scss +0 -9
  1049. package/src/lib/dashboard/recents/recents.widget.ts +0 -89
  1050. package/src/lib/dashboard/score/activity.widget.html +0 -9
  1051. package/src/lib/dashboard/score/activity.widget.ts +0 -175
  1052. package/src/lib/dashboard/score/compare-groups.widget.html +0 -8
  1053. package/src/lib/dashboard/score/compare-groups.widget.ts +0 -212
  1054. package/src/lib/dashboard/score/peers-performance.widget.html +0 -23
  1055. package/src/lib/dashboard/score/peers-performance.widget.ts +0 -254
  1056. package/src/lib/dashboard/score/pending-results.widget.html +0 -31
  1057. package/src/lib/dashboard/score/pending-results.widget.ts +0 -52
  1058. package/src/lib/dashboard/score/personal-score.widget.html +0 -18
  1059. package/src/lib/dashboard/score/personal-score.widget.ts +0 -229
  1060. package/src/lib/dashboard/widget-item.component.ts +0 -92
  1061. package/src/lib/dashboard/widget-ref.ts +0 -20
  1062. package/src/lib/desktop.module.ts +0 -98
  1063. package/src/lib/home/_home-theme.scss +0 -174
  1064. package/src/lib/home/about/about.dialog.html +0 -19
  1065. package/src/lib/home/about/about.dialog.ts +0 -18
  1066. package/src/lib/home/home-base.component.ts +0 -100
  1067. package/src/lib/home/home.desktop.component.html +0 -92
  1068. package/src/lib/home/home.desktop.component.scss +0 -66
  1069. package/src/lib/home/home.desktop.component.ts +0 -211
  1070. package/src/lib/home/home.mobile.component.html +0 -81
  1071. package/src/lib/home/home.mobile.component.scss +0 -49
  1072. package/src/lib/home/home.mobile.component.ts +0 -105
  1073. package/src/lib/home/notifications/notifications.component.html +0 -18
  1074. package/src/lib/home/notifications/notifications.component.scss +0 -36
  1075. package/src/lib/home/notifications/notifications.component.ts +0 -55
  1076. package/src/lib/home/options/_options-theme.scss +0 -11
  1077. package/src/lib/home/options/options.component.html +0 -41
  1078. package/src/lib/home/options/options.component.scss +0 -16
  1079. package/src/lib/home/options/options.component.ts +0 -95
  1080. package/src/lib/home/outofoffice/outofoffice.component.html +0 -5
  1081. package/src/lib/home/outofoffice/outofoffice.component.scss +0 -10
  1082. package/src/lib/home/outofoffice/outofoffice.component.ts +0 -33
  1083. package/src/lib/home/progress-bar.directive.exp.ts +0 -24
  1084. package/src/lib/home/search.service.ts +0 -87
  1085. package/src/lib/home/sign/sign.component.html +0 -15
  1086. package/src/lib/home/sign/sign.component.ts +0 -42
  1087. package/src/lib/home/submenu.directive.exp.ts +0 -43
  1088. package/src/lib/home/tools.component.html +0 -27
  1089. package/src/lib/home/tools.component.scss +0 -15
  1090. package/src/lib/home/tools.component.ts +0 -72
  1091. package/src/lib/home/welcome/welcome.dialog.exp.ts +0 -35
  1092. package/src/lib/home/welcome/welcome.dialog.html +0 -14
  1093. package/src/lib/impersonate/impersonate.component.html +0 -17
  1094. package/src/lib/impersonate/impersonate.component.scss +0 -3
  1095. package/src/lib/impersonate/impersonate.component.spec.ts +0 -24
  1096. package/src/lib/impersonate/impersonate.component.ts +0 -60
  1097. package/src/lib/mobile.module.ts +0 -39
  1098. package/src/lib/modules/chart.module.ts +0 -53
  1099. package/src/lib/modules/circular-gauge.module.ts +0 -10
  1100. package/src/lib/modules/date.adapter.ts +0 -31
  1101. package/src/lib/modules/datepicker.intl.ts +0 -35
  1102. package/src/lib/modules/dayjs.module.ts +0 -32
  1103. package/src/lib/modules/diagram.module.ts +0 -25
  1104. package/src/lib/modules/gantt.module.ts +0 -12
  1105. package/src/lib/modules/grid.module.ts +0 -16
  1106. package/src/lib/modules/material.module.ts +0 -104
  1107. package/src/lib/modules/paginator.intl.ts +0 -16
  1108. package/src/lib/modules/pivot.module.ts +0 -23
  1109. package/src/lib/modules/schedule.module.ts +0 -12
  1110. package/src/lib/modules/spreadsheet.module.ts +0 -21
  1111. package/src/lib/modules/stepper.intl.ts +0 -12
  1112. package/src/lib/modules/texteditor.module.ts +0 -16
  1113. package/src/lib/notifications/filter.component.html +0 -6
  1114. package/src/lib/notifications/filter.component.ts +0 -16
  1115. package/src/lib/notifications/notifications-table.component.html +0 -54
  1116. package/src/lib/notifications/notifications-table.component.scss +0 -14
  1117. package/src/lib/notifications/notifications-table.component.ts +0 -94
  1118. package/src/lib/notifications/notifications.component-base.ts +0 -49
  1119. package/src/lib/notifications/notifications.mobile.component.ts +0 -13
  1120. package/src/lib/notifications/notifications.pane.component.ts +0 -16
  1121. package/src/lib/notifications/notifications.service.ts +0 -66
  1122. package/src/lib/notifications/types/commented.notification.html +0 -14
  1123. package/src/lib/notifications/types/commented.notification.ts +0 -51
  1124. package/src/lib/notifications/types/cube-anomaly.notification.ts +0 -51
  1125. package/src/lib/notifications/types/escalated.notification.ts +0 -36
  1126. package/src/lib/notifications/types/liked.notification.ts +0 -49
  1127. package/src/lib/notifications/types/long-running-task.notification.ts +0 -23
  1128. package/src/lib/notifications/types/notification-base.ts +0 -37
  1129. package/src/lib/notifications/types/nudge.notification.ts +0 -32
  1130. package/src/lib/notifications/types/state-changed.notification.ts +0 -27
  1131. package/src/lib/notifications/types/tagged.notification.ts +0 -46
  1132. package/src/lib/notifications/types/text.notification.ts +0 -13
  1133. package/src/lib/notifications/types/upcoming-event.notification.ts +0 -25
  1134. package/src/lib/options/options.component.html +0 -148
  1135. package/src/lib/options/options.component.scss +0 -19
  1136. package/src/lib/options/options.component.ts +0 -262
  1137. package/src/lib/options/options.service.ts +0 -30
  1138. package/src/lib/reports/arguments-component.ts +0 -73
  1139. package/src/lib/reports/cube/documents.component.ts +0 -50
  1140. package/src/lib/reports/cube/grid-documents.component.html +0 -25
  1141. package/src/lib/reports/cube/grid-documents.component.ts +0 -67
  1142. package/src/lib/reports/cube/table-documents.component.css +0 -18
  1143. package/src/lib/reports/cube/table-documents.component.html +0 -30
  1144. package/src/lib/reports/cube/table-documents.component.ts +0 -46
  1145. package/src/lib/reports/cube/usage-args.component.html +0 -3
  1146. package/src/lib/reports/cube/usage-args.component.ts +0 -55
  1147. package/src/lib/reports/cube/usage-base.ts +0 -113
  1148. package/src/lib/reports/cube/usage-browse.component.exp.ts +0 -93
  1149. package/src/lib/reports/cube/usage-browse.component.html +0 -27
  1150. package/src/lib/reports/cube/usage-browse.component.scss +0 -24
  1151. package/src/lib/reports/cube/usage-chart.component.html +0 -11
  1152. package/src/lib/reports/cube/usage-chart.component.ts +0 -386
  1153. package/src/lib/reports/cube/usage-pivot.component.html +0 -19
  1154. package/src/lib/reports/cube/usage-pivot.component.ts +0 -266
  1155. package/src/lib/reports/cube/usage.component.ts +0 -34
  1156. package/src/lib/reports/report-ref.ts +0 -41
  1157. package/src/lib/reports/report-viewer.component.html +0 -2
  1158. package/src/lib/reports/report-viewer.component.scss +0 -12
  1159. package/src/lib/reports/report-viewer.component.ts +0 -159
  1160. package/src/lib/reports/report.mobile.component.html +0 -17
  1161. package/src/lib/reports/report.mobile.component.scss +0 -7
  1162. package/src/lib/reports/report.mobile.component.ts +0 -117
  1163. package/src/lib/reports/report.pane.component.html +0 -9
  1164. package/src/lib/reports/report.pane.component.scss +0 -9
  1165. package/src/lib/reports/report.pane.component.ts +0 -88
  1166. package/src/lib/reports/reports-menu.component.html +0 -9
  1167. package/src/lib/reports/reports-menu.component.ts +0 -20
  1168. package/src/lib/reports/substitution/substitution.component.html +0 -26
  1169. package/src/lib/reports/substitution/substitution.component.ts +0 -34
  1170. package/src/lib/reports/table/table-view.component.html +0 -8
  1171. package/src/lib/reports/table/table-view.component.scss +0 -0
  1172. package/src/lib/reports/table/table-view.component.ts +0 -33
  1173. package/src/lib/reports/tasks/tasks.component.html +0 -21
  1174. package/src/lib/reports/tasks/tasks.component.ts +0 -115
  1175. package/src/lib/reports/timeline/timeline.component.exp.ts +0 -225
  1176. package/src/lib/reports/timeline/timeline.component.html +0 -9
  1177. package/src/lib/routes.desktop.ts +0 -196
  1178. package/src/lib/routes.mobile.ts +0 -70
  1179. package/src/lib/scheduler/schedule.component.html +0 -36
  1180. package/src/lib/scheduler/schedule.component.scss +0 -13
  1181. package/src/lib/scheduler/schedule.component.ts +0 -158
  1182. package/src/lib/scheduler/scheduler.mobile.component.ts +0 -30
  1183. package/src/lib/scheduler/scheduler.pane.component.ts +0 -49
  1184. package/src/lib/shared.module.ts +0 -374
  1185. package/src/lib/system.module.ts +0 -77
  1186. package/src/lib/views/_views.theme.scss +0 -18
  1187. package/src/lib/views/cube/chart.component.html +0 -24
  1188. package/src/lib/views/cube/chart.component.ts +0 -88
  1189. package/src/lib/views/cube/cube-base.ts +0 -126
  1190. package/src/lib/views/cube/explore.component.html +0 -33
  1191. package/src/lib/views/cube/explore.component.ts +0 -82
  1192. package/src/lib/views/cube/filter.component.exp.ts +0 -66
  1193. package/src/lib/views/cube/filter.component.html +0 -25
  1194. package/src/lib/views/cube/matrix.component.html +0 -42
  1195. package/src/lib/views/cube/matrix.component.scss +0 -3
  1196. package/src/lib/views/cube/matrix.component.ts +0 -106
  1197. package/src/lib/views/cube/parallel.component.html +0 -10
  1198. package/src/lib/views/cube/parallel.component.scss +0 -13
  1199. package/src/lib/views/cube/parallel.component.ts +0 -63
  1200. package/src/lib/views/cube/pivot.component.html +0 -8
  1201. package/src/lib/views/cube/pivot.component.ts +0 -62
  1202. package/src/lib/views/cube/sum.component.html +0 -30
  1203. package/src/lib/views/cube/sum.component.scss +0 -3
  1204. package/src/lib/views/cube/sum.component.ts +0 -71
  1205. package/src/lib/views/cube/view.component.html +0 -34
  1206. package/src/lib/views/cube/view.component.scss +0 -12
  1207. package/src/lib/views/cube/view.component.ts +0 -103
  1208. package/src/lib/views/document-view-ref.ts +0 -34
  1209. package/src/lib/views/timeline/timeline.component.exp.ts +0 -333
  1210. package/src/lib/views/timeline/timeline.component.html +0 -6
  1211. package/src/lib/views/timeline/timeline.component.scss +0 -6
  1212. package/src/lib/views/view-item.component.ts +0 -67
  1213. package/src/lib/views/views.component.html +0 -4
  1214. package/src/lib/views/views.component.scss +0 -33
  1215. package/src/lib/views/views.component.ts +0 -29
  1216. package/src/lib/views/views.mobile.component.ts +0 -19
  1217. package/src/lib/views/views.pane.component.ts +0 -33
  1218. package/src/polyfills.ts +0 -81
  1219. package/src/public-api.ts +0 -149
  1220. package/src/styles/_app.scss +0 -317
  1221. package/src/styles/_emoji-mart.scss +0 -504
  1222. package/src/styles/_syncfusion-base-definitions.scss +0 -63
  1223. package/src/styles/_syncfusion-dark-definitions.scss +0 -21
  1224. package/src/styles/_syncfusion-dark.scss +0 -2
  1225. package/src/styles/_syncfusion-icons.scss +0 -57
  1226. package/src/styles/_syncfusion-light-definitions.scss +0 -23
  1227. package/src/styles/_syncfusion-light.scss +0 -2
  1228. package/src/styles/_syncfusion.scss +0 -21
  1229. package/src/styles/_xslt.scss +0 -377
  1230. package/src/styles/brown.scss +0 -14
  1231. package/src/styles/build-xslt.ps1 +0 -2
  1232. package/src/styles/build.ps1 +0 -26
  1233. package/src/styles/dark.scss +0 -13
  1234. package/src/styles/deep-purple-light-blue.scss +0 -20
  1235. package/src/styles/deep-purple-teal.scss +0 -20
  1236. package/src/styles/default.scss +0 -21
  1237. package/src/styles/diagram-icons.eot +0 -0
  1238. package/src/styles/diagram-icons.ttf +0 -0
  1239. package/src/styles/green.scss +0 -13
  1240. package/src/styles/indigo.scss +0 -13
  1241. package/src/styles/xslt.scss +0 -21
  1242. package/src/styles/xslt.scss.map +0 -1
  1243. package/src/test.ts +0 -26
  1244. package/tsconfig.lib.json +0 -26
  1245. package/tsconfig.lib.prod.json +0 -10
  1246. package/tsconfig.spec.json +0 -18
@@ -0,0 +1,106 @@
1
+ import { Component, ViewChild } from '@angular/core';
2
+ import { MatSort } from '@angular/material/sort';
3
+ import { MatTableDataSource } from '@angular/material/table';
4
+ import { SelectionModel } from '@angular/cdk/collections';
5
+ import { takeUntil, debounceTime, map } from 'rxjs/operators';
6
+ import { NotificationsComponentBase } from "./notifications.component-base";
7
+ import { NotificationsFilterComponent } from './filter.component';
8
+ import { itemAnimation, listAnimation } from '../core/animations';
9
+ import * as i0 from "@angular/core";
10
+ import * as i1 from "./notifications.service";
11
+ import * as i2 from "../core/popup/popup.service";
12
+ import * as i3 from "@angular/material/toolbar";
13
+ import * as i4 from "@angular/material/button";
14
+ import * as i5 from "@angular/material/icon";
15
+ import * as i6 from "@angular/material/table";
16
+ import * as i7 from "@angular/material/checkbox";
17
+ import * as i8 from "@angular/material/sort";
18
+ import * as i9 from "@angular/material/menu";
19
+ import * as i10 from "@angular/material/divider";
20
+ import * as i11 from "@angular/common";
21
+ import * as i12 from "../core/popup/tooltip.directive";
22
+ import * as i13 from "../core/pipes/translate.pipe";
23
+ import * as i14 from "../core/pipes/calendar.pipe";
24
+ import * as i15 from "../core/pipes/time-ago.pipe";
25
+ /** notifications component*/
26
+ export class NotificationsTableComponent extends NotificationsComponentBase {
27
+ /** notifications ctor */
28
+ constructor(_service, injector, _popup) {
29
+ super(injector);
30
+ this._service = _service;
31
+ this._popup = _popup;
32
+ this.showDeleted = false;
33
+ this.selection = new SelectionModel(true, []);
34
+ }
35
+ ngOnInit() {
36
+ this._query();
37
+ }
38
+ _query() {
39
+ this._service.getAll({ exclude: !this.showDeleted }).subscribe((n) => {
40
+ n.forEach(n => {
41
+ n.comp = this._comp(n.type);
42
+ n.injector = this._getInjector(n);
43
+ });
44
+ this.dataSource = new MatTableDataSource(n);
45
+ this.dataSource.sort = this.sort;
46
+ });
47
+ }
48
+ discardAll() {
49
+ this.selection.selected.forEach(n => this.delete(n));
50
+ }
51
+ read(item, read) {
52
+ if (item.read !== read)
53
+ this._service.read(item.id, item.sent, read).subscribe(() => item.read = read);
54
+ }
55
+ isMuted(item) {
56
+ return this._service.get(item.id).pipe(map(i => i.muted));
57
+ }
58
+ mute(item, mute) {
59
+ this._service.mute(item.id, mute);
60
+ }
61
+ delete(item) {
62
+ this._service.delete(item.id).subscribe(i => {
63
+ item.deleted = true;
64
+ if (!this.showDeleted) {
65
+ this.dataSource.data.remove(i);
66
+ this.dataSource.filter = '';
67
+ }
68
+ });
69
+ }
70
+ isAllSelected() {
71
+ const numSelected = this.selection.selected.length;
72
+ const numRows = this.dataSource.data.length;
73
+ return numSelected === numRows;
74
+ }
75
+ masterToggle() {
76
+ this.isAllSelected() ?
77
+ this.selection.clear() :
78
+ this.selection.select(...this.dataSource.data);
79
+ }
80
+ openFilter(evt) {
81
+ const popupRef = this._popup.open(NotificationsFilterComponent, evt.srcElement);
82
+ popupRef.opened.
83
+ subscribe(e => {
84
+ e.form.setValue({ text: this.dataSource.filter, showDeleted: this.showDeleted });
85
+ e.
86
+ form.valueChanges.pipe(debounceTime(150), takeUntil(popupRef.closed)).
87
+ subscribe(v => {
88
+ this.dataSource.filter = v.text;
89
+ if (this.showDeleted !== v.showDeleted) {
90
+ this.showDeleted = v.showDeleted;
91
+ this._query();
92
+ }
93
+ });
94
+ });
95
+ }
96
+ }
97
+ NotificationsTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: NotificationsTableComponent, deps: [{ token: i1.NotificationsService }, { token: i0.Injector }, { token: i2.Popup }], target: i0.ɵɵFactoryTarget.Component });
98
+ NotificationsTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: NotificationsTableComponent, selector: "bizdoc-notifications-table", viewQueries: [{ propertyName: "sort", first: true, predicate: MatSort, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<mat-toolbar>\r\n <button mat-icon-button *ngIf=\"selection.selected.length\" (click)=\"discardAll()\" bizdocTooltip=\"{{'DiscardSelected' | translate : selection.selected.length }}\"><mat-icon>delete</mat-icon></button>\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"openFilter($event)\" [bizdocTooltip]=\"'Filter' | translate\" [attr.aria-label]=\"'Filter' | translate\"><mat-icon>filter_list</mat-icon></button>\r\n</mat-toolbar>\r\n<table [hidden]=\"!dataSource||dataSource.data.length===0\" mat-table matSort [dataSource]=\"dataSource\" [@list]=\"dataSource?.data.length\" class=\"data-table\">\r\n <ng-container matColumnDef=\"select\">\r\n <th mat-header-cell *matHeaderCellDef>\r\n <mat-checkbox (change)=\"$event ? masterToggle() : null\"\r\n [checked]=\"selection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\">\r\n </mat-checkbox>\r\n </th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <mat-checkbox (click)=\"$event.stopPropagation()\"\r\n (change)=\"$event ? selection.toggle(element) : null\"\r\n [checked]=\"selection.isSelected(element)\">\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"content\">\r\n <th mat-header-cell *matHeaderCellDef>{{ 'Content' | translate}}</th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <h3 *ngComponentOutlet=\"element.comp; injector: element.injector\"></h3>\r\n </td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"sent\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{ 'Time' | translate}}</th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <span [bizdocTooltip]=\"element.sent | amCalendar\">{{element.sent | amTimeAgo }}</span>\r\n </td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"options\">\r\n <th mat-header-cell *matHeaderCellDef></th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <button mat-icon-button [matMenuTriggerFor]=\"options\" [matMenuTriggerData]=\"{muted: false}\" class=\"tool\"><mat-icon>more_vert</mat-icon></button>\r\n <mat-menu #options>\r\n <ng-template matMenuContent let-muted=\"muted\">\r\n <ng-container *ngIf=\"element.recipientId\">\r\n <button mat-menu-item (click)=\"read(element, !element.read)\">{{'MarkAsRead' | translate}}</button>\r\n <mat-divider></mat-divider>\r\n </ng-container>\r\n <button mat-menu-item (click)=\"mute(element, true)\" *ngIf=\"element.documentId\">{{ (!(muted | async) ? 'Mute': 'Unmute') | translate}}</button>\r\n <ng-container *ngIf=\"!element.deleted\">\r\n <mat-divider></mat-divider>\r\n <button mat-menu-item (click)=\"delete(element)\">{{ 'Discard' | translate}}</button>\r\n </ng-container>\r\n </ng-template>\r\n </mat-menu>\r\n </td>\r\n </ng-container>\r\n <tr mat-header-row *matHeaderRowDef=\"['select','content','sent','options']\"></tr>\r\n <tr mat-row *matRowDef=\"let element; columns: ['select','content','sent','options'];\" @item class=\"item\" [class.read]=\"element.read\"></tr>\r\n</table>\r\n", styles: [":host{display:block}.item .tool{opacity:0}.item:hover .tool{opacity:1}\n"], components: [{ type: i3.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i6.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { type: i7.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex", "aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { type: i8.MatSortHeader, selector: "[mat-sort-header]", inputs: ["disabled", "mat-sort-header", "arrowPosition", "start", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { type: i9.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: i9.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { type: i10.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: i6.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { type: i6.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }], directives: [{ type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i12.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { type: i8.MatSort, selector: "[matSort]", inputs: ["matSortDisabled", "matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { type: i6.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i6.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i6.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i6.MatCellDef, selector: "[matCellDef]" }, { type: i6.MatCell, selector: "mat-cell, td[mat-cell]" }, { type: i11.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModuleFactory"] }, { type: i9.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { type: i9.MatMenuContent, selector: "ng-template[matMenuContent]" }, { type: i6.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { type: i6.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }], pipes: { "translate": i13.TranslatePipe, "amCalendar": i14.CalendarPipe, "amTimeAgo": i15.TimeAgoPipe, "async": i11.AsyncPipe }, animations: [listAnimation, itemAnimation] });
99
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: NotificationsTableComponent, decorators: [{
100
+ type: Component,
101
+ args: [{ selector: 'bizdoc-notifications-table', animations: [listAnimation, itemAnimation], template: "<mat-toolbar>\r\n <button mat-icon-button *ngIf=\"selection.selected.length\" (click)=\"discardAll()\" bizdocTooltip=\"{{'DiscardSelected' | translate : selection.selected.length }}\"><mat-icon>delete</mat-icon></button>\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"openFilter($event)\" [bizdocTooltip]=\"'Filter' | translate\" [attr.aria-label]=\"'Filter' | translate\"><mat-icon>filter_list</mat-icon></button>\r\n</mat-toolbar>\r\n<table [hidden]=\"!dataSource||dataSource.data.length===0\" mat-table matSort [dataSource]=\"dataSource\" [@list]=\"dataSource?.data.length\" class=\"data-table\">\r\n <ng-container matColumnDef=\"select\">\r\n <th mat-header-cell *matHeaderCellDef>\r\n <mat-checkbox (change)=\"$event ? masterToggle() : null\"\r\n [checked]=\"selection.hasValue() && isAllSelected()\"\r\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\">\r\n </mat-checkbox>\r\n </th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <mat-checkbox (click)=\"$event.stopPropagation()\"\r\n (change)=\"$event ? selection.toggle(element) : null\"\r\n [checked]=\"selection.isSelected(element)\">\r\n </mat-checkbox>\r\n </td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"content\">\r\n <th mat-header-cell *matHeaderCellDef>{{ 'Content' | translate}}</th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <h3 *ngComponentOutlet=\"element.comp; injector: element.injector\"></h3>\r\n </td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"sent\">\r\n <th mat-header-cell *matHeaderCellDef mat-sort-header>{{ 'Time' | translate}}</th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <span [bizdocTooltip]=\"element.sent | amCalendar\">{{element.sent | amTimeAgo }}</span>\r\n </td>\r\n </ng-container>\r\n <ng-container matColumnDef=\"options\">\r\n <th mat-header-cell *matHeaderCellDef></th>\r\n <td mat-cell *matCellDef=\"let element\">\r\n <button mat-icon-button [matMenuTriggerFor]=\"options\" [matMenuTriggerData]=\"{muted: false}\" class=\"tool\"><mat-icon>more_vert</mat-icon></button>\r\n <mat-menu #options>\r\n <ng-template matMenuContent let-muted=\"muted\">\r\n <ng-container *ngIf=\"element.recipientId\">\r\n <button mat-menu-item (click)=\"read(element, !element.read)\">{{'MarkAsRead' | translate}}</button>\r\n <mat-divider></mat-divider>\r\n </ng-container>\r\n <button mat-menu-item (click)=\"mute(element, true)\" *ngIf=\"element.documentId\">{{ (!(muted | async) ? 'Mute': 'Unmute') | translate}}</button>\r\n <ng-container *ngIf=\"!element.deleted\">\r\n <mat-divider></mat-divider>\r\n <button mat-menu-item (click)=\"delete(element)\">{{ 'Discard' | translate}}</button>\r\n </ng-container>\r\n </ng-template>\r\n </mat-menu>\r\n </td>\r\n </ng-container>\r\n <tr mat-header-row *matHeaderRowDef=\"['select','content','sent','options']\"></tr>\r\n <tr mat-row *matRowDef=\"let element; columns: ['select','content','sent','options'];\" @item class=\"item\" [class.read]=\"element.read\"></tr>\r\n</table>\r\n", styles: [":host{display:block}.item .tool{opacity:0}.item:hover .tool{opacity:1}\n"] }]
102
+ }], ctorParameters: function () { return [{ type: i1.NotificationsService }, { type: i0.Injector }, { type: i2.Popup }]; }, propDecorators: { sort: [{
103
+ type: ViewChild,
104
+ args: [MatSort, { static: true }]
105
+ }] } });
106
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy10YWJsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJ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aW9ucyddO1wiIEBpdGVtIGNsYXNzPVwiaXRlbVwiIFtjbGFzcy5yZWFkXT1cImVsZW1lbnQucmVhZFwiPjwvdHI+XHJcbjwvdGFibGU+XHJcbiJdfQ==
@@ -0,0 +1,47 @@
1
+ import { Injector } from '@angular/core';
2
+ import { NOTIFICATION_DATA } from './types/notification-base';
3
+ import { CommentedNotification } from './types/commented.notification';
4
+ import { CubeAnomalyNotification } from './types/cube-anomaly.notification';
5
+ import { EscalatedNotification } from './types/escalated.notification';
6
+ import { LikedNotification } from './types/liked.notification';
7
+ import { StateChangedNotification } from './types/state-changed.notification';
8
+ import { TextNotification } from './types/text.notification';
9
+ import { UpcomingEventNotification } from './types/upcoming-event.notification';
10
+ import { NudgeNotification } from "./types/nudge.notification";
11
+ import { LongRunningTaskNotification } from "./types/long-running-task.notification";
12
+ import { TaggedNotification } from './types/tagged.notification';
13
+ export class NotificationsComponentBase {
14
+ constructor(_injector) {
15
+ this._injector = _injector;
16
+ }
17
+ _comp(type) {
18
+ switch (type) {
19
+ case 'Commented':
20
+ return CommentedNotification;
21
+ case 'CubeAnomaly':
22
+ return CubeAnomalyNotification;
23
+ case 'Escalated':
24
+ return EscalatedNotification;
25
+ case 'Liked':
26
+ return LikedNotification;
27
+ case 'StateChanged':
28
+ return StateChangedNotification;
29
+ case 'Nudge':
30
+ return NudgeNotification;
31
+ case 'TextMessage':
32
+ return TextNotification;
33
+ case 'UpcomingEvent':
34
+ return UpcomingEventNotification;
35
+ case 'Tagged':
36
+ return TaggedNotification;
37
+ case 'JobProgress':
38
+ return LongRunningTaskNotification;
39
+ default:
40
+ throw `Notificationtype ${type} has no component.`;
41
+ }
42
+ }
43
+ _getInjector(item) {
44
+ return Injector.create([{ provide: NOTIFICATION_DATA, useValue: item }], this._injector);
45
+ }
46
+ }
47
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy5jb21wb25lbnQtYmFzZS5qcyIsIn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gIHRocm93IGBOb3RpZmljYXRpb250eXBlICR7dHlwZX0gaGFzIG5vIGNvbXBvbmVudC5gO1xyXG4gICAgfVxyXG4gIH1cclxuICBwcm90ZWN0ZWQgX2dldEluamVjdG9yKGl0ZW06IE5vdGlmaWNhdGlvbik6IEluamVjdG9yIHtcclxuICAgIHJldHVybiBJbmplY3Rvci5jcmVhdGUoW3sgcHJvdmlkZTogTk9USUZJQ0FUSU9OX0RBVEEsIHVzZVZhbHVlOiBpdGVtIH1dLCB0aGlzLl9pbmplY3Rvcik7XHJcbiAgfVxyXG59XHJcbmV4cG9ydCBpbnRlcmZhY2UgTm90aWZpY2F0aW9uRXh0cmEgZXh0ZW5kcyBOb3RpZmljYXRpb24ge1xyXG4gIGluamVjdG9yOiBhbnk7XHJcbiAgY29tcDogYW55O1xyXG59XHJcbiJdfQ==
@@ -0,0 +1,20 @@
1
+ import { Component } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../core/window-title.service";
4
+ import * as i2 from "../core/translate.service";
5
+ import * as i3 from "./notifications-table.component";
6
+ /** notifications component*/
7
+ export class NotificationsComponent {
8
+ constructor(title, translate) {
9
+ title.set(translate.get('Notifications'));
10
+ }
11
+ }
12
+ NotificationsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: NotificationsComponent, deps: [{ token: i1.WindowTitleService }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
13
+ NotificationsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: NotificationsComponent, selector: "ng-component", ngImport: i0, template: '<bizdoc-notifications-table></bizdoc-notifications-table>', isInline: true, components: [{ type: i3.NotificationsTableComponent, selector: "bizdoc-notifications-table" }] });
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: NotificationsComponent, decorators: [{
15
+ type: Component,
16
+ args: [{
17
+ template: '<bizdoc-notifications-table></bizdoc-notifications-table>'
18
+ }]
19
+ }], ctorParameters: function () { return [{ type: i1.WindowTitleService }, { type: i2.TranslateService }]; } });
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy5tb2JpbGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9ub3RpZmljYXRpb25zL25vdGlmaWNhdGlvbnMubW9iaWxlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7OztBQU8xQyw2QkFBNkI7QUFDN0IsTUFBTSxPQUFPLHNCQUFzQjtJQUNqQyxZQUFZLEtBQXlCLEVBQUUsU0FBMkI7UUFDaEUsS0FBSyxDQUFDLEdBQUcsQ0FBQyxTQUFTLENBQUMsR0FBRyxDQUFDLGVBQWUsQ0FBQyxDQUFDLENBQUM7SUFDNUMsQ0FBQzs7bUhBSFUsc0JBQXNCO3VHQUF0QixzQkFBc0Isb0RBSHZCLDJEQUEyRDsyRkFHMUQsc0JBQXNCO2tCQUpsQyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSwyREFBMkQ7aUJBQ3RFIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IFdpbmRvd1RpdGxlU2VydmljZSB9IGZyb20gJy4uL2NvcmUvd2luZG93LXRpdGxlLnNlcnZpY2UnO1xyXG5pbXBvcnQgeyBUcmFuc2xhdGVTZXJ2aWNlIH0gZnJvbSAnLi4vY29yZS90cmFuc2xhdGUuc2VydmljZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICB0ZW1wbGF0ZTogJzxiaXpkb2Mtbm90aWZpY2F0aW9ucy10YWJsZT48L2JpemRvYy1ub3RpZmljYXRpb25zLXRhYmxlPidcclxufSlcclxuLyoqIG5vdGlmaWNhdGlvbnMgY29tcG9uZW50Ki9cclxuZXhwb3J0IGNsYXNzIE5vdGlmaWNhdGlvbnNDb21wb25lbnQge1xyXG4gIGNvbnN0cnVjdG9yKHRpdGxlOiBXaW5kb3dUaXRsZVNlcnZpY2UsIHRyYW5zbGF0ZTogVHJhbnNsYXRlU2VydmljZSkge1xyXG4gICAgdGl0bGUuc2V0KHRyYW5zbGF0ZS5nZXQoJ05vdGlmaWNhdGlvbnMnKSk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
@@ -0,0 +1,23 @@
1
+ import { Component } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../core/slots/pane-ref";
4
+ import * as i2 from "../core/translate.service";
5
+ import * as i3 from "./notifications-table.component";
6
+ /** notifications component*/
7
+ export class NotificationsPaneComponent {
8
+ constructor(pane, translate) {
9
+ pane.title = translate.get('Notifications');
10
+ }
11
+ }
12
+ NotificationsPaneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: NotificationsPaneComponent, deps: [{ token: i1.PaneRef }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
13
+ NotificationsPaneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: NotificationsPaneComponent, selector: "ng-component", host: { classAttribute: "pane" }, ngImport: i0, template: '<bizdoc-notifications-table></bizdoc-notifications-table>', isInline: true, components: [{ type: i3.NotificationsTableComponent, selector: "bizdoc-notifications-table" }] });
14
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: NotificationsPaneComponent, decorators: [{
15
+ type: Component,
16
+ args: [{
17
+ template: '<bizdoc-notifications-table></bizdoc-notifications-table>',
18
+ host: {
19
+ class: 'pane'
20
+ }
21
+ }]
22
+ }], ctorParameters: function () { return [{ type: i1.PaneRef }, { type: i2.TranslateService }]; } });
23
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy5wYW5lLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvbm90aWZpY2F0aW9ucy9ub3RpZmljYXRpb25zLnBhbmUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7O0FBVTFDLDZCQUE2QjtBQUM3QixNQUFNLE9BQU8sMEJBQTBCO0lBQ25DLFlBQVksSUFBYSxFQUFFLFNBQTJCO1FBQ2xELElBQUksQ0FBQyxLQUFLLEdBQUcsU0FBUyxDQUFDLEdBQUcsQ0FBQyxlQUFlLENBQUMsQ0FBQztJQUNoRCxDQUFDOzt1SEFIUSwwQkFBMEI7MkdBQTFCLDBCQUEwQixzRkFMekIsMkRBQTJEOzJGQUs1RCwwQkFBMEI7a0JBTnRDLFNBQVM7bUJBQUM7b0JBQ1AsUUFBUSxFQUFFLDJEQUEyRDtvQkFDdkUsSUFBSSxFQUFFO3dCQUNKLEtBQUssRUFBRSxNQUFNO3FCQUNkO2lCQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IFRyYW5zbGF0ZVNlcnZpY2UgfSBmcm9tICcuLi9jb3JlL3RyYW5zbGF0ZS5zZXJ2aWNlJztcclxuaW1wb3J0IHsgUGFuZVJlZiB9IGZyb20gJy4uL2NvcmUvc2xvdHMvcGFuZS1yZWYnO1xyXG5cclxuXHJcbkBDb21wb25lbnQoe1xyXG4gICAgdGVtcGxhdGU6ICc8Yml6ZG9jLW5vdGlmaWNhdGlvbnMtdGFibGU+PC9iaXpkb2Mtbm90aWZpY2F0aW9ucy10YWJsZT4nLFxyXG4gIGhvc3Q6IHtcclxuICAgIGNsYXNzOiAncGFuZSdcclxuICB9fSlcclxuLyoqIG5vdGlmaWNhdGlvbnMgY29tcG9uZW50Ki9cclxuZXhwb3J0IGNsYXNzIE5vdGlmaWNhdGlvbnNQYW5lQ29tcG9uZW50IHtcclxuICAgIGNvbnN0cnVjdG9yKHBhbmU6IFBhbmVSZWYsIHRyYW5zbGF0ZTogVHJhbnNsYXRlU2VydmljZSkge1xyXG4gICAgICAgIHBhbmUudGl0bGUgPSB0cmFuc2xhdGUuZ2V0KCdOb3RpZmljYXRpb25zJyk7XHJcbiAgICB9XHJcbn1cclxuIl19
@@ -0,0 +1,71 @@
1
+ import { Injectable } from "@angular/core";
2
+ import { tap } from "rxjs/operators";
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common/http";
5
+ import * as i2 from "../core/hub.service";
6
+ import * as i3 from "../core/session.service";
7
+ export class NotificationsService {
8
+ constructor(_http, messaging, _session) {
9
+ this._http = _http;
10
+ this._session = _session;
11
+ messaging.notify$.subscribe(n => {
12
+ _session.profile.notifications.push(n.model);
13
+ _session.profile.notificationsCount++;
14
+ });
15
+ messaging.updateNotify$.subscribe(e => {
16
+ const item = _session.profile.notifications.find(n => n.id === e.model.id);
17
+ if (item)
18
+ Object.assign(item, e.model);
19
+ else
20
+ _session.profile.notifications.push(e.model);
21
+ if (e.originalRead !== undefined && e.model.read !== e.originalRead &&
22
+ this._isAboveWatermark(e.model.sent)) {
23
+ const val = e.model.read ? -1 : 1;
24
+ _session.profile.notificationsCount += val;
25
+ }
26
+ });
27
+ }
28
+ deleteAll(arg0) {
29
+ throw new Error("Method not implemented.");
30
+ }
31
+ getAll(options) {
32
+ const { exclude, skip, before } = options || {};
33
+ const params = {
34
+ skip: skip ? skip.toString() : '0',
35
+ exclude: exclude ? 'true' : 'false',
36
+ };
37
+ if (before)
38
+ Object.assign(params, {
39
+ before: before.toJSON()
40
+ });
41
+ return this._http.get(`/api/notifications/`, {
42
+ params
43
+ });
44
+ }
45
+ _isAboveWatermark(date) {
46
+ return !this._session.isImpersonating &&
47
+ this._session.profile.options.notificationsView &&
48
+ this._session.profile.options.notificationsView < date;
49
+ }
50
+ read(id, date, read) {
51
+ return this._http.put(`/api/notifications/${id}?read=${read}`, {}, { headers: { 'no-progress': 'true' } }).pipe(tap(() => {
52
+ if (this._isAboveWatermark(date))
53
+ this._session.profile.notificationsCount--;
54
+ }));
55
+ }
56
+ get(id) {
57
+ return this._http.get(`/api/notifications/${id}`);
58
+ }
59
+ mute(id, mute) {
60
+ return this._http.put(`/api/notifications/${id}?mute=${mute}`, {});
61
+ }
62
+ delete(id) {
63
+ return this._http.delete(`/api/notifications/${id}`);
64
+ }
65
+ }
66
+ NotificationsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: NotificationsService, deps: [{ token: i1.HttpClient }, { token: i2.HubService }, { token: i3.SessionService }], target: i0.ɵɵFactoryTarget.Injectable });
67
+ NotificationsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: NotificationsService });
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: NotificationsService, decorators: [{
69
+ type: Injectable
70
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: i2.HubService }, { type: i3.SessionService }]; } });
71
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9ucy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9ub3RpZmljYXR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H0pLnBpcGUodGFwKCgpID0+IHtcclxuICAgICAgaWYgKHRoaXMuX2lzQWJvdmVXYXRlcm1hcmsoZGF0ZSkpXHJcbiAgICAgICAgdGhpcy5fc2Vzc2lvbi5wcm9maWxlLm5vdGlmaWNhdGlvbnNDb3VudC0tO1xyXG4gICAgfSkpXHJcbiAgfVxyXG4gIGdldChpZDogbnVtYmVyKTogT2JzZXJ2YWJsZTxhbnk+IHtcclxuICAgIHJldHVybiB0aGlzLl9odHRwLmdldChgL2FwaS9ub3RpZmljYXRpb25zLyR7aWR9YClcclxuICB9XHJcbiAgbXV0ZShpZDogbnVtYmVyLCBtdXRlOiBib29sZWFuKTogT2JzZXJ2YWJsZTxhbnk+IHtcclxuICAgIHJldHVybiB0aGlzLl9odHRwLnB1dChgL2FwaS9ub3RpZmljYXRpb25zLyR7aWR9P211dGU9JHttdXRlfWAsIHt9KTtcclxuICB9XHJcbiAgZGVsZXRlKGlkOiBudW1iZXIpOiBPYnNlcnZhYmxlPGFueT4ge1xyXG4gICAgcmV0dXJuIHRoaXMuX2h0dHAuZGVsZXRlKGAvYXBpL25vdGlmaWNhdGlvbnMvJHtpZH1gKVxyXG4gIH1cclxufVxyXG4iXX0=
@@ -0,0 +1,53 @@
1
+ import { Component, Inject } from "@angular/core";
2
+ import { NOTIFICATION_DATA, NotificationBase } from "./notification-base";
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "../../core/account.service";
5
+ import * as i2 from "../../core/translate.service";
6
+ import * as i3 from "../../core/router";
7
+ import * as i4 from "../../core/session.service";
8
+ import * as i5 from "../../chat/chat-info";
9
+ import * as i6 from "@angular/common";
10
+ import * as i7 from "../../core/popup/tooltip.directive";
11
+ import * as i8 from "../../core/pipes/sanitize-html.pipe";
12
+ /** */
13
+ export class CommentedNotification extends NotificationBase {
14
+ constructor(notification, _accounts, translate, router, session, chat) {
15
+ super(notification, router, session, translate, chat);
16
+ this.notification = notification;
17
+ this._accounts = _accounts;
18
+ }
19
+ ngOnInit() {
20
+ if (this.notification.userIds.length === 1)
21
+ this._accounts.get(this.notification.userIds[0]).subscribe(u => {
22
+ this.message = this._translate.get(`CommentedOne${u.gender || ''}Notify`, this._formatUserElement(u), this.notification.text, this.notification.number);
23
+ });
24
+ else
25
+ this._accounts.getAll(this.notification.userIds).subscribe(us => {
26
+ if (us.length < 3)
27
+ this.message = this._translate.get('CommentedManyNotify', this._translate.join(us.map(u => this._formatUserElement(u))), this.notification.number);
28
+ else {
29
+ const comma = this._translate.comma;
30
+ this.names = us.map(u => u.name).join(comma);
31
+ this.message = this._translate.get('CommentedManyMoreNotify', us.slice(0, 2).map(u => this._formatUserElement(u)).join(comma), us.length - 2, this.notification.number);
32
+ }
33
+ });
34
+ }
35
+ }
36
+ CommentedNotification.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: CommentedNotification, deps: [{ token: NOTIFICATION_DATA }, { token: i1.AccountService }, { token: i2.TranslateService }, { token: i3.RouterImpl }, { token: i4.SessionService }, { token: i5.ChatInfo }], target: i0.ɵɵFactoryTarget.Component });
37
+ CommentedNotification.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: CommentedNotification, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `<ng-container *ngIf='message'>
38
+ <span *ngIf='notification.userIds.length < 3' [innerHTML]='message | sanitizeHtml'></span>
39
+ <span *ngIf='notification.userIds.length >= 3' [bizdocTooltip]='names' [innerHTML]='message | sanitizeHtml'></span>
40
+ </ng-container>`, isInline: true, directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }], pipes: { "sanitizeHtml": i8.SanitizeHtmlPipe } });
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: CommentedNotification, decorators: [{
42
+ type: Component,
43
+ args: [{
44
+ template: `<ng-container *ngIf='message'>
45
+ <span *ngIf='notification.userIds.length < 3' [innerHTML]='message | sanitizeHtml'></span>
46
+ <span *ngIf='notification.userIds.length >= 3' [bizdocTooltip]='names' [innerHTML]='message | sanitizeHtml'></span>
47
+ </ng-container>`
48
+ }]
49
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
50
+ type: Inject,
51
+ args: [NOTIFICATION_DATA]
52
+ }] }, { type: i1.AccountService }, { type: i2.TranslateService }, { type: i3.RouterImpl }, { type: i4.SessionService }, { type: i5.ChatInfo }]; } });
53
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVudGVkLm5vdGlmaWNhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvbm90aWZpY2F0aW9ucy90eXBlcy9jb21tZW50ZWQubm90aWZpY2F0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRzFELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHFCQUFxQixDQUFDOzs7Ozs7Ozs7O0FBTTFFLE1BQU07QUFPTixNQUFNLE9BQ0UscUJBQXNCLFNBQVEsZ0JBQWdCO0lBcUJwRCxZQUE4QyxZQUF1QixFQUMzRCxTQUF5QixFQUNqQyxTQUEyQixFQUMzQixNQUFrQixFQUNsQixPQUF1QixFQUFFLElBQWM7UUFDdkMsS0FBSyxDQUFDLFlBQVksRUFBRSxNQUFNLEVBQUUsT0FBTyxFQUFFLFNBQVMsRUFBRSxJQUFJLENBQUMsQ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LmdldCgnQ29tbWVudGVkTWFueU1vcmVOb3RpZnknLFxyXG4gICAgICAgICAgICB1cy5zbGljZSgwLCAyKS5tYXAodSA9PiB0aGlzLl9mb3JtYXRVc2VyRWxlbWVudCh1KSkuam9pbihjb21tYSksIHVzLmxlbmd0aCAtIDIsIHRoaXMubm90aWZpY2F0aW9uLm51bWJlcik7XHJcbiAgICAgICAgfVxyXG4gICAgICB9KTtcclxuICB9XHJcbiAgY29uc3RydWN0b3IoQEluamVjdChOT1RJRklDQVRJT05fREFUQSkgcHVibGljIG5vdGlmaWNhdGlvbjogQ29tbWVudGVkLFxyXG4gICAgcHJpdmF0ZSBfYWNjb3VudHM6IEFjY291bnRTZXJ2aWNlLFxyXG4gICAgdHJhbnNsYXRlOiBUcmFuc2xhdGVTZXJ2aWNlLFxyXG4gICAgcm91dGVyOiBSb3V0ZXJJbXBsLFxyXG4gICAgc2Vzc2lvbjogU2Vzc2lvblNlcnZpY2UsIGNoYXQ6IENoYXRJbmZvKSB7XHJcbiAgICBzdXBlcihub3RpZmljYXRpb24sIHJvdXRlciwgc2Vzc2lvbiwgdHJhbnNsYXRlLCBjaGF0KTtcclxuICB9XHJcbn1cclxuaW50ZXJmYWNlIENvbW1lbnRlZCBleHRlbmRzIE5vdGlmaWNhdGlvbiB7XHJcbiAgdXNlcklkczogc3RyaW5nW107XHJcbiAgdGV4dDogc3RyaW5nO1xyXG4gIG51bWJlcjogc3RyaW5nO1xyXG59XHJcbiJdfQ==
@@ -0,0 +1,58 @@
1
+ import { Component, Inject, HostListener } from "@angular/core";
2
+ import { NOTIFICATION_DATA } from "./notification-base";
3
+ import { forkJoin } from "rxjs";
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "../../core/datasource.service";
6
+ import * as i2 from "../../core/session.service";
7
+ import * as i3 from "../../core/router";
8
+ import * as i4 from "../../core/translate.service";
9
+ import * as i5 from "../../core/pipes/sanitize-html.pipe";
10
+ import * as i6 from "../../core/pipes/translate.pipe";
11
+ import * as i7 from "@angular/common";
12
+ export class CubeAnomalyNotification {
13
+ constructor(notification, _ds, _session, _router, _translate) {
14
+ this.notification = notification;
15
+ this._ds = _ds;
16
+ this._session = _session;
17
+ this._router = _router;
18
+ this._translate = _translate;
19
+ this.axes = '';
20
+ }
21
+ ngOnInit() {
22
+ this.cube = this._session.profile.cubes.find(c => c.name === this.notification.cube);
23
+ const observables = [];
24
+ this.cube.axes.forEach((a, i) => {
25
+ if (!a.hidden && this.notification.axes && this.notification.axes[i]) {
26
+ observables.push(this._ds.get(a.dataType, this.notification.axes[i]));
27
+ }
28
+ });
29
+ forkJoin(observables).subscribe(a => this.axes = this._translate.join(a.map((e, i) => e || this.notification.axes[i])));
30
+ }
31
+ open(e) {
32
+ const id = e.srcElement.getAttribute('data-info');
33
+ if (id) {
34
+ this._router.navigate(['mailbox/i', parseInt(id).encodeId()]);
35
+ }
36
+ else {
37
+ const params = {};
38
+ if (this.notification.axes)
39
+ this.notification.axes.forEach((a, i) => a && (params[this.cube.axes[i].name] = a));
40
+ this._router.navigate(['cube', this.notification.cube, 'v', this.cube.views[0].name], { queryParams: params });
41
+ }
42
+ }
43
+ }
44
+ CubeAnomalyNotification.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: CubeAnomalyNotification, deps: [{ token: NOTIFICATION_DATA }, { token: i1.DatasourceService }, { token: i2.SessionService }, { token: i3.RouterImpl }, { token: i4.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
45
+ CubeAnomalyNotification.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: CubeAnomalyNotification, selector: "ng-component", host: { listeners: { "click": "open($event)" } }, ngImport: i0, template: `<span [innerHTML]=" 'CubeAnomalyNotify' | translate : (cube.title | lowercase) : (notification.value | currency : cube.currencyCode : 'symbol') : axes | sanitizeHtml"></span>`, isInline: true, pipes: { "sanitizeHtml": i5.SanitizeHtmlPipe, "translate": i6.TranslatePipe, "lowercase": i7.LowerCasePipe, "currency": i7.CurrencyPipe } });
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: CubeAnomalyNotification, decorators: [{
47
+ type: Component,
48
+ args: [{
49
+ template: `<span [innerHTML]=" 'CubeAnomalyNotify' | translate : (cube.title | lowercase) : (notification.value | currency : cube.currencyCode : 'symbol') : axes | sanitizeHtml"></span>`
50
+ }]
51
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
52
+ type: Inject,
53
+ args: [NOTIFICATION_DATA]
54
+ }] }, { type: i1.DatasourceService }, { type: i2.SessionService }, { type: i3.RouterImpl }, { type: i4.TranslateService }]; }, propDecorators: { open: [{
55
+ type: HostListener,
56
+ args: ['click', ['$event']]
57
+ }] } });
58
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3ViZS1hbm9tYWx5Lm5vdGlmaWNhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvbm90aWZpY2F0aW9ucy90eXBlcy9jdWJlLWFub21hbHkubm90aWZpY2F0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFVLFlBQVksRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN4RSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUd4RCxPQUFPLEVBQWMsUUFBUSxFQUFFLE1BQU0sTUFBTSxDQUFDOzs7Ozs7Ozs7QUFRNUMsTUFBTSxPQUNFLHVCQUF1QjtJQTJCN0IsWUFDb0MsWUFBeUIsRUFDbkQsR0FBc0IsRUFBVSxRQUF3QixFQUFVLE9BQW1CLEVBQVUsVUFBNEI7UUFEakcsaUJBQVksR0FBWixZQUF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ZXh0ZW5kcyBOb3RpZmljYXRpb24ge1xyXG4gIGN1YmU6IHN0cmluZztcclxuICBheGVzOiBzdHJpbmdbXTtcclxuICB2YWx1ZTogbnVtYmVyO1xyXG4gIG51bWJlcnM6IHN0cmluZ1tdO1xyXG4gIGRvY3VtZW50SWRzOiBudW1iZXJbXTtcclxufVxyXG4iXX0=
@@ -0,0 +1,33 @@
1
+ import { Component, Inject } from "@angular/core";
2
+ import { NOTIFICATION_DATA, NotificationBase } from "./notification-base";
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "../../core/router";
5
+ import * as i2 from "../../core/account.service";
6
+ import * as i3 from "../../core/translate.service";
7
+ import * as i4 from "../../core/session.service";
8
+ import * as i5 from "../../chat/chat-info";
9
+ import * as i6 from "@angular/common";
10
+ import * as i7 from "../../core/pipes/sanitize-html.pipe";
11
+ import * as i8 from "../../core/pipes/translate.pipe";
12
+ export class EscalatedNotification extends NotificationBase {
13
+ constructor(router, notification, _accounts, translate, session, chat) {
14
+ super(notification, router, session, translate, chat);
15
+ this.notification = notification;
16
+ this._accounts = _accounts;
17
+ }
18
+ ngOnInit() {
19
+ this._accounts.get(this.notification.substituteId).subscribe(u => this.name = this._formatUserElement(u));
20
+ }
21
+ }
22
+ EscalatedNotification.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: EscalatedNotification, deps: [{ token: i1.RouterImpl }, { token: NOTIFICATION_DATA }, { token: i2.AccountService }, { token: i3.TranslateService }, { token: i4.SessionService }, { token: i5.ChatInfo }], target: i0.ɵɵFactoryTarget.Component });
23
+ EscalatedNotification.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: EscalatedNotification, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `<span *ngIf='name' [innerHTML]="'EscalatedNotify' | translate : notification.number : name | sanitizeHtml"></span>`, isInline: true, directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "sanitizeHtml": i7.SanitizeHtmlPipe, "translate": i8.TranslatePipe } });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: EscalatedNotification, decorators: [{
25
+ type: Component,
26
+ args: [{
27
+ template: `<span *ngIf='name' [innerHTML]="'EscalatedNotify' | translate : notification.number : name | sanitizeHtml"></span>`
28
+ }]
29
+ }], ctorParameters: function () { return [{ type: i1.RouterImpl }, { type: undefined, decorators: [{
30
+ type: Inject,
31
+ args: [NOTIFICATION_DATA]
32
+ }] }, { type: i2.AccountService }, { type: i3.TranslateService }, { type: i4.SessionService }, { type: i5.ChatInfo }]; } });
33
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXNjYWxhdGVkLm5vdGlmaWNhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvbm90aWZpY2F0aW9ucy90eXBlcy9lc2NhbGF0ZWQubm90aWZpY2F0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRzFELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHFCQUFxQixDQUFDOzs7Ozs7Ozs7O0FBUzFFLE1BQU0sT0FDRSxxQkFBc0IsU0FBUSxnQkFBZ0I7SUFPcEQsWUFDRSxNQUFrQixFQUNnQixZQUF1QixFQUNqRCxTQUF5QixFQUNqQyxTQUEyQixFQUMzQixPQUF1QixFQUN2QixJQUFjO1FBQ2QsS0FBSyxDQUFDLFlBQVksRUFBRSxNQUFNLEVBQUUsT0FBTyxFQUFFLFNBQVMsRUFBRSxJQUFJLENBQUMsQ0FBQztRQU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mljYXRpb24sIHJvdXRlciwgc2Vzc2lvbiwgdHJhbnNsYXRlLCBjaGF0KTtcclxuICB9XHJcbn1cclxuaW50ZXJmYWNlIEVzY2FsYXRlZCBleHRlbmRzIE5vdGlmaWNhdGlvbiB7XHJcbiAgc3Vic3RpdHV0ZUlkOiBzdHJpbmc7XHJcbiAgcm9sZT86IHN0cmluZztcclxuICBkdXJhdGlvbjogbnVtYmVyO1xyXG4gIG51bWJlcjogc3RyaW5nO1xyXG59XHJcbiJdfQ==
@@ -0,0 +1,50 @@
1
+ import { Component, Inject } from "@angular/core";
2
+ import { NOTIFICATION_DATA, NotificationBase } from "./notification-base";
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "../../core/account.service";
5
+ import * as i2 from "../../core/translate.service";
6
+ import * as i3 from "../../core/router";
7
+ import * as i4 from "../../core/session.service";
8
+ import * as i5 from "../../chat/chat-info";
9
+ import * as i6 from "@angular/common";
10
+ import * as i7 from "../../core/popup/tooltip.directive";
11
+ import * as i8 from "../../core/pipes/sanitize-html.pipe";
12
+ export class LikedNotification extends NotificationBase {
13
+ constructor(notification, _accounts, translate, router, session, chat) {
14
+ super(notification, router, session, translate, chat);
15
+ this.notification = notification;
16
+ this._accounts = _accounts;
17
+ }
18
+ ngOnInit() {
19
+ if (this.notification.userIds.length === 1)
20
+ this._accounts.get(this.notification.userIds[0]).subscribe(u => this.message = this._translate.personalize(this.notification.voted === 1 ? 'LikedOneNotify' : 'DislikedOneNotify', u.gender, this._formatUserElement(u), this.notification.number));
21
+ else
22
+ this._accounts.getAll(this.notification.userIds).subscribe(us => {
23
+ if (us.length < 3)
24
+ this.message = this._translate.get(this.notification.voted === 1 ? 'LikedManyNotify' : this.notification.voted === -1 ? 'DislikedManyNotify' : 'MixedLikeManyNotify', this._translate.join(us.map(u => this._formatUserElement(u))), this.notification.number);
25
+ else {
26
+ const comma = this._translate.comma;
27
+ this.names = us.map(u => u.name).join(comma);
28
+ this.message = this._translate.get(this.notification.voted === 1 ? 'LikedManyMoreNotify' : this.notification.voted === -1 ? 'DislikedManyMoreNotify' : 'MixedLikeManyMoreNotify', us.slice(0, 2).map(u => this._formatUserElement(u)).join(comma), us.length - 2, this.notification.number);
29
+ }
30
+ });
31
+ }
32
+ }
33
+ LikedNotification.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: LikedNotification, deps: [{ token: NOTIFICATION_DATA }, { token: i1.AccountService }, { token: i2.TranslateService }, { token: i3.RouterImpl }, { token: i4.SessionService }, { token: i5.ChatInfo }], target: i0.ɵɵFactoryTarget.Component });
34
+ LikedNotification.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.1", type: LikedNotification, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `<ng-container *ngIf='message'>
35
+ <span *ngIf='notification.userIds.length < 3' [innerHTML]='message | sanitizeHtml'></span>
36
+ <span *ngIf='notification.userIds.length >= 3' [bizdocTooltip]='names' [innerHTML]='message | sanitizeHtml'></span>
37
+ </ng-container>`, isInline: true, directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }], pipes: { "sanitizeHtml": i8.SanitizeHtmlPipe } });
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.1", ngImport: i0, type: LikedNotification, decorators: [{
39
+ type: Component,
40
+ args: [{
41
+ template: `<ng-container *ngIf='message'>
42
+ <span *ngIf='notification.userIds.length < 3' [innerHTML]='message | sanitizeHtml'></span>
43
+ <span *ngIf='notification.userIds.length >= 3' [bizdocTooltip]='names' [innerHTML]='message | sanitizeHtml'></span>
44
+ </ng-container>`
45
+ }]
46
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
47
+ type: Inject,
48
+ args: [NOTIFICATION_DATA]
49
+ }] }, { type: i1.AccountService }, { type: i2.TranslateService }, { type: i3.RouterImpl }, { type: i4.SessionService }, { type: i5.ChatInfo }]; } });
50
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrZWQubm90aWZpY2F0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9ub3RpZmljYXRpb25zL3R5cGVzL2xpa2VkLm5vdGlmaWNhdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUcxRCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQzs7Ozs7Ozs7OztBQVcxRSxNQUFNLE9BQ0UsaUJBQWtCLFNBQVEsZ0JBQWdCO0lBcUJoRCxZQUE4QyxZQUFtQixFQUN2RCxTQUF5QixFQUNqQyxTQUEyQixFQUMzQixNQUFrQixFQUNsQixPQUF1QixFQUFFLElBQWM7UUFDdkMsS0FBSyxDQUFDLFlBQVksRUFBRSxNQUFNLEVBQUUsT0FBTyxFQUFFLFNBQVMsRUFBRSxJQUFJLENBQUMsQ0FBQztRQUxWLGlCQUFZLEdBQVosWUFBWSxDQUFPO1FBQ3ZELGNBQVMsR0FBVCxTQUFTLENBQWdCO0lBS25DLENBQUM7SUF4QkQsUUFBUTtRQUNOLElBQUksSUFBSSxDQUFDLFlBQVksQ0FBQyxPQUFPLENBQUMsTUFBTSxLQUFLLENBQUM7WUFDeEMsSUFBSSxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLFlBQVksQ0FBQyxPQUFPLENBQUMsQ0FBQyxDQUFDLENB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