@bizdoc/core 1.8.5 → 1.8.9

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 (1160) hide show
  1. package/LICENSE.md +1 -0
  2. package/karma.conf.js +44 -0
  3. package/ng-package.json +38 -0
  4. package/package.json +81 -71
  5. package/src/lib/admin/admin-dismiss.service.ts +24 -0
  6. package/src/lib/admin/admin-menu.component.html +18 -0
  7. package/src/lib/admin/admin-menu.component.ts +20 -0
  8. package/src/lib/admin/core/ace.input.ts +133 -0
  9. package/src/lib/admin/core/color-picker.input.scss +17 -0
  10. package/src/lib/admin/core/color-picker.input.ts +175 -0
  11. package/src/lib/admin/core/search.input.ts +32 -0
  12. package/src/lib/admin/diff/_configuration-diff-theme.scss +72 -0
  13. package/src/lib/admin/diff/configuration-diff.component.html +24 -0
  14. package/src/lib/admin/diff/configuration-diff.component.scss +16 -0
  15. package/src/lib/admin/diff/configuration-diff.component.ts +549 -0
  16. package/src/lib/admin/document-trace/Timeline.ts +41 -0
  17. package/src/lib/admin/document-trace/_timeline-theme.scss +70 -0
  18. package/src/lib/admin/document-trace/document-trace.component.html +55 -0
  19. package/src/lib/admin/document-trace/document-trace.component.scss +10 -0
  20. package/src/lib/admin/document-trace/document-trace.component.ts +463 -0
  21. package/src/lib/admin/document-trace/reassign.dialog.html +24 -0
  22. package/src/lib/admin/document-trace/reassign.dialog.ts +34 -0
  23. package/src/lib/admin/document-trace/trace-element.component.html +57 -0
  24. package/src/lib/admin/document-trace/trace-element.component.scss +21 -0
  25. package/src/lib/admin/document-trace/trace-element.component.ts +116 -0
  26. package/src/lib/admin/form/form.resolve.service.ts +13 -0
  27. package/src/lib/admin/form/form.service.ts +23 -0
  28. package/src/lib/admin/form/workflow/node-ref.ts +8 -0
  29. package/src/lib/admin/form/workflow/node.component.html +36 -0
  30. package/src/lib/admin/form/workflow/node.component.scss +4 -0
  31. package/src/lib/admin/form/workflow/node.component.ts +128 -0
  32. package/src/lib/admin/form/workflow/role-node.component.html +36 -0
  33. package/src/lib/admin/form/workflow/role-node.component.ts +65 -0
  34. package/src/lib/admin/form/workflow/tools.component.exp.ts +13 -0
  35. package/src/lib/admin/form/workflow/tools.component.html +1 -0
  36. package/src/lib/admin/form/workflow/workflow.component.html +73 -0
  37. package/src/lib/admin/form/workflow/workflow.component.scss +52 -0
  38. package/src/lib/admin/form/workflow/workflow.component.ts +390 -0
  39. package/src/lib/admin/indices/manage-cube-index.component.html +35 -0
  40. package/src/lib/admin/indices/manage-cube-index.component.scss +16 -0
  41. package/src/lib/admin/indices/manage-cube-index.component.ts +155 -0
  42. package/src/lib/admin/patterns/patterns.component.html +70 -0
  43. package/src/lib/admin/patterns/patterns.component.ts +166 -0
  44. package/src/lib/admin/permissions/permissions.component.html +21 -0
  45. package/src/lib/admin/permissions/permissions.component.scss +7 -0
  46. package/src/lib/admin/permissions/permissions.component.ts +89 -0
  47. package/src/lib/admin/positions/positions-popup.component.html +23 -0
  48. package/src/lib/admin/positions/positions-popup.component.ts +67 -0
  49. package/src/lib/admin/positions/positions.component.html +142 -0
  50. package/src/lib/admin/positions/positions.component.scss +14 -0
  51. package/src/lib/admin/positions/positions.component.ts +285 -0
  52. package/src/lib/admin/profiler/profiler.component.html +109 -0
  53. package/src/lib/admin/profiler/profiler.component.scss +22 -0
  54. package/src/lib/admin/profiler/profiler.component.ts +268 -0
  55. package/src/lib/admin/utility-ref.ts +44 -0
  56. package/src/lib/admin/utility-wrapper.component.ts +52 -0
  57. package/src/lib/admin/utility.pane.component.ts +49 -0
  58. package/src/lib/app.component.ts +86 -0
  59. package/src/lib/bizdoc.module.ts +81 -0
  60. package/src/lib/browse/_browse-theme.scss +86 -0
  61. package/src/lib/browse/browse-items.component.html +163 -0
  62. package/src/lib/browse/browse-items.component.scss +52 -0
  63. package/src/lib/browse/browse-items.component.ts +419 -0
  64. package/src/lib/browse/browse.mobile.component.html +33 -0
  65. package/src/lib/browse/browse.mobile.component.ts +89 -0
  66. package/src/lib/browse/browse.pane.component.html +43 -0
  67. package/src/lib/browse/browse.pane.component.scss +4 -0
  68. package/src/lib/browse/browse.pane.component.ts +133 -0
  69. package/src/lib/browse/expanded-item/expanded-item.component.html +37 -0
  70. package/src/lib/browse/expanded-item/expanded-item.component.scss +35 -0
  71. package/src/lib/browse/expanded-item/expanded-item.component.ts +287 -0
  72. package/src/lib/browse/filter/filter.component.html +50 -0
  73. package/src/lib/browse/filter/filter.component.scss +10 -0
  74. package/src/lib/browse/filter/filter.component.ts +143 -0
  75. package/src/lib/browse/folders-menu.component.html +20 -0
  76. package/src/lib/browse/folders-menu.component.scss +15 -0
  77. package/src/lib/browse/folders-menu.component.ts +42 -0
  78. package/src/lib/chart.module.ts +33 -0
  79. package/src/lib/chat/_chat-theme.scss +162 -0
  80. package/src/lib/chat/chat-info.ts +73 -0
  81. package/src/lib/chat/chat-pool.component.exp.ts +117 -0
  82. package/src/lib/chat/chat-pool.component.html +13 -0
  83. package/src/lib/chat/chat-pool.component.scss +10 -0
  84. package/src/lib/chat/chat.mobile.component.html +6 -0
  85. package/src/lib/chat/chat.mobile.component.scss +8 -0
  86. package/src/lib/chat/chat.mobile.component.ts +18 -0
  87. package/src/lib/chat/chat.service.ts +128 -0
  88. package/src/lib/chat/contacts.component.html +37 -0
  89. package/src/lib/chat/contacts.component.scss +49 -0
  90. package/src/lib/chat/contacts.component.ts +88 -0
  91. package/src/lib/chat/contacts.pane.component.ts +25 -0
  92. package/src/lib/chat/conversation.component.html +28 -0
  93. package/src/lib/chat/conversation.component.scss +6 -0
  94. package/src/lib/chat/conversation.component.ts +186 -0
  95. package/src/lib/chat/conversation.pane.component.ts +45 -0
  96. package/src/lib/circular-gauge.module.ts +11 -0
  97. package/src/lib/compose/_compose-theme.scss +38 -0
  98. package/src/lib/compose/action/action-picker.component.html +25 -0
  99. package/src/lib/compose/action/action-picker.component.scss +4 -0
  100. package/src/lib/compose/action/action-picker.component.ts +95 -0
  101. package/src/lib/compose/action/action-ref.ts +19 -0
  102. package/src/lib/compose/action/action.dialog.html +17 -0
  103. package/src/lib/compose/action/action.dialog.scss +1 -0
  104. package/src/lib/compose/action/action.dialog.ts +58 -0
  105. package/src/lib/compose/action/action.pane.dialog.html +12 -0
  106. package/src/lib/compose/action/action.pane.dialog.ts +64 -0
  107. package/src/lib/compose/action/assign-action.component.html +17 -0
  108. package/src/lib/compose/action/assign-action.component.ts +43 -0
  109. package/src/lib/compose/action/return-action.component.html +13 -0
  110. package/src/lib/compose/action/return-action.component.ts +31 -0
  111. package/src/lib/compose/attachments/attachments.component.html +23 -0
  112. package/src/lib/compose/attachments/attachments.component.scss +21 -0
  113. package/src/lib/compose/attachments/attachments.component.ts +103 -0
  114. package/src/lib/compose/attachments/preview/attachment-preview.component.html +15 -0
  115. package/src/lib/compose/attachments/preview/attachment-preview.component.scss +36 -0
  116. package/src/lib/compose/attachments/preview/attachment-preview.component.ts +143 -0
  117. package/src/lib/compose/attachments/progress-button.directive.ts +18 -0
  118. package/src/lib/compose/can-deactivate-changes.service.ts +22 -0
  119. package/src/lib/compose/comments/_comments-theme.scss +82 -0
  120. package/src/lib/compose/comments/comment.component.html +36 -0
  121. package/src/lib/compose/comments/comment.component.ts +160 -0
  122. package/src/lib/compose/comments/comments.component.html +27 -0
  123. package/src/lib/compose/comments/comments.component.scss +33 -0
  124. package/src/lib/compose/comments/comments.component.ts +220 -0
  125. package/src/lib/compose/comments/comments.pane.component.ts +41 -0
  126. package/src/lib/compose/comments/edit-comment.component.html +3 -0
  127. package/src/lib/compose/comments/edit-comment.component.ts +35 -0
  128. package/src/lib/compose/comments/edits.component.html +7 -0
  129. package/src/lib/compose/comments/edits.component.ts +33 -0
  130. package/src/lib/compose/comments/quick-comment.component.exp.ts +60 -0
  131. package/src/lib/compose/comments/quick-comment.component.html +5 -0
  132. package/src/lib/compose/comments/quick-comment.component.scss +11 -0
  133. package/src/lib/compose/comments/votes.component.html +7 -0
  134. package/src/lib/compose/comments/votes.component.ts +38 -0
  135. package/src/lib/compose/compose-resolve.service.ts +42 -0
  136. package/src/lib/compose/compose.mobile.component.html +48 -0
  137. package/src/lib/compose/compose.mobile.component.scss +11 -0
  138. package/src/lib/compose/compose.mobile.component.ts +84 -0
  139. package/src/lib/compose/compose.pane.component.html +48 -0
  140. package/src/lib/compose/compose.pane.component.scss +26 -0
  141. package/src/lib/compose/compose.pane.component.ts +181 -0
  142. package/src/lib/compose/copy/copy.dialog.html +21 -0
  143. package/src/lib/compose/copy/copy.dialog.ts +40 -0
  144. package/src/lib/compose/dismiss.service.ts +26 -0
  145. package/src/lib/compose/document-resolver.service.ts +13 -0
  146. package/src/lib/compose/document.component.html +5 -0
  147. package/src/lib/compose/document.component.ts +44 -0
  148. package/src/lib/compose/document.mobile.component.ts +20 -0
  149. package/src/lib/compose/document.pane.component.ts +22 -0
  150. package/src/lib/compose/events/events.component.html +6 -0
  151. package/src/lib/compose/events/events.component.ts +21 -0
  152. package/src/lib/compose/form-ref.ts +53 -0
  153. package/src/lib/compose/form-selector/form-selector.sheet.html +10 -0
  154. package/src/lib/compose/form-selector/form-selector.sheet.ts +74 -0
  155. package/src/lib/compose/form.component.html +12 -0
  156. package/src/lib/compose/form.component.ts +401 -0
  157. package/src/lib/compose/maps/maps.component.html +3 -0
  158. package/src/lib/compose/maps/maps.component.ts +22 -0
  159. package/src/lib/compose/new-menu.component.html +29 -0
  160. package/src/lib/compose/new-menu.component.scss +11 -0
  161. package/src/lib/compose/new-menu.component.ts +106 -0
  162. package/src/lib/compose/privilage.directive.ts +43 -0
  163. package/src/lib/compose/recipient-resolver.service.ts +15 -0
  164. package/src/lib/compose/save-changes.dialog.html +13 -0
  165. package/src/lib/compose/save-changes.dialog.ts +10 -0
  166. package/src/lib/compose/state.component.ts +29 -0
  167. package/src/lib/compose/tag/tags.component.html +22 -0
  168. package/src/lib/compose/tag/tags.component.scss +1 -0
  169. package/src/lib/compose/tag/tags.component.ts +83 -0
  170. package/src/lib/compose/trace/flow.component.html +3 -0
  171. package/src/lib/compose/trace/flow.component.scss +7 -0
  172. package/src/lib/compose/trace/flow.component.ts +669 -0
  173. package/src/lib/compose/trace/people.component.ts +32 -0
  174. package/src/lib/compose/trace/trace.base.ts +66 -0
  175. package/src/lib/compose/trace/trace.component.html +43 -0
  176. package/src/lib/compose/trace/trace.component.scss +16 -0
  177. package/src/lib/compose/trace/trace.component.ts +289 -0
  178. package/src/lib/compose/trace/trace.pane.component.html +3 -0
  179. package/src/lib/compose/trace/trace.pane.component.scss +5 -0
  180. package/src/lib/compose/trace/trace.pane.component.ts +43 -0
  181. package/src/lib/compose/version-compare/_compare-theme.scss +147 -0
  182. package/src/lib/compose/version-compare/version-compare.component.ts +51 -0
  183. package/src/lib/compose/version-compare/version-compare.directive.ts +292 -0
  184. package/src/lib/compose/version-compare/version.pane.component.html +19 -0
  185. package/src/lib/compose/version-compare/version.pane.component.scss +8 -0
  186. package/src/lib/compose/version-compare/version.pane.component.ts +48 -0
  187. package/src/lib/core/NgComponentOutlet.ts +31 -0
  188. package/src/lib/core/account.service.ts +28 -0
  189. package/src/lib/core/animated-icon/animated-icon.directive.html +3 -0
  190. package/src/lib/core/animated-icon/animated-icon.directive.scss +12 -0
  191. package/src/lib/core/animated-icon/animated-icon.directive.ts +41 -0
  192. package/src/lib/core/animations.ts +196 -0
  193. package/src/lib/core/authentication.ts +7 -0
  194. package/src/lib/core/avatar/_avatar-theme.scss +60 -0
  195. package/src/lib/core/avatar/avatar.component.html +6 -0
  196. package/src/lib/core/avatar/avatar.component.ts +108 -0
  197. package/src/lib/core/base.ts +44 -0
  198. package/src/lib/core/can-activate.service.exp.ts +31 -0
  199. package/src/lib/core/colors.ts +322 -0
  200. package/src/lib/core/component-factory-resolver.ts +59 -0
  201. package/src/lib/core/configuration.ts +95 -0
  202. package/src/lib/core/controls/_daterange-theme.scss +16 -0
  203. package/src/lib/core/controls/address.input.ts +158 -0
  204. package/src/lib/core/controls/auto-complete.input.ts +218 -0
  205. package/src/lib/core/controls/combination-picker-body.html +34 -0
  206. package/src/lib/core/controls/combination-picker-body.scss +40 -0
  207. package/src/lib/core/controls/combination-picker-body.ts +191 -0
  208. package/src/lib/core/controls/combination-picker.html +6 -0
  209. package/src/lib/core/controls/combination-picker.scss +9 -0
  210. package/src/lib/core/controls/combination-picker.ts +243 -0
  211. package/src/lib/core/controls/combination-pool.html +10 -0
  212. package/src/lib/core/controls/combination-pool.scss +35 -0
  213. package/src/lib/core/controls/combination-pool.ts +96 -0
  214. package/src/lib/core/controls/select.input.ts +205 -0
  215. package/src/lib/core/controls/time-picker.html +4 -0
  216. package/src/lib/core/controls/time-picker.ts +199 -0
  217. package/src/lib/core/controls/timespan.input.ts +175 -0
  218. package/src/lib/core/datasource.service.ts +67 -0
  219. package/src/lib/core/decorators.ts +56 -0
  220. package/src/lib/core/firebase.service.ts +55 -0
  221. package/src/lib/core/functions.ts +229 -0
  222. package/src/lib/core/guide/_guide-theme.scss +197 -0
  223. package/src/lib/core/guide/guide.component.html +20 -0
  224. package/src/lib/core/guide/guide.component.ts +210 -0
  225. package/src/lib/core/guide/guide.service.ts +98 -0
  226. package/src/lib/core/http.interceptor.ts +80 -0
  227. package/src/lib/core/hub.service.ts +194 -0
  228. package/src/lib/core/identity/identity.component.html +2 -0
  229. package/src/lib/core/identity/identity.component.ts +57 -0
  230. package/src/lib/core/info/attachment-info.service.ts +49 -0
  231. package/src/lib/core/info/document-info.service.ts +14 -0
  232. package/src/lib/core/info/location-info.component.scss +13 -0
  233. package/src/lib/core/info/location-info.component.ts +64 -0
  234. package/src/lib/core/info/map-info.ts +33 -0
  235. package/src/lib/core/layout/autocomplete.field.ts +41 -0
  236. package/src/lib/core/layout/checkbox.field.ts +21 -0
  237. package/src/lib/core/layout/date-range.field.ts +32 -0
  238. package/src/lib/core/layout/date.field.ts +26 -0
  239. package/src/lib/core/layout/expression.field.ts +26 -0
  240. package/src/lib/core/layout/html.field.ts +28 -0
  241. package/src/lib/core/layout/input.base.ts +12 -0
  242. package/src/lib/core/layout/input.field.ts +43 -0
  243. package/src/lib/core/layout/layout.component.scss +9 -0
  244. package/src/lib/core/layout/layout.component.ts +173 -0
  245. package/src/lib/core/layout/numeric.field.ts +24 -0
  246. package/src/lib/core/layout/select.field.ts +52 -0
  247. package/src/lib/core/layout/switch.field.ts +21 -0
  248. package/src/lib/core/layout/textarea.field.ts +21 -0
  249. package/src/lib/core/layout/timespan.field.ts +25 -0
  250. package/src/lib/core/lottie-animation.ts +37 -0
  251. package/src/lib/core/mailbox.service.ts +296 -0
  252. package/src/lib/core/models.ts +667 -0
  253. package/src/lib/core/none.component.scss +26 -0
  254. package/src/lib/core/none.component.ts +28 -0
  255. package/src/lib/core/pipes/action.pipe.ts +18 -0
  256. package/src/lib/core/pipes/daterange.pipe.ts +45 -0
  257. package/src/lib/core/pipes/duration.pipe.ts +39 -0
  258. package/src/lib/core/pipes/form.pipe.ts +19 -0
  259. package/src/lib/core/pipes/join.pipe.ts +10 -0
  260. package/src/lib/core/pipes/role.pipe.ts +19 -0
  261. package/src/lib/core/pipes/sanitize-html.pipe.ts +10 -0
  262. package/src/lib/core/pipes/sort.pipe.ts +34 -0
  263. package/src/lib/core/pipes/state.pipe.ts +19 -0
  264. package/src/lib/core/pipes/translate.pipe.ts +14 -0
  265. package/src/lib/core/pipes/type-value.pipe.ts +37 -0
  266. package/src/lib/core/pipes/user-name.pipe.ts +14 -0
  267. package/src/lib/core/popup/_popup-theme.scss +226 -0
  268. package/src/lib/core/popup/popup-ref.ts +19 -0
  269. package/src/lib/core/popup/popup.component.html +6 -0
  270. package/src/lib/core/popup/popup.component.ts +40 -0
  271. package/src/lib/core/popup/popup.service.ts +164 -0
  272. package/src/lib/core/popup/tooltip.directive.ts +47 -0
  273. package/src/lib/core/prompt/ask/ask.dialog.html +6 -0
  274. package/src/lib/core/prompt/ask/ask.dialog.ts +35 -0
  275. package/src/lib/core/prompt/mask/mask.component.html +1 -0
  276. package/src/lib/core/prompt/mask/mask.component.scss +14 -0
  277. package/src/lib/core/prompt/mask/mask.component.ts +15 -0
  278. package/src/lib/core/prompt.service.ts +81 -0
  279. package/src/lib/core/router.ts +29 -0
  280. package/src/lib/core/session.service.ts +247 -0
  281. package/src/lib/core/slots/_slots-theme.scss +142 -0
  282. package/src/lib/core/slots/extended-tab.component.exp.ts +35 -0
  283. package/src/lib/core/slots/extended-tab.component.html +0 -0
  284. package/src/lib/core/slots/intro.pane.component.exp.ts +23 -0
  285. package/src/lib/core/slots/intro.pane.component.html +22 -0
  286. package/src/lib/core/slots/intro.pane.component.scss +8 -0
  287. package/src/lib/core/slots/pane-ref.ts +156 -0
  288. package/src/lib/core/slots/router.directive.ts +55 -0
  289. package/src/lib/core/slots/router.service.ts +67 -0
  290. package/src/lib/core/slots/slot.component.exp.ts +49 -0
  291. package/src/lib/core/slots/slot.component.html +15 -0
  292. package/src/lib/core/slots/slot.component.scss +18 -0
  293. package/src/lib/core/slots/slots.component.html +65 -0
  294. package/src/lib/core/slots/slots.component.scss +160 -0
  295. package/src/lib/core/slots/slots.component.ts +1138 -0
  296. package/src/lib/core/tagging/documents.component.html +11 -0
  297. package/src/lib/core/tagging/documents.component.ts +19 -0
  298. package/src/lib/core/tagging/edit-input.component.html +42 -0
  299. package/src/lib/core/tagging/edit-input.component.scss +21 -0
  300. package/src/lib/core/tagging/edit-input.component.ts +211 -0
  301. package/src/lib/core/tagging/emoji.component.ts +23 -0
  302. package/src/lib/core/tagging/tagging-item.directive.ts +34 -0
  303. package/src/lib/core/tagging/tagging.component-base.ts +29 -0
  304. package/src/lib/core/tagging/tagging.component.scss +22 -0
  305. package/src/lib/core/tagging/tagging.directive.ts +128 -0
  306. package/src/lib/core/tagging/tagging.pipe.ts +76 -0
  307. package/src/lib/core/tagging/users.component.html +13 -0
  308. package/src/lib/core/tagging/users.component.ts +28 -0
  309. package/src/lib/core/translate.service.ts +1203 -0
  310. package/src/lib/core/window-title.service.ts +54 -0
  311. package/src/lib/cube/accum/accum.component.html +16 -0
  312. package/src/lib/cube/accum/accum.component.ts +186 -0
  313. package/src/lib/cube/chart/chart.component.html +32 -0
  314. package/src/lib/cube/chart/chart.component.ts +252 -0
  315. package/src/lib/cube/cube-info.service.ts +129 -0
  316. package/src/lib/cube/cube-menu.component.html +13 -0
  317. package/src/lib/cube/cube-menu.component.ts +18 -0
  318. package/src/lib/cube/cube-view.component.ts +174 -0
  319. package/src/lib/cube/cube.service.ts +415 -0
  320. package/src/lib/cube/declarations.ts +23 -0
  321. package/src/lib/cube/explore/document-item.component.ts +28 -0
  322. package/src/lib/cube/explore/explore-item.component.scss +4 -0
  323. package/src/lib/cube/explore/explore-item.component.ts +23 -0
  324. package/src/lib/cube/explore/explore-items.component.html +27 -0
  325. package/src/lib/cube/explore/explore-items.component.scss +24 -0
  326. package/src/lib/cube/explore/explore-items.component.ts +142 -0
  327. package/src/lib/cube/explore/explore.pane.component.html +11 -0
  328. package/src/lib/cube/explore/explore.pane.component.ts +69 -0
  329. package/src/lib/cube/explore/item-resolver.service.ts +24 -0
  330. package/src/lib/cube/explore/item.pane.component.html +3 -0
  331. package/src/lib/cube/explore/item.pane.component.ts +23 -0
  332. package/src/lib/cube/filter/filter-tags.component.exp.ts +59 -0
  333. package/src/lib/cube/filter/filter-tags.component.html +8 -0
  334. package/src/lib/cube/filter/filter-tags.component.scss +0 -0
  335. package/src/lib/cube/filter/filter-tags.component.spec.ts +25 -0
  336. package/src/lib/cube/filter/filter.component.html +25 -0
  337. package/src/lib/cube/filter/filter.component.scss +8 -0
  338. package/src/lib/cube/filter/filter.component.ts +102 -0
  339. package/src/lib/cube/grid/grid.component.html +30 -0
  340. package/src/lib/cube/grid/grid.component.scss +4 -0
  341. package/src/lib/cube/grid/grid.component.ts +220 -0
  342. package/src/lib/cube/grid/spreadsheet.component.ts +268 -0
  343. package/src/lib/cube/matrix/_matrix.theme.scss +77 -0
  344. package/src/lib/cube/matrix/matrix.base.ts +156 -0
  345. package/src/lib/cube/matrix/matrix.component.html +27 -0
  346. package/src/lib/cube/matrix/matrix.component.scss +3 -0
  347. package/src/lib/cube/matrix/matrix.component.ts +52 -0
  348. package/src/lib/cube/matrix/matrix.mobile.component.html +26 -0
  349. package/src/lib/cube/matrix/matrix.mobile.component.ts +57 -0
  350. package/src/lib/cube/matrix/matrix.pane.component.html +26 -0
  351. package/src/lib/cube/matrix/matrix.pane.component.scss +7 -0
  352. package/src/lib/cube/matrix/matrix.pane.component.ts +63 -0
  353. package/src/lib/cube/matrix/table.component.html +64 -0
  354. package/src/lib/cube/matrix/table.component.scss +22 -0
  355. package/src/lib/cube/matrix/table.component.ts +337 -0
  356. package/src/lib/cube/pivot/pivot.component.html +14 -0
  357. package/src/lib/cube/pivot/pivot.component.ts +409 -0
  358. package/src/lib/cube/view-base.ts +81 -0
  359. package/src/lib/cube/view.mobile.component.html +38 -0
  360. package/src/lib/cube/view.mobile.component.scss +9 -0
  361. package/src/lib/cube/view.mobile.component.ts +112 -0
  362. package/src/lib/cube/view.pane.component.html +25 -0
  363. package/src/lib/cube/view.pane.component.scss +12 -0
  364. package/src/lib/cube/view.pane.component.ts +75 -0
  365. package/src/lib/dashboard/_table.widget.scss +19 -0
  366. package/src/lib/dashboard/actions/actions.widget.html +6 -0
  367. package/src/lib/dashboard/actions/actions.widget.ts +118 -0
  368. package/src/lib/dashboard/cube/accum-cube.widget.html +15 -0
  369. package/src/lib/dashboard/cube/accum-cube.widget.ts +154 -0
  370. package/src/lib/dashboard/cube/cube-analysis.base.ts +116 -0
  371. package/src/lib/dashboard/cube/cube-analysis.widget.ts +42 -0
  372. package/src/lib/dashboard/cube/cube-chart.widget.html +7 -0
  373. package/src/lib/dashboard/cube/cube-chart.widget.ts +146 -0
  374. package/src/lib/dashboard/cube/documents.widget.html +19 -0
  375. package/src/lib/dashboard/cube/documents.widget.ts +59 -0
  376. package/src/lib/dashboard/cube/filter/filter.component.html +3 -0
  377. package/src/lib/dashboard/cube/filter/filter.component.ts +49 -0
  378. package/src/lib/dashboard/cube/gauge.component.exp.ts +18 -0
  379. package/src/lib/dashboard/dashboard.component.html +18 -0
  380. package/src/lib/dashboard/dashboard.component.scss +36 -0
  381. package/src/lib/dashboard/dashboard.component.ts +45 -0
  382. package/src/lib/dashboard/dashboard.pane.component.ts +19 -0
  383. package/src/lib/dashboard/recents/recents.widget.html +27 -0
  384. package/src/lib/dashboard/recents/recents.widget.scss +9 -0
  385. package/src/lib/dashboard/recents/recents.widget.ts +74 -0
  386. package/src/lib/dashboard/score/activity.widget.html +9 -0
  387. package/src/lib/dashboard/score/activity.widget.ts +167 -0
  388. package/src/lib/dashboard/score/compare-departments.widget.html +8 -0
  389. package/src/lib/dashboard/score/compare-departments.widget.ts +204 -0
  390. package/src/lib/dashboard/score/peers-performance.widget.html +23 -0
  391. package/src/lib/dashboard/score/peers-performance.widget.ts +254 -0
  392. package/src/lib/dashboard/score/pending-results.widget.html +29 -0
  393. package/src/lib/dashboard/score/pending-results.widget.ts +57 -0
  394. package/src/lib/dashboard/score/personal-score.widget.html +18 -0
  395. package/src/lib/dashboard/score/personal-score.widget.ts +225 -0
  396. package/src/lib/dashboard/widget-item.component.ts +90 -0
  397. package/src/lib/dashboard/widget-ref.ts +20 -0
  398. package/src/lib/desktop.module.ts +93 -0
  399. package/src/lib/diagram.module.ts +20 -0
  400. package/src/lib/grid.module.ts +16 -0
  401. package/src/lib/home/_home-theme.scss +155 -0
  402. package/src/lib/home/about/about.dialog.html +19 -0
  403. package/src/lib/home/about/about.dialog.ts +18 -0
  404. package/src/lib/home/home-base.component.ts +88 -0
  405. package/src/lib/home/home.desktop.component.html +87 -0
  406. package/src/lib/home/home.desktop.component.scss +66 -0
  407. package/src/lib/home/home.desktop.component.ts +181 -0
  408. package/src/lib/home/home.mobile.component.html +79 -0
  409. package/src/lib/home/home.mobile.component.scss +49 -0
  410. package/src/lib/home/home.mobile.component.ts +105 -0
  411. package/src/lib/home/notifications/notifications.component.html +18 -0
  412. package/src/lib/home/notifications/notifications.component.scss +36 -0
  413. package/src/lib/home/notifications/notifications.component.ts +55 -0
  414. package/src/lib/home/options/options.component.html +39 -0
  415. package/src/lib/home/options/options.component.scss +16 -0
  416. package/src/lib/home/options/options.component.ts +92 -0
  417. package/src/lib/home/outofoffice/outofoffice.component.html +5 -0
  418. package/src/lib/home/outofoffice/outofoffice.component.scss +10 -0
  419. package/src/lib/home/outofoffice/outofoffice.component.ts +33 -0
  420. package/src/lib/home/progress-bar.directive.exp.ts +24 -0
  421. package/src/lib/home/search.service.ts +71 -0
  422. package/src/lib/home/sign/sign.component.html +15 -0
  423. package/src/lib/home/sign/sign.component.ts +42 -0
  424. package/src/lib/home/submenu.directive.exp.ts +43 -0
  425. package/src/lib/home/tools.component.html +27 -0
  426. package/src/lib/home/tools.component.scss +15 -0
  427. package/src/lib/home/tools.component.ts +72 -0
  428. package/src/lib/home/welcome/welcome.dialog.exp.ts +35 -0
  429. package/src/lib/home/welcome/welcome.dialog.html +14 -0
  430. package/src/lib/impersonate/impersonate.component.html +17 -0
  431. package/src/lib/impersonate/impersonate.component.scss +3 -0
  432. package/src/lib/impersonate/impersonate.component.spec.ts +24 -0
  433. package/src/lib/impersonate/impersonate.component.ts +60 -0
  434. package/src/lib/linear-gauge.module.ts +11 -0
  435. package/src/lib/material.module.ts +99 -0
  436. package/src/lib/mobile.module.ts +41 -0
  437. package/src/lib/notifications/commented.notification.html +14 -0
  438. package/src/lib/notifications/commented.notification.ts +51 -0
  439. package/src/lib/notifications/cube-anomaly.notification.ts +50 -0
  440. package/src/lib/notifications/escalated.notification.ts +37 -0
  441. package/src/lib/notifications/filter.component.html +6 -0
  442. package/src/lib/notifications/filter.component.ts +16 -0
  443. package/src/lib/notifications/liked.notification.ts +49 -0
  444. package/src/lib/notifications/long-running-task.notification.ts +23 -0
  445. package/src/lib/notifications/notification-base.ts +38 -0
  446. package/src/lib/notifications/notifications-table.component.html +54 -0
  447. package/src/lib/notifications/notifications-table.component.scss +14 -0
  448. package/src/lib/notifications/notifications-table.component.ts +94 -0
  449. package/src/lib/notifications/notifications.component-base.ts +45 -0
  450. package/src/lib/notifications/notifications.mobile.component.ts +13 -0
  451. package/src/lib/notifications/notifications.pane.component.ts +16 -0
  452. package/src/lib/notifications/notifications.service.ts +66 -0
  453. package/src/lib/notifications/nudge.notification.ts +33 -0
  454. package/src/lib/notifications/state-changed.notification.ts +27 -0
  455. package/src/lib/notifications/tagged.notification.ts +46 -0
  456. package/src/lib/notifications/text.notification.ts +13 -0
  457. package/src/lib/notifications/upcoming-event.notification.ts +25 -0
  458. package/src/lib/options/options.component.html +149 -0
  459. package/src/lib/options/options.component.scss +19 -0
  460. package/src/lib/options/options.component.ts +244 -0
  461. package/src/lib/options/options.service.ts +30 -0
  462. package/src/lib/pivot.module.ts +18 -0
  463. package/src/lib/reports/arguments-component.ts +73 -0
  464. package/src/lib/reports/cube/grid-documents.component.html +25 -0
  465. package/src/lib/reports/cube/grid-documents.component.ts +85 -0
  466. package/src/lib/reports/cube/table-documents.component.css +18 -0
  467. package/src/lib/reports/cube/table-documents.component.html +30 -0
  468. package/src/lib/reports/cube/table-documents.component.ts +65 -0
  469. package/src/lib/reports/cube/usage-args.component.html +3 -0
  470. package/src/lib/reports/cube/usage-args.component.ts +57 -0
  471. package/src/lib/reports/cube/usage-base.ts +121 -0
  472. package/src/lib/reports/cube/usage-browse.component.exp.ts +93 -0
  473. package/src/lib/reports/cube/usage-browse.component.html +27 -0
  474. package/src/lib/reports/cube/usage-browse.component.scss +24 -0
  475. package/src/lib/reports/cube/usage-chart.component.html +11 -0
  476. package/src/lib/reports/cube/usage-chart.component.ts +304 -0
  477. package/src/lib/reports/cube/usage-pivot.component.html +19 -0
  478. package/src/lib/reports/cube/usage-pivot.component.ts +252 -0
  479. package/src/lib/reports/report-ref.ts +42 -0
  480. package/src/lib/reports/report-viewer.component.html +2 -0
  481. package/src/lib/reports/report-viewer.component.scss +12 -0
  482. package/src/lib/reports/report-viewer.component.ts +129 -0
  483. package/src/lib/reports/report.mobile.component.html +16 -0
  484. package/src/lib/reports/report.mobile.component.scss +7 -0
  485. package/src/lib/reports/report.mobile.component.ts +107 -0
  486. package/src/lib/reports/report.pane.component.html +8 -0
  487. package/src/lib/reports/report.pane.component.scss +9 -0
  488. package/src/lib/reports/report.pane.component.ts +78 -0
  489. package/src/lib/reports/reports-menu.component.html +9 -0
  490. package/src/lib/reports/reports-menu.component.ts +20 -0
  491. package/src/lib/reports/substitution/substitution.component.html +26 -0
  492. package/src/lib/reports/substitution/substitution.component.ts +34 -0
  493. package/src/lib/reports/table/table-view.component.html +8 -0
  494. package/src/lib/reports/table/table-view.component.scss +0 -0
  495. package/src/lib/reports/table/table-view.component.ts +33 -0
  496. package/src/lib/reports/tasks/tasks.component.html +21 -0
  497. package/src/lib/reports/tasks/tasks.component.ts +114 -0
  498. package/src/lib/reports/timeline/timeline.component.exp.ts +225 -0
  499. package/src/lib/reports/timeline/timeline.component.html +9 -0
  500. package/src/lib/routes.desktop.ts +191 -0
  501. package/src/lib/routes.mobile.ts +69 -0
  502. package/src/lib/schedule.module.ts +12 -0
  503. package/src/lib/scheduler/schedule.component.html +36 -0
  504. package/src/lib/scheduler/schedule.component.scss +13 -0
  505. package/src/lib/scheduler/schedule.component.ts +158 -0
  506. package/src/lib/scheduler/scheduler.mobile.component.ts +30 -0
  507. package/src/lib/scheduler/scheduler.pane.component.ts +49 -0
  508. package/src/lib/shared.module.ts +355 -0
  509. package/src/lib/spreadsheet.module.ts +17 -0
  510. package/src/lib/system.module.ts +77 -0
  511. package/src/lib/views/_views.theme.scss +11 -0
  512. package/src/lib/views/cube/_sum.theme.scss +59 -0
  513. package/src/lib/views/cube/chart.component.html +18 -0
  514. package/src/lib/views/cube/chart.component.ts +86 -0
  515. package/src/lib/views/cube/cube-base.ts +126 -0
  516. package/src/lib/views/cube/explore.component.html +33 -0
  517. package/src/lib/views/cube/explore.component.ts +77 -0
  518. package/src/lib/views/cube/matrix.component.html +42 -0
  519. package/src/lib/views/cube/matrix.component.ts +116 -0
  520. package/src/lib/views/cube/parallel.component.html +17 -0
  521. package/src/lib/views/cube/parallel.component.scss +13 -0
  522. package/src/lib/views/cube/parallel.component.ts +209 -0
  523. package/src/lib/views/cube/pivot.component.html +5 -0
  524. package/src/lib/views/cube/pivot.component.ts +60 -0
  525. package/src/lib/views/cube/sum.component.html +86 -0
  526. package/src/lib/views/cube/sum.component.scss +94 -0
  527. package/src/lib/views/cube/sum.component.ts +433 -0
  528. package/src/lib/views/cube/view.component.html +34 -0
  529. package/src/lib/views/cube/view.component.scss +12 -0
  530. package/src/lib/views/cube/view.component.ts +102 -0
  531. package/src/lib/views/document-view-ref.ts +34 -0
  532. package/src/lib/views/timeline/timeline.component.exp.ts +333 -0
  533. package/src/lib/views/timeline/timeline.component.html +6 -0
  534. package/src/lib/views/timeline/timeline.component.scss +6 -0
  535. package/src/lib/views/view-item.component.ts +67 -0
  536. package/src/lib/views/views.component.html +4 -0
  537. package/src/lib/views/views.component.scss +35 -0
  538. package/src/lib/views/views.component.ts +23 -0
  539. package/src/lib/views/views.mobile.component.ts +21 -0
  540. package/src/lib/views/views.pane.component.ts +31 -0
  541. package/src/polyfills.ts +81 -0
  542. package/src/public-api.ts +137 -0
  543. package/src/styles/_app.scss +315 -0
  544. package/src/styles/_emoji-mart.scss +504 -0
  545. package/src/styles/_syncfusion-base-definitions.scss +64 -0
  546. package/src/styles/_syncfusion-dark-definitions.scss +23 -0
  547. package/src/styles/_syncfusion-icons.scss +57 -0
  548. package/src/styles/_syncfusion-light-definitions.scss +23 -0
  549. package/src/styles/_syncfusion.scss +22 -0
  550. package/src/styles/brown.css +25532 -0
  551. package/src/styles/brown.css.map +1 -0
  552. package/src/styles/brown.min.css +83 -0
  553. package/src/styles/brown.scss +14 -0
  554. package/src/styles/build.ps1 +21 -0
  555. package/src/styles/dark.css +25582 -0
  556. package/src/styles/dark.css.map +1 -0
  557. package/src/styles/dark.min.css +78 -0
  558. package/src/styles/dark.scss +26 -0
  559. package/src/styles/default.css +30068 -0
  560. package/src/styles/default.css.map +1 -0
  561. package/src/styles/default.min.css +90 -0
  562. package/src/styles/default.scss +30 -0
  563. package/src/styles/diagram-icons.eot +0 -0
  564. package/src/styles/diagram-icons.ttf +0 -0
  565. package/src/styles/green.css +25532 -0
  566. package/src/styles/green.css.map +1 -0
  567. package/src/styles/green.min.css +83 -0
  568. package/src/styles/green.scss +14 -0
  569. package/src/styles/indigo.css +25532 -0
  570. package/src/styles/indigo.css.map +1 -0
  571. package/src/styles/indigo.min.css +83 -0
  572. package/src/styles/indigo.scss +15 -0
  573. package/src/test.ts +26 -0
  574. package/tsconfig.lib.json +25 -0
  575. package/tsconfig.lib.prod.json +10 -0
  576. package/tsconfig.spec.json +18 -0
  577. package/bizdoc-core.d.ts +0 -5
  578. package/bundles/bizdoc-core.umd.js +0 -29844
  579. package/bundles/bizdoc-core.umd.js.map +0 -1
  580. package/esm2015/bizdoc-core.js +0 -5
  581. package/esm2015/lib/admin/admin-dismiss.service.js +0 -22
  582. package/esm2015/lib/admin/admin-menu.component.js +0 -30
  583. package/esm2015/lib/admin/core/ace.input.js +0 -147
  584. package/esm2015/lib/admin/core/color-picker.input.js +0 -214
  585. package/esm2015/lib/admin/core/search.input.js +0 -43
  586. package/esm2015/lib/admin/diff/configuration-diff.component.js +0 -559
  587. package/esm2015/lib/admin/document-trace/Timeline.js +0 -2
  588. package/esm2015/lib/admin/document-trace/document-trace.component.js +0 -464
  589. package/esm2015/lib/admin/document-trace/reassign.dialog.js +0 -42
  590. package/esm2015/lib/admin/document-trace/trace-element.component.js +0 -113
  591. package/esm2015/lib/admin/form/form.resolve.service.js +0 -17
  592. package/esm2015/lib/admin/form/form.service.js +0 -26
  593. package/esm2015/lib/admin/form/workflow/node-ref.js +0 -8
  594. package/esm2015/lib/admin/form/workflow/node.component.js +0 -130
  595. package/esm2015/lib/admin/form/workflow/role-node.component.js +0 -91
  596. package/esm2015/lib/admin/form/workflow/workflow.component.js +0 -403
  597. package/esm2015/lib/admin/indices/manage-cube-index.component.js +0 -164
  598. package/esm2015/lib/admin/patterns/patterns.component.js +0 -181
  599. package/esm2015/lib/admin/permissions/permissions.component.js +0 -100
  600. package/esm2015/lib/admin/positions/positions-popup.component.js +0 -77
  601. package/esm2015/lib/admin/positions/positions.component.js +0 -285
  602. package/esm2015/lib/admin/profiler/profiler.component.js +0 -263
  603. package/esm2015/lib/admin/utility-ref.js +0 -38
  604. package/esm2015/lib/admin/utility-wrapper.component.js +0 -51
  605. package/esm2015/lib/admin/utility.pane.component.js +0 -51
  606. package/esm2015/lib/app.component.js +0 -89
  607. package/esm2015/lib/bizdoc.module.js +0 -109
  608. package/esm2015/lib/browse/browse-items.component.js +0 -448
  609. package/esm2015/lib/browse/browse.mobile.component.js +0 -103
  610. package/esm2015/lib/browse/browse.pane.component.js +0 -148
  611. package/esm2015/lib/browse/expanded-item/expanded-item.component.js +0 -281
  612. package/esm2015/lib/browse/filter/filter.component.js +0 -152
  613. package/esm2015/lib/browse/folders-menu.component.js +0 -56
  614. package/esm2015/lib/chart.module.js +0 -35
  615. package/esm2015/lib/chat/chat-info.js +0 -67
  616. package/esm2015/lib/chat/chat.mobile.component.js +0 -30
  617. package/esm2015/lib/chat/chat.service.js +0 -122
  618. package/esm2015/lib/chat/contacts.component.js +0 -106
  619. package/esm2015/lib/chat/contacts.pane.component.js +0 -29
  620. package/esm2015/lib/chat/conversation.component.js +0 -195
  621. package/esm2015/lib/chat/conversation.pane.component.js +0 -43
  622. package/esm2015/lib/circular-gauge.module.js +0 -17
  623. package/esm2015/lib/compose/action/action-picker.component.js +0 -115
  624. package/esm2015/lib/compose/action/action-ref.js +0 -19
  625. package/esm2015/lib/compose/action/action.dialog.js +0 -64
  626. package/esm2015/lib/compose/action/action.pane.dialog.js +0 -64
  627. package/esm2015/lib/compose/action/assign-action.component.js +0 -58
  628. package/esm2015/lib/compose/action/return-action.component.js +0 -48
  629. package/esm2015/lib/compose/attachments/attachments.component.js +0 -125
  630. package/esm2015/lib/compose/attachments/preview/attachment-preview.component.js +0 -164
  631. package/esm2015/lib/compose/attachments/progress-button.directive.js +0 -25
  632. package/esm2015/lib/compose/can-deactivate-changes.service.js +0 -27
  633. package/esm2015/lib/compose/comments/Comments.pane.component.js +0 -49
  634. package/esm2015/lib/compose/comments/comment.component.js +0 -189
  635. package/esm2015/lib/compose/comments/comments.component.js +0 -232
  636. package/esm2015/lib/compose/comments/edit-comment.component.js +0 -35
  637. package/esm2015/lib/compose/comments/edits.component.js +0 -34
  638. package/esm2015/lib/compose/comments/quick-comment.component.exp.js +0 -67
  639. package/esm2015/lib/compose/comments/votes.component.js +0 -45
  640. package/esm2015/lib/compose/compose-resolve.service.js +0 -55
  641. package/esm2015/lib/compose/compose.mobile.component.js +0 -100
  642. package/esm2015/lib/compose/compose.pane.component.js +0 -201
  643. package/esm2015/lib/compose/copy/copy.dialog.js +0 -49
  644. package/esm2015/lib/compose/dismiss.service.js +0 -25
  645. package/esm2015/lib/compose/document-resolver.service.js +0 -17
  646. package/esm2015/lib/compose/document.component.js +0 -50
  647. package/esm2015/lib/compose/document.mobile.component.js +0 -22
  648. package/esm2015/lib/compose/document.pane.component.js +0 -26
  649. package/esm2015/lib/compose/events/events.component.js +0 -33
  650. package/esm2015/lib/compose/form-ref.js +0 -47
  651. package/esm2015/lib/compose/form-selector/form-selector.sheet.js +0 -85
  652. package/esm2015/lib/compose/form.component.js +0 -412
  653. package/esm2015/lib/compose/new-menu.component.js +0 -109
  654. package/esm2015/lib/compose/privilage.directive.js +0 -64
  655. package/esm2015/lib/compose/recipient-resolver.service.js +0 -18
  656. package/esm2015/lib/compose/save-changes.dialog.js +0 -18
  657. package/esm2015/lib/compose/state.component.js +0 -37
  658. package/esm2015/lib/compose/tag/tags.component.js +0 -94
  659. package/esm2015/lib/compose/trace/flow.component.js +0 -604
  660. package/esm2015/lib/compose/trace/people.component.js +0 -34
  661. package/esm2015/lib/compose/trace/trace.base.js +0 -70
  662. package/esm2015/lib/compose/trace/trace.component.js +0 -259
  663. package/esm2015/lib/compose/trace/trace.pane.component.js +0 -52
  664. package/esm2015/lib/compose/version-compare/version-compare.component.js +0 -55
  665. package/esm2015/lib/compose/version-compare/version-compare.directive.js +0 -344
  666. package/esm2015/lib/compose/version-compare/version.pane.component.js +0 -56
  667. package/esm2015/lib/core/NgComponentOutlet.js +0 -38
  668. package/esm2015/lib/core/account.service.js +0 -34
  669. package/esm2015/lib/core/animated-icon/animated-icon.directive.js +0 -17
  670. package/esm2015/lib/core/animations.js +0 -150
  671. package/esm2015/lib/core/authentication.js +0 -3
  672. package/esm2015/lib/core/avatar/avatar.component.js +0 -106
  673. package/esm2015/lib/core/base.js +0 -2
  674. package/esm2015/lib/core/colors.js +0 -322
  675. package/esm2015/lib/core/component-factory-resolver.js +0 -57
  676. package/esm2015/lib/core/configuration.js +0 -16
  677. package/esm2015/lib/core/controls/address.input.js +0 -189
  678. package/esm2015/lib/core/controls/auto-complete.input.js +0 -256
  679. package/esm2015/lib/core/controls/combination-picker-body.js +0 -172
  680. package/esm2015/lib/core/controls/combination-picker.js +0 -283
  681. package/esm2015/lib/core/controls/combination-pool.js +0 -113
  682. package/esm2015/lib/core/controls/select.input.js +0 -235
  683. package/esm2015/lib/core/controls/time-picker.js +0 -201
  684. package/esm2015/lib/core/controls/timespan.input.js +0 -207
  685. package/esm2015/lib/core/datasource.service.js +0 -63
  686. package/esm2015/lib/core/decorators.js +0 -46
  687. package/esm2015/lib/core/firebase.service.js +0 -53
  688. package/esm2015/lib/core/functions.js +0 -190
  689. package/esm2015/lib/core/guide/guide.component.js +0 -222
  690. package/esm2015/lib/core/guide/guide.service.js +0 -107
  691. package/esm2015/lib/core/http.interceptor.js +0 -79
  692. package/esm2015/lib/core/hub.service.js +0 -110
  693. package/esm2015/lib/core/identity/identity.component.js +0 -70
  694. package/esm2015/lib/core/info/attachment-info.service.js +0 -53
  695. package/esm2015/lib/core/info/document-info.service.js +0 -21
  696. package/esm2015/lib/core/info/location-info.component.js +0 -66
  697. package/esm2015/lib/core/info/map-info.js +0 -40
  698. package/esm2015/lib/core/layout/autocomplete.field.js +0 -60
  699. package/esm2015/lib/core/layout/checkbox.field.js +0 -41
  700. package/esm2015/lib/core/layout/date-range.field.js +0 -53
  701. package/esm2015/lib/core/layout/date.field.js +0 -52
  702. package/esm2015/lib/core/layout/expression.field.js +0 -51
  703. package/esm2015/lib/core/layout/html.field.js +0 -48
  704. package/esm2015/lib/core/layout/input.base.js +0 -11
  705. package/esm2015/lib/core/layout/input.field.js +0 -64
  706. package/esm2015/lib/core/layout/layout.component.js +0 -186
  707. package/esm2015/lib/core/layout/numeric.field.js +0 -47
  708. package/esm2015/lib/core/layout/select.field.js +0 -82
  709. package/esm2015/lib/core/layout/switch.field.js +0 -41
  710. package/esm2015/lib/core/layout/textarea.field.js +0 -42
  711. package/esm2015/lib/core/layout/timespan.field.js +0 -50
  712. package/esm2015/lib/core/lottie-animation.js +0 -46
  713. package/esm2015/lib/core/mailbox.service.js +0 -265
  714. package/esm2015/lib/core/models.js +0 -38
  715. package/esm2015/lib/core/none.component.js +0 -45
  716. package/esm2015/lib/core/pipes/action.pipe.js +0 -25
  717. package/esm2015/lib/core/pipes/daterange.pipe.js +0 -62
  718. package/esm2015/lib/core/pipes/duration.pipe.js +0 -47
  719. package/esm2015/lib/core/pipes/form.pipe.js +0 -25
  720. package/esm2015/lib/core/pipes/join.pipe.js +0 -18
  721. package/esm2015/lib/core/pipes/role.pipe.js +0 -25
  722. package/esm2015/lib/core/pipes/sanitize-html.pipe.js +0 -18
  723. package/esm2015/lib/core/pipes/sort.pipe.js +0 -48
  724. package/esm2015/lib/core/pipes/state.pipe.js +0 -25
  725. package/esm2015/lib/core/pipes/translate.pipe.js +0 -23
  726. package/esm2015/lib/core/pipes/type-value.pipe.js +0 -42
  727. package/esm2015/lib/core/pipes/user-name.pipe.js +0 -21
  728. package/esm2015/lib/core/popup/popup-ref.js +0 -20
  729. package/esm2015/lib/core/popup/popup.component.js +0 -40
  730. package/esm2015/lib/core/popup/popup.service.js +0 -155
  731. package/esm2015/lib/core/popup/tooltip.directive.js +0 -71
  732. package/esm2015/lib/core/prompt/ask/ask.dialog.js +0 -32
  733. package/esm2015/lib/core/prompt/mask/mask.component.js +0 -25
  734. package/esm2015/lib/core/prompt.service.js +0 -84
  735. package/esm2015/lib/core/router.js +0 -35
  736. package/esm2015/lib/core/session.service.js +0 -233
  737. package/esm2015/lib/core/slots/pane-ref.js +0 -117
  738. package/esm2015/lib/core/slots/router.directive.js +0 -70
  739. package/esm2015/lib/core/slots/router.service.js +0 -42
  740. package/esm2015/lib/core/slots/slots.component.js +0 -1047
  741. package/esm2015/lib/core/tagging/documents.component.js +0 -28
  742. package/esm2015/lib/core/tagging/edit-input.component.js +0 -236
  743. package/esm2015/lib/core/tagging/emoji.component.js +0 -35
  744. package/esm2015/lib/core/tagging/tagging-item.directive.js +0 -39
  745. package/esm2015/lib/core/tagging/tagging.component-base.js +0 -29
  746. package/esm2015/lib/core/tagging/tagging.directive.js +0 -136
  747. package/esm2015/lib/core/tagging/tagging.pipe.js +0 -72
  748. package/esm2015/lib/core/tagging/users.component.js +0 -35
  749. package/esm2015/lib/core/translate.service.js +0 -1214
  750. package/esm2015/lib/core/window-title.service.js +0 -53
  751. package/esm2015/lib/cube/accum/accum.component.js +0 -190
  752. package/esm2015/lib/cube/chart/chart.component.js +0 -261
  753. package/esm2015/lib/cube/cube-info.service.js +0 -100
  754. package/esm2015/lib/cube/cube-menu.component.js +0 -31
  755. package/esm2015/lib/cube/cube-view.component.js +0 -173
  756. package/esm2015/lib/cube/cube.service.js +0 -343
  757. package/esm2015/lib/cube/declarations.js +0 -2
  758. package/esm2015/lib/cube/explore/document-item.component.js +0 -38
  759. package/esm2015/lib/cube/explore/explore-item.component.js +0 -31
  760. package/esm2015/lib/cube/explore/explore-items.component.js +0 -150
  761. package/esm2015/lib/cube/explore/explore.pane.component.js +0 -75
  762. package/esm2015/lib/cube/explore/item-resolver.service.js +0 -32
  763. package/esm2015/lib/cube/explore/item.pane.component.js +0 -26
  764. package/esm2015/lib/cube/filter/filter-tags.component.exp.js +0 -68
  765. package/esm2015/lib/cube/filter/filter.component.js +0 -122
  766. package/esm2015/lib/cube/grid/grid.component.js +0 -219
  767. package/esm2015/lib/cube/grid/spreadsheet.component.js +0 -255
  768. package/esm2015/lib/cube/matrix/matrix.base.js +0 -130
  769. package/esm2015/lib/cube/matrix/matrix.component.js +0 -69
  770. package/esm2015/lib/cube/matrix/matrix.mobile.component.js +0 -63
  771. package/esm2015/lib/cube/matrix/matrix.pane.component.js +0 -71
  772. package/esm2015/lib/cube/matrix/table.component.js +0 -310
  773. package/esm2015/lib/cube/pivot/pivot.component.js +0 -407
  774. package/esm2015/lib/cube/view-base.js +0 -76
  775. package/esm2015/lib/cube/view.mobile.component.js +0 -127
  776. package/esm2015/lib/cube/view.pane.component.js +0 -86
  777. package/esm2015/lib/dashboard/actions/actions.widget.js +0 -126
  778. package/esm2015/lib/dashboard/cube/accum-cube.widget.js +0 -146
  779. package/esm2015/lib/dashboard/cube/cube-analysis.base.js +0 -90
  780. package/esm2015/lib/dashboard/cube/cube-analysis.widget.js +0 -51
  781. package/esm2015/lib/dashboard/cube/cube-chart.widget.js +0 -144
  782. package/esm2015/lib/dashboard/cube/documents.widget.js +0 -68
  783. package/esm2015/lib/dashboard/cube/filter/filter.component.js +0 -57
  784. package/esm2015/lib/dashboard/dashboard.component.js +0 -52
  785. package/esm2015/lib/dashboard/dashboard.pane.component.js +0 -24
  786. package/esm2015/lib/dashboard/recents/recents.widget.js +0 -86
  787. package/esm2015/lib/dashboard/score/activity.widget.js +0 -165
  788. package/esm2015/lib/dashboard/score/compare-departments.widget.js +0 -198
  789. package/esm2015/lib/dashboard/score/peers-performance.widget.js +0 -253
  790. package/esm2015/lib/dashboard/score/pending-results.widget.js +0 -69
  791. package/esm2015/lib/dashboard/score/personal-score.widget.js +0 -219
  792. package/esm2015/lib/dashboard/widget-item.component.js +0 -89
  793. package/esm2015/lib/dashboard/widget-ref.js +0 -18
  794. package/esm2015/lib/desktop.module.js +0 -142
  795. package/esm2015/lib/diagram.module.js +0 -34
  796. package/esm2015/lib/grid.module.js +0 -23
  797. package/esm2015/lib/home/about/about.dialog.js +0 -29
  798. package/esm2015/lib/home/home-base.component.js +0 -86
  799. package/esm2015/lib/home/home.desktop.component.js +0 -201
  800. package/esm2015/lib/home/home.mobile.component.js +0 -120
  801. package/esm2015/lib/home/notifications/notifications.component.js +0 -70
  802. package/esm2015/lib/home/options/options.component.js +0 -98
  803. package/esm2015/lib/home/outofoffice/outofoffice.component.js +0 -42
  804. package/esm2015/lib/home/search.service.js +0 -63
  805. package/esm2015/lib/home/sign/sign.component.js +0 -56
  806. package/esm2015/lib/home/tools.component.js +0 -87
  807. package/esm2015/lib/impersonate/impersonate.component.js +0 -69
  808. package/esm2015/lib/linear-gauge.module.js +0 -17
  809. package/esm2015/lib/material.module.js +0 -182
  810. package/esm2015/lib/mobile.module.js +0 -63
  811. package/esm2015/lib/notifications/commented.notification.js +0 -53
  812. package/esm2015/lib/notifications/cube-anomaly.notification.js +0 -58
  813. package/esm2015/lib/notifications/escalated.notification.js +0 -33
  814. package/esm2015/lib/notifications/filter.component.js +0 -28
  815. package/esm2015/lib/notifications/liked.notification.js +0 -50
  816. package/esm2015/lib/notifications/long-running-task.notification.js +0 -31
  817. package/esm2015/lib/notifications/notification-base.js +0 -40
  818. package/esm2015/lib/notifications/notifications-table.component.js +0 -110
  819. package/esm2015/lib/notifications/notifications.component-base.js +0 -47
  820. package/esm2015/lib/notifications/notifications.mobile.component.js +0 -20
  821. package/esm2015/lib/notifications/notifications.pane.component.js +0 -23
  822. package/esm2015/lib/notifications/notifications.service.js +0 -71
  823. package/esm2015/lib/notifications/nudge.notification.js +0 -31
  824. package/esm2015/lib/notifications/state-changed.notification.js +0 -30
  825. package/esm2015/lib/notifications/tagged.notification.js +0 -43
  826. package/esm2015/lib/notifications/text.notification.js +0 -20
  827. package/esm2015/lib/notifications/upcoming-event.notification.js +0 -36
  828. package/esm2015/lib/options/options.component.js +0 -231
  829. package/esm2015/lib/options/options.service.js +0 -38
  830. package/esm2015/lib/pivot.module.js +0 -24
  831. package/esm2015/lib/reports/arguments-component.js +0 -83
  832. package/esm2015/lib/reports/cube/grid-documents.component.js +0 -82
  833. package/esm2015/lib/reports/cube/table-documents.component.js +0 -68
  834. package/esm2015/lib/reports/cube/usage-args.component.js +0 -65
  835. package/esm2015/lib/reports/cube/usage-base.js +0 -82
  836. package/esm2015/lib/reports/cube/usage-chart.component.js +0 -294
  837. package/esm2015/lib/reports/cube/usage-pivot.component.js +0 -243
  838. package/esm2015/lib/reports/report-ref.js +0 -31
  839. package/esm2015/lib/reports/report-viewer.component.js +0 -132
  840. package/esm2015/lib/reports/report.mobile.component.js +0 -124
  841. package/esm2015/lib/reports/report.pane.component.js +0 -93
  842. package/esm2015/lib/reports/reports-menu.component.js +0 -30
  843. package/esm2015/lib/reports/substitution/substitution.component.js +0 -43
  844. package/esm2015/lib/reports/table/table-view.component.js +0 -46
  845. package/esm2015/lib/reports/tasks/tasks.component.js +0 -97
  846. package/esm2015/lib/routes.desktop.js +0 -192
  847. package/esm2015/lib/routes.mobile.js +0 -69
  848. package/esm2015/lib/schedule.module.js +0 -21
  849. package/esm2015/lib/scheduler/schedule.component.js +0 -173
  850. package/esm2015/lib/scheduler/scheduler.mobile.component.js +0 -37
  851. package/esm2015/lib/scheduler/scheduler.pane.component.js +0 -53
  852. package/esm2015/lib/shared.module.js +0 -497
  853. package/esm2015/lib/spreadsheet.module.js +0 -28
  854. package/esm2015/lib/system.module.js +0 -114
  855. package/esm2015/lib/views/cube/chart.component.js +0 -76
  856. package/esm2015/lib/views/cube/cube-base.js +0 -98
  857. package/esm2015/lib/views/cube/explore.component.js +0 -87
  858. package/esm2015/lib/views/cube/matrix.component.js +0 -107
  859. package/esm2015/lib/views/cube/parallel.component.js +0 -201
  860. package/esm2015/lib/views/cube/pivot.component.js +0 -58
  861. package/esm2015/lib/views/cube/sum.component.js +0 -435
  862. package/esm2015/lib/views/cube/view.component.js +0 -103
  863. package/esm2015/lib/views/document-view-ref.js +0 -26
  864. package/esm2015/lib/views/timeline/timeline.component.exp.js +0 -319
  865. package/esm2015/lib/views/view-item.component.js +0 -70
  866. package/esm2015/lib/views/views.component.js +0 -29
  867. package/esm2015/lib/views/views.mobile.component.js +0 -24
  868. package/esm2015/lib/views/views.pane.component.js +0 -31
  869. package/esm2015/public-api.js +0 -132
  870. package/fesm2015/bizdoc-core.js +0 -27488
  871. package/fesm2015/bizdoc-core.js.map +0 -1
  872. package/lib/admin/admin-dismiss.service.d.ts +0 -14
  873. package/lib/admin/admin-menu.component.d.ts +0 -12
  874. package/lib/admin/core/ace.input.d.ts +0 -52
  875. package/lib/admin/core/color-picker.input.d.ts +0 -64
  876. package/lib/admin/core/search.input.d.ts +0 -13
  877. package/lib/admin/diff/configuration-diff.component.d.ts +0 -115
  878. package/lib/admin/document-trace/Timeline.d.ts +0 -37
  879. package/lib/admin/document-trace/document-trace.component.d.ts +0 -83
  880. package/lib/admin/document-trace/reassign.dialog.d.ts +0 -22
  881. package/lib/admin/document-trace/trace-element.component.d.ts +0 -38
  882. package/lib/admin/form/form.resolve.service.d.ts +0 -12
  883. package/lib/admin/form/form.service.d.ts +0 -13
  884. package/lib/admin/form/workflow/node-ref.d.ts +0 -7
  885. package/lib/admin/form/workflow/node.component.d.ts +0 -37
  886. package/lib/admin/form/workflow/role-node.component.d.ts +0 -22
  887. package/lib/admin/form/workflow/workflow.component.d.ts +0 -73
  888. package/lib/admin/indices/manage-cube-index.component.d.ts +0 -54
  889. package/lib/admin/patterns/patterns.component.d.ts +0 -79
  890. package/lib/admin/permissions/permissions.component.d.ts +0 -45
  891. package/lib/admin/positions/positions-popup.component.d.ts +0 -39
  892. package/lib/admin/positions/positions.component.d.ts +0 -105
  893. package/lib/admin/profiler/profiler.component.d.ts +0 -108
  894. package/lib/admin/utility-ref.d.ts +0 -19
  895. package/lib/admin/utility-wrapper.component.d.ts +0 -28
  896. package/lib/admin/utility.pane.component.d.ts +0 -24
  897. package/lib/app.component.d.ts +0 -22
  898. package/lib/bizdoc.module.d.ts +0 -19
  899. package/lib/browse/browse-items.component.d.ts +0 -102
  900. package/lib/browse/browse.mobile.component.d.ts +0 -38
  901. package/lib/browse/browse.pane.component.d.ts +0 -47
  902. package/lib/browse/expanded-item/expanded-item.component.d.ts +0 -66
  903. package/lib/browse/filter/filter.component.d.ts +0 -69
  904. package/lib/browse/folders-menu.component.d.ts +0 -22
  905. package/lib/chart.module.d.ts +0 -7
  906. package/lib/chat/chat-info.d.ts +0 -36
  907. package/lib/chat/chat.mobile.component.d.ts +0 -10
  908. package/lib/chat/chat.service.d.ts +0 -38
  909. package/lib/chat/contacts.component.d.ts +0 -38
  910. package/lib/chat/contacts.pane.component.d.ts +0 -12
  911. package/lib/chat/conversation.component.d.ts +0 -56
  912. package/lib/chat/conversation.pane.component.d.ts +0 -15
  913. package/lib/circular-gauge.module.d.ts +0 -7
  914. package/lib/compose/action/action-picker.component.d.ts +0 -25
  915. package/lib/compose/action/action-ref.d.ts +0 -10
  916. package/lib/compose/action/action.dialog.d.ts +0 -29
  917. package/lib/compose/action/action.pane.dialog.d.ts +0 -26
  918. package/lib/compose/action/assign-action.component.d.ts +0 -22
  919. package/lib/compose/action/return-action.component.d.ts +0 -15
  920. package/lib/compose/attachments/attachments.component.d.ts +0 -35
  921. package/lib/compose/attachments/preview/attachment-preview.component.d.ts +0 -48
  922. package/lib/compose/attachments/progress-button.directive.d.ts +0 -12
  923. package/lib/compose/can-deactivate-changes.service.d.ts +0 -12
  924. package/lib/compose/comments/Comments.pane.component.d.ts +0 -18
  925. package/lib/compose/comments/comment.component.d.ts +0 -51
  926. package/lib/compose/comments/comments.component.d.ts +0 -66
  927. package/lib/compose/comments/edit-comment.component.d.ts +0 -25
  928. package/lib/compose/comments/edits.component.d.ts +0 -26
  929. package/lib/compose/comments/quick-comment.component.exp.d.ts +0 -28
  930. package/lib/compose/comments/votes.component.d.ts +0 -22
  931. package/lib/compose/compose-resolve.service.d.ts +0 -27
  932. package/lib/compose/compose.mobile.component.d.ts +0 -40
  933. package/lib/compose/compose.pane.component.d.ts +0 -54
  934. package/lib/compose/copy/copy.dialog.d.ts +0 -23
  935. package/lib/compose/dismiss.service.d.ts +0 -12
  936. package/lib/compose/document-resolver.service.d.ts +0 -12
  937. package/lib/compose/document.component.d.ts +0 -20
  938. package/lib/compose/document.mobile.component.d.ts +0 -10
  939. package/lib/compose/document.pane.component.d.ts +0 -12
  940. package/lib/compose/events/events.component.d.ts +0 -13
  941. package/lib/compose/form-ref.d.ts +0 -32
  942. package/lib/compose/form-selector/form-selector.sheet.d.ts +0 -28
  943. package/lib/compose/form.component.d.ts +0 -92
  944. package/lib/compose/new-menu.component.d.ts +0 -36
  945. package/lib/compose/privilage.directive.d.ts +0 -26
  946. package/lib/compose/recipient-resolver.service.d.ts +0 -12
  947. package/lib/compose/save-changes.dialog.d.ts +0 -7
  948. package/lib/compose/state.component.d.ts +0 -12
  949. package/lib/compose/tag/tags.component.d.ts +0 -36
  950. package/lib/compose/trace/flow.component.d.ts +0 -64
  951. package/lib/compose/trace/people.component.d.ts +0 -18
  952. package/lib/compose/trace/trace.base.d.ts +0 -25
  953. package/lib/compose/trace/trace.component.d.ts +0 -73
  954. package/lib/compose/trace/trace.pane.component.d.ts +0 -20
  955. package/lib/compose/version-compare/version-compare.component.d.ts +0 -26
  956. package/lib/compose/version-compare/version-compare.directive.d.ts +0 -89
  957. package/lib/compose/version-compare/version.pane.component.d.ts +0 -21
  958. package/lib/core/NgComponentOutlet.d.ts +0 -15
  959. package/lib/core/account.service.d.ts +0 -18
  960. package/lib/core/animated-icon/animated-icon.directive.d.ts +0 -7
  961. package/lib/core/animations.d.ts +0 -25
  962. package/lib/core/authentication.d.ts +0 -6
  963. package/lib/core/avatar/avatar.component.d.ts +0 -34
  964. package/lib/core/base.d.ts +0 -27
  965. package/lib/core/colors.d.ts +0 -6
  966. package/lib/core/component-factory-resolver.d.ts +0 -12
  967. package/lib/core/configuration.d.ts +0 -90
  968. package/lib/core/controls/address.input.d.ts +0 -62
  969. package/lib/core/controls/auto-complete.input.d.ts +0 -86
  970. package/lib/core/controls/combination-picker-body.d.ts +0 -114
  971. package/lib/core/controls/combination-picker.d.ts +0 -82
  972. package/lib/core/controls/combination-pool.d.ts +0 -42
  973. package/lib/core/controls/select.input.d.ts +0 -82
  974. package/lib/core/controls/time-picker.d.ts +0 -52
  975. package/lib/core/controls/timespan.input.d.ts +0 -55
  976. package/lib/core/datasource.service.d.ts +0 -43
  977. package/lib/core/decorators.d.ts +0 -17
  978. package/lib/core/firebase.service.d.ts +0 -17
  979. package/lib/core/functions.d.ts +0 -42
  980. package/lib/core/guide/guide.component.d.ts +0 -31
  981. package/lib/core/guide/guide.service.d.ts +0 -32
  982. package/lib/core/http.interceptor.d.ts +0 -21
  983. package/lib/core/hub.service.d.ts +0 -128
  984. package/lib/core/identity/identity.component.d.ts +0 -29
  985. package/lib/core/info/attachment-info.service.d.ts +0 -18
  986. package/lib/core/info/document-info.service.d.ts +0 -13
  987. package/lib/core/info/location-info.component.d.ts +0 -28
  988. package/lib/core/info/map-info.d.ts +0 -15
  989. package/lib/core/layout/autocomplete.field.d.ts +0 -21
  990. package/lib/core/layout/checkbox.field.d.ts +0 -11
  991. package/lib/core/layout/date-range.field.d.ts +0 -13
  992. package/lib/core/layout/date.field.d.ts +0 -11
  993. package/lib/core/layout/expression.field.d.ts +0 -12
  994. package/lib/core/layout/html.field.d.ts +0 -12
  995. package/lib/core/layout/input.base.d.ts +0 -10
  996. package/lib/core/layout/input.field.d.ts +0 -14
  997. package/lib/core/layout/layout.component.d.ts +0 -34
  998. package/lib/core/layout/numeric.field.d.ts +0 -11
  999. package/lib/core/layout/select.field.d.ts +0 -22
  1000. package/lib/core/layout/switch.field.d.ts +0 -11
  1001. package/lib/core/layout/textarea.field.d.ts +0 -11
  1002. package/lib/core/layout/timespan.field.d.ts +0 -11
  1003. package/lib/core/lottie-animation.d.ts +0 -14
  1004. package/lib/core/mailbox.service.d.ts +0 -121
  1005. package/lib/core/models.d.ts +0 -635
  1006. package/lib/core/none.component.d.ts +0 -9
  1007. package/lib/core/pipes/action.pipe.d.ts +0 -10
  1008. package/lib/core/pipes/daterange.pipe.d.ts +0 -15
  1009. package/lib/core/pipes/duration.pipe.d.ts +0 -11
  1010. package/lib/core/pipes/form.pipe.d.ts +0 -10
  1011. package/lib/core/pipes/join.pipe.d.ts +0 -10
  1012. package/lib/core/pipes/role.pipe.d.ts +0 -10
  1013. package/lib/core/pipes/sanitize-html.pipe.d.ts +0 -10
  1014. package/lib/core/pipes/sort.pipe.d.ts +0 -12
  1015. package/lib/core/pipes/state.pipe.d.ts +0 -10
  1016. package/lib/core/pipes/translate.pipe.d.ts +0 -10
  1017. package/lib/core/pipes/type-value.pipe.d.ts +0 -15
  1018. package/lib/core/pipes/user-name.pipe.d.ts +0 -11
  1019. package/lib/core/popup/popup-ref.d.ts +0 -14
  1020. package/lib/core/popup/popup.component.d.ts +0 -22
  1021. package/lib/core/popup/popup.service.d.ts +0 -26
  1022. package/lib/core/popup/tooltip.directive.d.ts +0 -27
  1023. package/lib/core/prompt/ask/ask.dialog.d.ts +0 -22
  1024. package/lib/core/prompt/mask/mask.component.d.ts +0 -10
  1025. package/lib/core/prompt.service.d.ts +0 -36
  1026. package/lib/core/router.d.ts +0 -20
  1027. package/lib/core/session.service.d.ts +0 -83
  1028. package/lib/core/slots/pane-ref.d.ts +0 -109
  1029. package/lib/core/slots/router.directive.d.ts +0 -25
  1030. package/lib/core/slots/router.service.d.ts +0 -39
  1031. package/lib/core/slots/slots.component.d.ts +0 -182
  1032. package/lib/core/tagging/documents.component.d.ts +0 -11
  1033. package/lib/core/tagging/edit-input.component.d.ts +0 -65
  1034. package/lib/core/tagging/emoji.component.d.ts +0 -18
  1035. package/lib/core/tagging/tagging-item.directive.d.ts +0 -15
  1036. package/lib/core/tagging/tagging.component-base.d.ts +0 -19
  1037. package/lib/core/tagging/tagging.directive.d.ts +0 -34
  1038. package/lib/core/tagging/tagging.pipe.d.ts +0 -24
  1039. package/lib/core/tagging/users.component.d.ts +0 -15
  1040. package/lib/core/translate.service.d.ts +0 -82
  1041. package/lib/core/window-title.service.d.ts +0 -21
  1042. package/lib/cube/accum/accum.component.d.ts +0 -57
  1043. package/lib/cube/chart/chart.component.d.ts +0 -68
  1044. package/lib/cube/cube-info.service.d.ts +0 -71
  1045. package/lib/cube/cube-menu.component.d.ts +0 -12
  1046. package/lib/cube/cube-view.component.d.ts +0 -30
  1047. package/lib/cube/cube.service.d.ts +0 -244
  1048. package/lib/cube/declarations.d.ts +0 -22
  1049. package/lib/cube/explore/document-item.component.d.ts +0 -16
  1050. package/lib/cube/explore/explore-item.component.d.ts +0 -14
  1051. package/lib/cube/explore/explore-items.component.d.ts +0 -51
  1052. package/lib/cube/explore/explore.pane.component.d.ts +0 -28
  1053. package/lib/cube/explore/item-resolver.service.d.ts +0 -20
  1054. package/lib/cube/explore/item.pane.component.d.ts +0 -13
  1055. package/lib/cube/filter/filter-tags.component.exp.d.ts +0 -27
  1056. package/lib/cube/filter/filter.component.d.ts +0 -43
  1057. package/lib/cube/grid/grid.component.d.ts +0 -58
  1058. package/lib/cube/grid/spreadsheet.component.d.ts +0 -53
  1059. package/lib/cube/matrix/matrix.base.d.ts +0 -75
  1060. package/lib/cube/matrix/matrix.component.d.ts +0 -23
  1061. package/lib/cube/matrix/matrix.mobile.component.d.ts +0 -21
  1062. package/lib/cube/matrix/matrix.pane.component.d.ts +0 -20
  1063. package/lib/cube/matrix/table.component.d.ts +0 -84
  1064. package/lib/cube/pivot/pivot.component.d.ts +0 -98
  1065. package/lib/cube/view-base.d.ts +0 -39
  1066. package/lib/cube/view.mobile.component.d.ts +0 -45
  1067. package/lib/cube/view.pane.component.d.ts +0 -27
  1068. package/lib/dashboard/actions/actions.widget.d.ts +0 -39
  1069. package/lib/dashboard/cube/accum-cube.widget.d.ts +0 -33
  1070. package/lib/dashboard/cube/cube-analysis.base.d.ts +0 -62
  1071. package/lib/dashboard/cube/cube-analysis.widget.d.ts +0 -17
  1072. package/lib/dashboard/cube/cube-chart.widget.d.ts +0 -32
  1073. package/lib/dashboard/cube/documents.widget.d.ts +0 -30
  1074. package/lib/dashboard/cube/filter/filter.component.d.ts +0 -22
  1075. package/lib/dashboard/dashboard.component.d.ts +0 -20
  1076. package/lib/dashboard/dashboard.pane.component.d.ts +0 -8
  1077. package/lib/dashboard/recents/recents.widget.d.ts +0 -34
  1078. package/lib/dashboard/score/activity.widget.d.ts +0 -50
  1079. package/lib/dashboard/score/compare-departments.widget.d.ts +0 -51
  1080. package/lib/dashboard/score/peers-performance.widget.d.ts +0 -65
  1081. package/lib/dashboard/score/pending-results.widget.d.ts +0 -28
  1082. package/lib/dashboard/score/personal-score.widget.d.ts +0 -57
  1083. package/lib/dashboard/widget-item.component.d.ts +0 -31
  1084. package/lib/dashboard/widget-ref.d.ts +0 -11
  1085. package/lib/desktop.module.d.ts +0 -43
  1086. package/lib/diagram.module.d.ts +0 -8
  1087. package/lib/grid.module.d.ts +0 -7
  1088. package/lib/home/about/about.dialog.d.ts +0 -13
  1089. package/lib/home/home-base.component.d.ts +0 -32
  1090. package/lib/home/home.desktop.component.d.ts +0 -55
  1091. package/lib/home/home.mobile.component.d.ts +0 -38
  1092. package/lib/home/notifications/notifications.component.d.ts +0 -28
  1093. package/lib/home/options/options.component.d.ts +0 -44
  1094. package/lib/home/outofoffice/outofoffice.component.d.ts +0 -19
  1095. package/lib/home/search.service.d.ts +0 -21
  1096. package/lib/home/sign/sign.component.d.ts +0 -17
  1097. package/lib/home/tools.component.d.ts +0 -36
  1098. package/lib/impersonate/impersonate.component.d.ts +0 -27
  1099. package/lib/linear-gauge.module.d.ts +0 -7
  1100. package/lib/material.module.d.ts +0 -45
  1101. package/lib/mobile.module.d.ts +0 -26
  1102. package/lib/notifications/commented.notification.d.ts +0 -26
  1103. package/lib/notifications/cube-anomaly.notification.d.ts +0 -28
  1104. package/lib/notifications/escalated.notification.d.ts +0 -26
  1105. package/lib/notifications/filter.component.d.ts +0 -9
  1106. package/lib/notifications/liked.notification.d.ts +0 -25
  1107. package/lib/notifications/long-running-task.notification.d.ts +0 -21
  1108. package/lib/notifications/notification-base.d.ts +0 -20
  1109. package/lib/notifications/notifications-table.component.d.ts +0 -32
  1110. package/lib/notifications/notifications.component-base.d.ts +0 -8
  1111. package/lib/notifications/notifications.mobile.component.d.ts +0 -8
  1112. package/lib/notifications/notifications.pane.component.d.ts +0 -8
  1113. package/lib/notifications/notifications.service.d.ts +0 -24
  1114. package/lib/notifications/nudge.notification.d.ts +0 -22
  1115. package/lib/notifications/state-changed.notification.d.ts +0 -22
  1116. package/lib/notifications/tagged.notification.d.ts +0 -26
  1117. package/lib/notifications/text.notification.d.ts +0 -13
  1118. package/lib/notifications/upcoming-event.notification.d.ts +0 -19
  1119. package/lib/options/options.component.d.ts +0 -67
  1120. package/lib/options/options.service.d.ts +0 -14
  1121. package/lib/pivot.module.d.ts +0 -7
  1122. package/lib/reports/arguments-component.d.ts +0 -27
  1123. package/lib/reports/cube/grid-documents.component.d.ts +0 -45
  1124. package/lib/reports/cube/table-documents.component.d.ts +0 -44
  1125. package/lib/reports/cube/usage-args.component.d.ts +0 -22
  1126. package/lib/reports/cube/usage-base.d.ts +0 -76
  1127. package/lib/reports/cube/usage-chart.component.d.ts +0 -66
  1128. package/lib/reports/cube/usage-pivot.component.d.ts +0 -66
  1129. package/lib/reports/report-ref.d.ts +0 -27
  1130. package/lib/reports/report-viewer.component.d.ts +0 -46
  1131. package/lib/reports/report.mobile.component.d.ts +0 -45
  1132. package/lib/reports/report.pane.component.d.ts +0 -34
  1133. package/lib/reports/reports-menu.component.d.ts +0 -12
  1134. package/lib/reports/substitution/substitution.component.d.ts +0 -23
  1135. package/lib/reports/table/table-view.component.d.ts +0 -19
  1136. package/lib/reports/tasks/tasks.component.d.ts +0 -68
  1137. package/lib/routes.desktop.d.ts +0 -2
  1138. package/lib/routes.mobile.d.ts +0 -2
  1139. package/lib/schedule.module.d.ts +0 -7
  1140. package/lib/scheduler/schedule.component.d.ts +0 -43
  1141. package/lib/scheduler/scheduler.mobile.component.d.ts +0 -14
  1142. package/lib/scheduler/scheduler.pane.component.d.ts +0 -20
  1143. package/lib/shared.module.d.ts +0 -178
  1144. package/lib/spreadsheet.module.d.ts +0 -8
  1145. package/lib/system.module.d.ts +0 -33
  1146. package/lib/views/cube/chart.component.d.ts +0 -38
  1147. package/lib/views/cube/cube-base.d.ts +0 -44
  1148. package/lib/views/cube/explore.component.d.ts +0 -41
  1149. package/lib/views/cube/matrix.component.d.ts +0 -62
  1150. package/lib/views/cube/parallel.component.d.ts +0 -63
  1151. package/lib/views/cube/pivot.component.d.ts +0 -33
  1152. package/lib/views/cube/sum.component.d.ts +0 -78
  1153. package/lib/views/cube/view.component.d.ts +0 -40
  1154. package/lib/views/document-view-ref.d.ts +0 -17
  1155. package/lib/views/timeline/timeline.component.exp.d.ts +0 -66
  1156. package/lib/views/view-item.component.d.ts +0 -28
  1157. package/lib/views/views.component.d.ts +0 -14
  1158. package/lib/views/views.mobile.component.d.ts +0 -14
  1159. package/lib/views/views.pane.component.d.ts +0 -12
  1160. package/public-api.d.ts +0 -134
@@ -0,0 +1,285 @@
1
+ import { Component, OnInit, ViewChild, OnDestroy, TemplateRef, Inject } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
3
+ import { Subject, of, EMPTY } from 'rxjs';
4
+ import { takeUntil, filter, switchMap } from 'rxjs/operators';
5
+ import { FormControl, FormGroup, Validators } from '@angular/forms';
6
+ import { MatSort } from '@angular/material/sort';
7
+ import { MatTableDataSource } from '@angular/material/table';
8
+ import { ENTER } from '@angular/cdk/keycodes';
9
+ import { Role, Type, UserInfo } from '../../core/models';
10
+ import { AdminComponent } from '../admin-dismiss.service';
11
+ import { SessionService } from '../../core/session.service';
12
+ import { DatasourceService } from '../../core/datasource.service';
13
+ import { PromptService } from '../../core/prompt.service';
14
+ import { WindowTitleService } from '../../core/window-title.service';
15
+ import { TranslateService } from '../../core/translate.service';
16
+ import { UtilityComponent } from '../../core/base';
17
+ import { UtilityRef } from '../utility-ref';
18
+ import { BizDoc } from '../../core/decorators';
19
+ import { Popup } from '../../core/popup/popup.service';
20
+ import { PositionsPopup, PositionsData } from './positions-popup.component';
21
+ import { ProgressBarMode } from '@angular/material/progress-bar';
22
+
23
+ @Component({
24
+ templateUrl: './positions.component.html',
25
+ styleUrls: ['./positions.component.scss']
26
+ })
27
+ @BizDoc({ selector: 'bizdoc-positions' })
28
+ /** positions component*/
29
+ export class PositionsComponent implements OnInit, OnDestroy, UtilityComponent<boolean, TypeMap>, AdminComponent {
30
+ dataSource: MatTableDataSource<any>;
31
+ @ViewChild(MatSort) sort: MatSort;
32
+ readonly types: Type[];
33
+ roles: Role[];
34
+ displayedColumns: string[];
35
+ users: UserInfo[];
36
+ type?: Type;
37
+ dirty = false;
38
+ saving = false;
39
+ @ViewChild('noRoleTpl', { static: true }) noRoleTpl: TemplateRef<any>;
40
+ @ViewChild('roleTpl', { static: true }) roleTpl: TemplateRef<any>;
41
+ @ViewChild('patternTpl', { static: true }) patternTpl: TemplateRef<any>;
42
+ @ViewChild('groupTpl', { static: true }) newGroupTpl: TemplateRef<any>;
43
+ source: { key: string; value: any; }[];
44
+ readonly form = new FormGroup({
45
+ });
46
+ readonly role = new FormGroup({
47
+ title: new FormControl(null, Validators.required)
48
+ });
49
+ readonly pattern = new FormGroup({
50
+ title: new FormControl(null, Validators.required),
51
+ expression: new FormControl(null, Validators.required)
52
+ });
53
+ readonly group = new FormGroup({
54
+ title: new FormControl(null, Validators.required),
55
+ items: new FormControl(null, Validators.required)
56
+ });
57
+ private _everything: TypeMap;
58
+ positions: { [role: string]: { [key: string]: string[] } };
59
+ private readonly _destroy = new Subject<void>();
60
+ loading: ProgressBarMode;
61
+ /** positions ctor */
62
+ constructor(private _session: SessionService,
63
+ @Inject(UtilityRef) private _utilityRef: UtilityRef<boolean, TypeMap>,
64
+ private _datasources: DatasourceService,
65
+ private _ps: PromptService,
66
+ title: WindowTitleService,
67
+ translate: TranslateService,
68
+ private _popup: Popup,
69
+ private _dialog: MatDialog) {
70
+ this.types = _session.profile.types.filter(t => t.assignable);
71
+ title.set(translate.get('Roles'));
72
+ }
73
+ ngOnInit(): void {
74
+ this._utilityRef.populate().subscribe(r => {
75
+ this._everything = r;
76
+ const type = this.types.find(t => this._session.profile.roles.findIndex(r => r.dataType === t.name) > -1 && t.assignable);
77
+ type && this.change(type.name);
78
+ });
79
+ }
80
+ search(value: string) {
81
+ this.dataSource.filter = value;
82
+ }
83
+ change(name: string) {
84
+ const type = this.type = this.types.find(t => t.name === name);
85
+ const roles = this.roles = this._session.profile.roles.filter(r => r.dataType === name);
86
+ this.loading = 'query';
87
+ this._datasources.all(type.name).subscribe(t => {
88
+ this.source = t;
89
+ const model = this._everything[type.name];
90
+ let positions = model.positions;
91
+ if (!positions)
92
+ positions = model.positions = {};
93
+ if (!model.groups) model.groups = [];
94
+ if (!model.patterns) model.patterns = [];
95
+ roles.forEach(r => {
96
+ if (!positions[r.name]) positions[r.name] = {};
97
+ });
98
+ this.positions = positions;
99
+ const rows: Model[] = [];
100
+ model.patterns && model.patterns.forEach(p => {
101
+ const row = { type: 'pattern', key: p.name } as Model;
102
+ row[type.columns ? type.columns[0].name : 'value'] = p.title;
103
+ rows.push(row);
104
+ });
105
+ model.groups && model.groups.forEach(g => {
106
+ const row = { type: 'group', key: g.name } as Model;
107
+ row[type.columns ? type.columns[0].name : 'value'] = g.title;
108
+ rows.push(row);
109
+ });
110
+ t.forEach(t => {
111
+ const row = { type: 'key', ...t } as Model;
112
+ type.columns && type.columns.forEach(c => {
113
+ row[c.name] = t.value[c.name];
114
+ });
115
+ rows.push(row);
116
+ });
117
+
118
+ this.dataSource = new MatTableDataSource(rows);
119
+ this.dataSource.sort = this.sort;
120
+ this._columns();
121
+ !roles.length &&
122
+ this._dialog.open(this.noRoleTpl).afterClosed().subscribe(ok =>
123
+ ok && this.newRole());
124
+ this.loading = null;
125
+ }, () => {
126
+ this.loading = null;
127
+ this._ps.error();
128
+ });
129
+ }
130
+ private _columns() {
131
+ this.displayedColumns = (this.type.columns ? this.type.columns.map(c => c.name) : ['key', 'value']).concat(
132
+ this.roles.map(r => r.name)).concat(['options']);
133
+ }
134
+ /**
135
+ *
136
+ * @param key
137
+ * @param evt
138
+ */
139
+ edit(key: any, evt: MouseEvent) {
140
+ if ((evt.target as HTMLElement).tagName === 'MAT-ICON') return;
141
+
142
+ let cell = evt.srcElement as HTMLElement;
143
+ while (cell.tagName !== 'TD')
144
+ cell = cell.parentElement;
145
+
146
+ const role = cell.getAttribute('data-role');
147
+
148
+ if (!role) return;
149
+
150
+ const crole = this.roles.find(r => r.name === role);
151
+
152
+ let positions = this.positions[role][key];
153
+
154
+ if (!positions) positions = this.positions[role][key] = [];
155
+
156
+ this._popup.open(PositionsPopup, evt.srcElement as HTMLElement, {
157
+ data: { title: crole.title, positions } as PositionsData
158
+ }).opened.subscribe(e => e.valueChange.pipe(takeUntil(this._destroy)).subscribe(() => this.dirty = true));
159
+ }
160
+ private _openDialog(tmpl: TemplateRef<any>, form: FormGroup, values: any) {
161
+ form.reset(values);
162
+ const dialogRef = this._dialog.open(tmpl);
163
+ dialogRef.keydownEvents().pipe(filter(k => k.keyCode === ENTER), takeUntil(dialogRef.afterClosed())).
164
+ subscribe(() => form.valid && dialogRef.close(form.value));
165
+ return dialogRef.afterClosed().pipe(switchMap(v => v ? of(v) : EMPTY));
166
+ }
167
+ newRole() {
168
+ this._openDialog(this.roleTpl, this.role, { title: null }).
169
+ subscribe((r: Role) => {
170
+ const name = r.title.normalize(), role = { name, ...r };
171
+ this.positions[name] = {};
172
+ this._everything[this.type.name].roles.push(role);
173
+ this.roles.push(role);
174
+ this._columns();
175
+ this.dirty = true;
176
+ });
177
+ }
178
+ newGroup() {
179
+ this._openDialog(this.newGroupTpl, this.group, { items: [], title: null }).subscribe((g: { title: string; items: string[] }) => {
180
+ const name = g.title.normalize();
181
+ this._everything[this.type.name].groups.push({ name, ...g });
182
+ const row = { key: name, type: 'group' } as Model;
183
+ row[this.type.columns ? this.type.columns[0].name : 'value'] = g.title;
184
+ this.dataSource.data.splice(0, 0, row);
185
+ this.dataSource.filter = '';
186
+ this.dirty = true;
187
+ });
188
+ }
189
+ newPattern() {
190
+ this._openDialog(this.patternTpl, this.pattern, { title: null, expression: null }).subscribe((p: Pattern) => {
191
+ const name = p.title.normalize();
192
+ this._everything[this.type.name].patterns.push({ name, ...p });
193
+ const row = { key: name, type: 'pattern' } as Model;
194
+ row[this.type.columns ? this.type.columns[0].name : 'value'] = p.title;
195
+ this.dataSource.data.splice(0, 0, row);
196
+ this.dataSource.filter = '';
197
+ this.dirty = true;
198
+ });
199
+ }
200
+ deleteGroup(name: string) {
201
+ const groups = this._everything[this.type.name].groups, group = groups.find(g => g.name === name);
202
+ this._ps.ask('RemoveAsk', null, { ok: 'Yes', cancel: 'No' }).subscribe(ok => {
203
+ if (ok) {
204
+ groups.remove(group);
205
+ Object.keys(this.positions).forEach(r => {
206
+ const positions = this.positions[r][group.name];
207
+ if (positions)
208
+ delete this.positions[r][group.name];
209
+ });
210
+ this.dataSource.data.remove(this.dataSource.data.find(g => g.key === group.name && g.type === 'group'));
211
+ this.dataSource.filter = '';
212
+ }
213
+ });
214
+ }
215
+ deletePattern(name: string) {
216
+ const patterns = this._everything[this.type.name].patterns, pattern = patterns.find(p => p.name === name);
217
+ this._ps.ask('RemoveAsk', null, { ok: 'Yes', cancel: 'No' }).subscribe(ok => {
218
+ if (ok) {
219
+ patterns.remove(pattern);
220
+ this.dataSource.data.remove(this.dataSource.data.find(p => p.key === pattern.name && p.type === 'pattern'));
221
+ this.dataSource.filter = '';
222
+ Object.keys(this.positions).forEach(r => {
223
+ const positions = this.positions[r][pattern.name];
224
+ if (positions)
225
+ delete this.positions[r][pattern.name];
226
+ });
227
+ }
228
+ });
229
+ }
230
+ editGroup(name: string) {
231
+ const groups = this._everything[this.type.name].groups, group = groups.find(g => g.name === name);
232
+ this._openDialog(this.newGroupTpl, this.group, group).subscribe((g: Group) => {
233
+ Object.assign(group, g);
234
+ this.dirty = true;
235
+ });
236
+ }
237
+ editPattern(name: string) {
238
+ const patterns = this._everything[this.type.name].patterns, pattern = patterns.find(p => p.name === name);
239
+ this._openDialog(this.patternTpl, this.pattern, pattern).subscribe((p: Pattern) => {
240
+ Object.assign(pattern, p);
241
+ this.dirty = true;
242
+ });
243
+ }
244
+ save(): Promise<any> {
245
+ this.saving = true;
246
+ this.loading = 'indeterminate';
247
+ return this._utilityRef.execute(this._everything).toPromise().then(() => {
248
+ this._ps.toast('ChangesSaved');
249
+ this.dirty = false;
250
+ this.loading = null;
251
+ this._session.refresh().subscribe();
252
+ }, () =>
253
+ this._ps.error()).finally(() => {
254
+ this.saving = false;
255
+ this.loading = null;
256
+ });
257
+ }
258
+ ngOnDestroy(): void {
259
+ this._destroy.next();
260
+ this._destroy.complete();
261
+ }
262
+ }
263
+ interface Model {
264
+ key: any;
265
+ type: 'group' | 'pattern' | 'key';
266
+ }
267
+
268
+ type TypeMap = { [name: string]: DataTypeModel }
269
+
270
+ interface DataTypeModel {
271
+ patterns: Pattern[];
272
+ positions: { [role: string]: { [key: string]: string[] } };
273
+ groups: Group[];
274
+ roles: [{ name: string; title: string }];
275
+ }
276
+ interface Group {
277
+ title: string;
278
+ name: string;
279
+ items: string[];
280
+ }
281
+ interface Pattern {
282
+ title: string;
283
+ name: string;
284
+ expression: string;
285
+ }
@@ -0,0 +1,109 @@
1
+ <mat-toolbar>
2
+ <mat-icon (click)="null" class="mat-icon-rtl-mirror">search</mat-icon>
3
+ <div>
4
+ <input matInput type="search" [matAutocomplete]="auto" [formControl]="search" data-help="search" width="20" />
5
+ <mat-autocomplete #auto="matAutocomplete" [displayWith]="display"
6
+ (optionSelected)="change($event)">
7
+ <mat-option *ngFor="let u of users$ | async" [value]="u">
8
+ <span>{{u.name}}</span>
9
+ </mat-option>
10
+ </mat-autocomplete>
11
+ </div>
12
+ <span class="divider"></span>
13
+ <button mat-icon-button (click)="reassign()" [matTooltip]="'ReassignAll' | translate" [disabled]="!data || !data.positions.length" data-help="reassign"><mat-icon>swap_horiz</mat-icon></button>
14
+ <button mat-icon-button (click)="guide()" [matTooltip]="'Help' | translate"><mat-icon>help_outline</mat-icon></button>
15
+ </mat-toolbar>
16
+ <mat-grid-list [cols]="cols" [style.display]="data ? '': 'none'">
17
+ <mat-grid-tile>
18
+ <mat-card>
19
+ <mat-card-header>
20
+ <mat-card-title>
21
+ <span>{{data?.info.name}}</span>
22
+ </mat-card-title>
23
+ </mat-card-header>
24
+ <mat-card-content>
25
+ <button mat-icon-button (click)="chat(data.info.id)" [matTooltip]="'Chat' | translate" [disabled]="!data"><mat-icon>chat</mat-icon></button>
26
+ </mat-card-content>
27
+ </mat-card>
28
+ </mat-grid-tile>
29
+ <mat-grid-tile>
30
+ <mat-card data-help="activity">
31
+ <mat-card-header>
32
+ <mat-card-title>
33
+ {{'Activity' | translate}}
34
+ </mat-card-title>
35
+ </mat-card-header>
36
+ <mat-card-content>
37
+ <ejs-chart #activity [primaryXAxis]="primaryXAxis" [primaryYAxis]="primaryYAxis" [zoomSettings]="zoomSettings" [tooltip]='tooltip' (tooltipRender)="tooltipRender($event)" [palettes]="palettes" background="transparent" [theme]='theme' [border]="border" (pointClick)="pointClick($event)">
38
+ <e-series-collection>
39
+ </e-series-collection>
40
+ </ejs-chart>
41
+ </mat-card-content>
42
+ </mat-card>
43
+ </mat-grid-tile>
44
+ <mat-grid-tile>
45
+ <mat-card data-help="pending">
46
+ <mat-card-header>
47
+ <mat-card-title>
48
+ {{'Pending' | translate}}
49
+ </mat-card-title>
50
+ </mat-card-header>
51
+ <mat-card-content>
52
+ <table class="mat-table" *ngIf="data?.pending.length; else none">
53
+ <thead>
54
+ <tr class="mat-row">
55
+ <td class="mat-header-cell"></td>
56
+ <td class="mat-header-cell"></td>
57
+ </tr>
58
+ </thead>
59
+ <tbody>
60
+ <tr *ngFor="let r of data?.pending" class="mat-row">
61
+ <td class="mat-cell"><a (click)="trace(r.id)">{{r.number}}</a></td>
62
+ <td class="mat-cell">{{ r.received | amDifference : null : 's' | amDuration : 's'}}</td>
63
+ </tr>
64
+ </tbody>
65
+ </table>
66
+ </mat-card-content>
67
+ </mat-card>
68
+ </mat-grid-tile>
69
+ <mat-grid-tile>
70
+ <mat-card data-help="positions">
71
+ <mat-card-header>
72
+ <mat-card-title>
73
+ {{'Positions' | translate}}
74
+ </mat-card-title>
75
+ </mat-card-header>
76
+ <mat-card-content>
77
+ <table class="mat-table" *ngIf="data?.positions.length; else none">
78
+ <tr *ngFor="let p of data?.positions" class="mat-row">
79
+ <td class="mat-cell">{{p.value }}</td>
80
+ <td class="mat-cell">{{p.role | role}}</td>
81
+ <td class="mat-cell">
82
+ <button mat-icon-button (click)="reassign(p)" [matTooltip]="'Reassign' | translate"><mat-icon>swap_horiz</mat-icon></button>
83
+ </td>
84
+ </tr>
85
+ </table>
86
+ </mat-card-content>
87
+ </mat-card>
88
+ </mat-grid-tile>
89
+ </mat-grid-list>
90
+ <!-- dialog -->
91
+ <ng-template #assign>
92
+ <h2 mat-dialog-title>{{'Reassign' | translate }}</h2>
93
+ <mat-dialog-content>
94
+ <form autocomplete="off" fxLayout="column">
95
+ <mat-form-field>
96
+ <mat-select placeholder="{{'Who' | translate}}" [formControl]="who" required>
97
+ <mat-option *ngFor="let u of assignable$ | async" [value]="u.id">{{u.name}}</mat-option>
98
+ </mat-select>
99
+ </mat-form-field>
100
+ </form>
101
+ </mat-dialog-content>
102
+ <mat-dialog-actions>
103
+ <button mat-button [mat-dialog-close]="who.value" color="primary" [disabled]="!who.valid">{{'OK' | translate}}</button>
104
+ <button mat-button mat-dialog-close>{{'Cancel' | translate}}</button>
105
+ </mat-dialog-actions>
106
+ </ng-template>
107
+ <ng-template #none>
108
+ <span class="mat-body-2">{{'None' | translate }}</span>
109
+ </ng-template>
@@ -0,0 +1,22 @@
1
+ :host {
2
+ min-width: 560px;
3
+ display: block;
4
+ }
5
+
6
+ .mat-card {
7
+ width: calc(100% - 50px);
8
+ height: calc(100% - 50px);
9
+ overflow: hidden;
10
+
11
+ .mat-card-content {
12
+ height: inherit;
13
+ }
14
+
15
+ &:hover {
16
+ box-shadow: 0px 3px 3px -2px rgba(0, 0, 0, 0.2), 0px 3px 4px 0px rgba(0, 0, 0, 0.14), 0px 1px 8px 0px rgba(0, 0, 0, 0.12);
17
+ }
18
+ }
19
+
20
+ .mat-table {
21
+ width: 100%;
22
+ }
@@ -0,0 +1,268 @@
1
+ import { Component, ViewChild, OnInit, OnDestroy, Inject, TemplateRef, ElementRef, HostListener } from '@angular/core';
2
+ import { FormBuilder, Validators } from '@angular/forms';
3
+ import { MatDialog } from '@angular/material/dialog';
4
+ import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
5
+ import { MediaObserver } from '@angular/flex-layout';
6
+ import { AxisModel, BorderModel, ChartComponent, IPointEventArgs, ITooltipRenderEventArgs, LegendSeriesModel, MarkerOptionsModel, SeriesModel, TooltipSettingsModel, ZoomSettingsModel } from '@syncfusion/ej2-angular-charts';
7
+ import { Subject, Observable } from 'rxjs';
8
+ import { takeUntil, debounceTime, switchMap, filter, map } from 'rxjs/operators';
9
+ const moment = require('moment');
10
+ import { isObject } from '../../core/functions';
11
+ import { BizDoc } from '../../core/decorators';
12
+ import { GuideStep, UserInfo } from '../../core/models';
13
+ import { UtilityRef } from '../utility-ref';
14
+ import { PromptService } from '../../core/prompt.service';
15
+ import { AccountService } from '../../core/account.service';
16
+ import { DocumentInfo } from '../../core/info/document-info.service';
17
+ import { SessionService } from '../../core/session.service';
18
+ import { GuideService } from '../../core/guide/guide.service';
19
+ import { TranslateService } from '../../core/translate.service';
20
+ import { FONT_FAMILY } from '../../core/colors';
21
+ import { PanesRouter } from '../../core/slots/router.service';
22
+ import { ChatInfo } from '../../chat/chat-info';
23
+ import { PaneRef } from '../../core/slots/pane-ref';
24
+ import { OpenPolicy } from '../../core/configuration';
25
+
26
+ @Component({
27
+ templateUrl: './profiler.component.html',
28
+ styleUrls: ['./profiler.component.scss'],
29
+ host: {
30
+ class: 'pane'
31
+ }
32
+ })
33
+ @BizDoc({ selector: 'bizdoc-user-profiler' })
34
+ /** component*/
35
+ export class ProfilerComponent implements OnInit, OnDestroy {
36
+ readonly search = this._fb.control(null);
37
+ @ViewChild('activity') chart: ChartComponent;
38
+ @ViewChild('activity', { read: ElementRef }) chartElement: ElementRef;
39
+ @ViewChild('assign') assign: TemplateRef<any>;
40
+ readonly who = this._fb.control(null, Validators.required);
41
+ readonly primaryXAxis = {
42
+ valueType: 'DateTime',
43
+ labelFormat: 'MMM dd',
44
+ labelStyle: {
45
+ fontFamily: FONT_FAMILY
46
+ }
47
+ } as AxisModel;
48
+ readonly primaryYAxis = {
49
+ labelStyle: {
50
+ size: '0px'
51
+ },
52
+ } as AxisModel;
53
+ readonly zoomSettings: ZoomSettingsModel = {
54
+ enableMouseWheelZooming: true,
55
+ enablePinchZooming: true,
56
+ toolbarItems: [],
57
+ enableSelectionZooming: false,
58
+ enableScrollbar: true
59
+ };
60
+ readonly tooltip: TooltipSettingsModel = {
61
+ enable: true,
62
+ shared: true,
63
+ textStyle: {
64
+ fontFamily: FONT_FAMILY
65
+ }
66
+ };
67
+ readonly legend: LegendSeriesModel = {
68
+ visible: false,
69
+ textStyle: {
70
+ fontFamily: FONT_FAMILY
71
+ }
72
+ };
73
+ readonly border = { width: 0 } as BorderModel;
74
+ readonly marker: MarkerOptionsModel = {
75
+ visible: true,
76
+ width: 10,
77
+ height: 10
78
+ }
79
+ users$: Observable<UserInfo[]>;
80
+ assignable$: Observable<UserInfo[]>;
81
+ palettes: string[] = this._session.accentPalette;
82
+ theme: 'Material' | 'MaterialDark' = this._session.theme.dark ? 'MaterialDark' : 'Material';
83
+ data: ProfileInfo;
84
+ cols = 2;
85
+ private readonly _destroy = new Subject<void>();
86
+ /** ctor */
87
+ constructor(private _sb: PromptService,
88
+ private _utilityRef: UtilityRef<boolean, ReassignModel, ProfileInfo, string>,
89
+ private _session: SessionService,
90
+ private _dialog: MatDialog,
91
+ private _documentInfo: DocumentInfo,
92
+ media: MediaObserver,
93
+ private _chat: ChatInfo,
94
+ private _guide: GuideService,
95
+ private _router: PanesRouter,
96
+ private _slot: PaneRef<ProfilerComponent>,
97
+ private _translate: TranslateService,
98
+ private _accounts: AccountService,
99
+ private _fb: FormBuilder) {
100
+ media.media$.pipe(takeUntil(this._destroy)).subscribe(m => this.cols = m.mqAlias === 'sm' || m.mqAlias === 'xm' ? 1 : 2);
101
+ _session.themeChange.pipe(takeUntil(this._destroy)).subscribe(t => {
102
+ this.theme = t.dark ? 'MaterialDark' : 'Material';
103
+ this.palettes = _session.accentPalette;
104
+ });
105
+ }
106
+ ngOnInit(): void {
107
+ this._slot.queryParamsChange.pipe(takeUntil(this._destroy)).subscribe(p => {
108
+ const { id } = p;
109
+ id && this._open(id);
110
+ });
111
+ this._slot.resize.pipe(takeUntil(this._destroy)).subscribe(this.resize.bind(this));
112
+ this.users$ = this.search.valueChanges.pipe(takeUntil(this._destroy),
113
+ debounceTime(250),
114
+ filter(v => !isObject(v)),
115
+ switchMap(v => this._accounts.findAll(v)));
116
+ }
117
+ @HostListener('window:keydown.f1', ['$event'])
118
+ guide(evt?: Event | KeyboardEvent) {
119
+ const steps: GuideStep[] = [{
120
+ selector: '[data-help=search]',
121
+ position: 'Below',
122
+ content: this._translate.get('ProfilerSearchHelp')
123
+ }];
124
+ if (this.data) {
125
+ steps.push({
126
+ selector: '[data-help=reassign]',
127
+ content: this._translate.get('ReassignHelp')
128
+ });
129
+ Object.keys(this.data.activity).length &&
130
+ steps.push({
131
+ selector: '[data-help=activity]',
132
+ content: this._translate.get('ActivityHelp')
133
+ });
134
+ this.data.pending.length &&
135
+ steps.push({
136
+ selector: '[data-help=pending]',
137
+ content: this._translate.get('PendingHelp')
138
+ });
139
+ this.data.positions.length &&
140
+ steps.push({
141
+ selector: '[data-help=positions]',
142
+ content: this._translate.get('PositionsHelp')
143
+ });
144
+ }
145
+ this._guide.start({
146
+ name: 'profiler',
147
+ steps
148
+ });
149
+ evt && evt.preventDefault();
150
+ }
151
+ change(evt: MatAutocompleteSelectedEvent) {
152
+ const { id } = evt.option.value;
153
+ this._router.navigate([], { queryParams: { id } });
154
+ }
155
+ /**
156
+ *
157
+ * @param userId
158
+ */
159
+ private _open(userId: string) {
160
+ this._utilityRef.populate(userId).subscribe(e => {
161
+ this.data = e;
162
+ while (this.chart.series.length) this.chart.removeSeries(0);
163
+ this.chart.addSeries(this._series());
164
+ }, () => this._sb.error());
165
+ }
166
+ /** */
167
+ private _series(): SeriesModel[] {
168
+ return Object.keys(this.data.activity).map(a => {
169
+ const log = this.data.activity[a];
170
+ return {
171
+ type: 'Scatter',
172
+ name: this._actionName(a),
173
+ xName: 'time',
174
+ yName: 'duration',
175
+ dataSource: log.map(l => {
176
+ return {
177
+ id: l.id,
178
+ time: new Date(l.time),
179
+ duration: l.duration
180
+ };
181
+ })
182
+ };
183
+ });
184
+ }
185
+
186
+ private _actionName(name: string): string {
187
+ const action = this._session.profile.actions.find(a => a.name === name);
188
+ return action ? action.past || action.title : name;
189
+ }
190
+ @HostListener('window:resize')
191
+ resize() {
192
+ const { width, height } = getComputedStyle(this.chartElement.nativeElement.parentElement);
193
+ this.chart.width = width;
194
+ this.chart.height = height;
195
+ }
196
+ pointClick(evt: IPointEventArgs) {
197
+ const { id } = evt.series.dataSource[evt.pointIndex];
198
+ this._documentInfo.open(id);
199
+ }
200
+ display(item: UserInfo) {
201
+ return item ? item.name : null;
202
+ }
203
+ trace(id: number) {
204
+ this._router.navigate(['admin', 'utilities', 'document-trace'], {
205
+ queryParams: { id },
206
+ policy: OpenPolicy.Defer | OpenPolicy.Pinnable
207
+ });
208
+ }
209
+ chat(userId) {
210
+ this._chat.open(userId);
211
+ }
212
+ reassign(position?: PositionInfo) {
213
+ this.assignable$ = this._accounts.findAll().pipe(map(u => u.filter(u => u.id !== this.data.info.id)));
214
+ this._dialog.open(this.assign, {}).afterClosed().
215
+ subscribe(u =>
216
+ u && this._reassign(u, position)
217
+ );
218
+ }
219
+ /** */
220
+ private _reassign(who: string, position?: PositionInfo) {
221
+ this._utilityRef.execute({ who, ...position, userId: this.data.info.id }).subscribe(() => {
222
+ this._sb.toast('Assigned');
223
+ if (position)
224
+ this.data.positions.remove(position);
225
+ else
226
+ this.data.positions = [];
227
+ }, () =>
228
+ this._sb.error());
229
+ }
230
+ tooltipRender(e: ITooltipRenderEventArgs) {
231
+ e.text = `${moment.duration(e.point.y, 's').humanize()}`;
232
+ }
233
+ ngOnDestroy(): void {
234
+ this._destroy.next();
235
+ this._destroy.complete();
236
+ }
237
+ }
238
+
239
+ interface ProfileInfo {
240
+ positions: PositionInfo[];
241
+ activity: {
242
+ [action: string]: {
243
+ id: number;
244
+ /** seconds */
245
+ duration: number;
246
+ number: string;
247
+ time: Date;
248
+ }[]
249
+ };
250
+ pending: {
251
+ id: number;
252
+ received: Date;
253
+ number: string;
254
+ }[];
255
+ info: UserInfo;
256
+ }
257
+ interface PositionInfo {
258
+ type: string;
259
+ key: string;
260
+ value: string;
261
+ role: string;
262
+ }
263
+ interface ReassignModel {
264
+ userId: string;
265
+ who: string;
266
+ role?: string;
267
+ key?: any;
268
+ }